[Snyk] Security upgrade patch-package from 6.5.1 to 8.0.1 - #12
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-TMP-17315641
There was a problem hiding this comment.
Pull request overview
Updates the JavaScript dependency patch-package to address a reported security vulnerability in the project’s frontend/tooling dependencies.
Changes:
- Bump
patch-packagefrom^6.5.1to^8.0.1inpackage.json.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "jquery": "^3.7.1", | ||
| "mini-css-extract-plugin": "^2.10.2", | ||
| "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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5d74c5ecbd
ℹ️ 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".
| "jquery": "^3.7.1", | ||
| "mini-css-extract-plugin": "^2.10.2", | ||
| "patch-package": "^6.5.1", | ||
| "patch-package": "^8.0.1", |
There was a problem hiding this comment.
Update the pnpm lockfile for this upgrade
This repo installs JavaScript dependencies with pnpm, and the CI workflows run pnpm install --frozen-lockfile; pnpm's help for that flag says it does not generate a lockfile and fails when an update is needed. Since this change updates only package.json while pnpm-lock.yaml still records patch-package with specifier ^6.5.1 and version 6.5.1, frozen installs will reject the stale lockfile and lockfile-based installs still won't receive the security upgrade. Please regenerate and commit pnpm-lock.yaml for patch-package 8.x.
Useful? React with 👍 / 👎.
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-TMP-17315641
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:
🦉 Directory Traversal