Skip to content

Conversation

AndrewLowther
Copy link
Owner

No description provided.

Andrew Lowther added 3 commits December 6, 2018 12:32
Detailed:
The modules in use on this project were seriously out of date, and
represented a potential security risk on websites currently using it.

I have updated all modules to their most modern versions possible,
and fixed tests within the application, alongside the build process
to ensure security is maintained.

Signed-off-by: Andrew Lowther <Andrew.Lowther@gentinguk.com>
Signed-off-by: Andrew Lowther <Andrew.Lowther@gentinguk.com>
Signed-off-by: Andrew Lowther <Andrew.Lowther@gentinguk.com>
@AndrewLowther AndrewLowther merged commit 734d85a into master Dec 6, 2018
)
}
}
scriptLoader.defaultProps = {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

onScriptLoaded should be added to ScriptLoader, before it's returned, instead of scriptLoader, e.g.,

      ScriptLoader.defaultProps = {
        onScriptLoaded: _utils.noop
      };
      ScriptLoader.propTypes = {
        onScriptLoaded: _propTypes.default.func
      };

As ScriptLoader is the actual React component and scriptLoader is just a factory function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants