Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix npm audit warnings #286

Merged
merged 4 commits into from
Jun 28, 2019

Conversation

alex-chew
Copy link
Contributor

This PR fixes several critical- and moderate-severity vulnerabilities shown by npm audit. The primary changes are package upgrades for react-scripts and swagger-ui. This also requires a change to compilerOptions.baseUrl in jsconfig.json as of react-scripts 3.0.0, but thankfully this does not require any changes to import statements the source code.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@alex-chew
Copy link
Contributor Author

Note: this PR doesn't quite work as it currently stands. It overwrites a manual patch (documented here: https://github.com/Trial-In-Error/swagger-ui/commit/ffc9f5d79ec84c9fd6b7d44d35da309a62f4e2e8) that resolves a UI error, which we will need to maintain.

To get around this, we should update @Trial-In-Error's fork of swagger-ui with updates from v3.22.3 (latest), and then use that fork as a npm dependency (using the git URL as the source) rather than upstream.

@echo-bravo-yahoo echo-bravo-yahoo merged commit a4c2ef0 into awslabs:staging Jun 28, 2019
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.

3 participants