[Snyk] Fix for 1 vulnerabilities - #6
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BRACEEXPANSION-15789759
There was a problem hiding this comment.
Pull request overview
This PR updates JavaScript dependencies to remediate a reported brace-expansion vulnerability by upgrading packages that pull it in.
Changes:
- Bump
patch-packagefrom^6.5.1to^8.0.1 - Bump
webpack-dev-serverfrom^4.15.2to^5.1.0
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "patch-package": "^6.5.1", | ||
| "patch-package": "^8.0.1", | ||
| "postinstall-postinstall": "^2.1.0", | ||
| "sass": "1.77.6", |
There was a problem hiding this comment.
This repo uses pnpm (see packageManager: "pnpm@10.33.0") and has a committed pnpm-lock.yaml, but this PR changes dependency versions without updating the lockfile. Please re-run pnpm install (or pnpm update) and commit the resulting pnpm-lock.yaml changes so installs/CI are reproducible and the vulnerability remediation is actually applied.
| "sass": "1.77.6", | |
| "sass": "^1.77.6", |
| "webpack-assets-manifest": "^5.2.1", | ||
| "webpack-cli": "^6.0.1", | ||
| "webpack-dev-server": "^4.15.2", | ||
| "webpack-dev-server": "^5.1.0", |
There was a problem hiding this comment.
webpack-dev-server is bumped to ^5.1.0, but shakapacker@9.6.1 declares a peer dependency of webpack-dev-server: ^4.15.2 || ^5.2.2 (see pnpm-lock.yaml). With pnpm, this will at least produce a peer mismatch and may prevent the dependency tree from resolving cleanly. Consider changing the range to ^5.2.2 (or otherwise aligning with Shakapacker’s supported versions) and regenerate the lockfile.
| "webpack-dev-server": "^5.1.0", | |
| "webpack-dev-server": "^5.2.2", |
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-15789759
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.