[Snyk] Security upgrade webpack-dev-server from 4.15.2 to 5.1.0 - #13
[Snyk] Security upgrade webpack-dev-server from 4.15.2 to 5.1.0#13Eric-Guo wants to merge 1 commit into
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BRACEEXPANSION-17706650
|
This is a major version upgrade from v4 to v5 that introduces significant breaking changes requiring configuration updates. Key Breaking Changes:
Recommendation: Source: Official Migration Guide [1]
|
There was a problem hiding this comment.
Pull request overview
This PR aims to remediate a Snyk-reported vulnerability by upgrading the webpack-dev-server dependency used by the Rails + Shakapacker frontend build pipeline.
Changes:
- Bumps
webpack-dev-serverfrom^4.15.2to^5.1.0inpackage.json.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "webpack-assets-manifest": "^5.2.1", | ||
| "webpack-cli": "^6.0.1", | ||
| "webpack-dev-server": "^4.15.2", | ||
| "webpack-dev-server": "^5.1.0", |
| "webpack-assets-manifest": "^5.2.1", | ||
| "webpack-cli": "^6.0.1", | ||
| "webpack-dev-server": "^4.15.2", | ||
| "webpack-dev-server": "^5.1.0", |
Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-BRACEEXPANSION-17706650
Breaking Change Risk
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:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.