-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Fix for 9 vulnerabilities #108
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
base: next
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,7 +25,7 @@ | |
| "@babel/runtime": "7.0.0-beta.46", | ||
| "autoprefixer": "8.5.0", | ||
| "babel-core": "7.0.0-bridge.0", | ||
| "babel-eslint": "8.2.3", | ||
| "babel-eslint": "10.1.0", | ||
| "babel-jest": "22.4.3", | ||
| "babel-loader": "8.0.0-beta.0", | ||
| "babel-plugin-named-asset-import": "^0.1.0", | ||
|
|
@@ -58,17 +58,17 @@ | |
| "postcss-loader": "2.1.5", | ||
| "promise": "8.0.1", | ||
| "raf": "3.4.0", | ||
| "react-dev-utils": "^5.0.0", | ||
| "react-dev-utils": "^12.0.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The major version upgrade of For example, the A manual migration of the scripts using this utility is required to accommodate the new API. |
||
| "resolve": "1.6.0", | ||
| "sass-loader": "7.0.1", | ||
| "style-loader": "0.21.0", | ||
| "svgr": "1.9.2", | ||
| "sw-precache-webpack-plugin": "0.11.5", | ||
| "thread-loader": "1.1.5", | ||
| "uglifyjs-webpack-plugin": "1.2.5", | ||
| "uglifyjs-webpack-plugin": "2.0.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This PR updates Given that other dependencies in this PR are major versions with breaking changes, a piecemeal upgrade is risky. It would be safer to perform a more holistic upgrade of the build toolchain, including moving to |
||
| "url-loader": "1.0.1", | ||
| "webpack": "4.8.3", | ||
| "webpack-dev-server": "3.1.4", | ||
| "webpack-dev-server": "4.7.3", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Upgrading
This update requires a complete rewrite of the webpack dev server configuration and instantiation logic. |
||
| "webpack-manifest-plugin": "2.0.3", | ||
| "whatwg-fetch": "2.0.4" | ||
| }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The update of
babel-eslintto version10.1.0introduces a breaking change that will cause the build to fail.babel-eslint@10.1.0has a peer dependency oneslint@>=6, but this project useseslint@4.19.1. This version mismatch will lead to installation errors and break the linting process.babel-eslintis deprecated and has been superseded by@babel/eslint-parser. A proper upgrade should involve migrating to the new package and updatingeslintand its related configurations accordingly.