[Snyk] Fix for 2 vulnerabilities#205
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-TAR-15032660 - https://snyk.io/vuln/SNYK-JS-LODASH-15053838
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: af6a43d797
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "webpack": "^5.0.0", | ||
| "webpack-cli": "^3.3.12" |
There was a problem hiding this comment.
Upgrade webpack-cli with webpack 5
With webpack bumped to ^5.0.0 but webpack-cli left at ^3.3.12, the npx webpack invocation in the build script (package.json:155) will use a CLI that does not support webpack 5, which causes npm run build (and any flows that call it like heroku-postbuild/prebrowser-test) to fail before bundling. This needs a compatible webpack-cli (v4+) to avoid breaking builds in any environment that runs the build script.
Useful? React with 👍 / 👎.
Snyk has created this PR to fix 2 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-TAR-15032660
SNYK-JS-LODASH-15053838
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution
🦉 Directory Traversal