[Snyk] Security upgrade next from 9.3.3 to 10.0.6 - #64
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AJV-15274295
There was a problem hiding this comment.
Pull request overview
Upgrades the Next.js dependency to address a reported Snyk vulnerability, updating the dependency graph accordingly.
Changes:
- Bump
nextfrom9.3.3to10.0.6inpackage.json. - Update
yarn.lockto reflect the new Next.js version and transitive dependency resolution.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updates the declared next version to 10.0.6. |
| yarn.lock | Re-locks dependencies after the Next.js upgrade (e.g., new next@10.0.6 resolution). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "eslint-config-airbnb": "^18.1.0", | ||
| "next": "9.3.3", | ||
| "next": "10.0.6", | ||
| "postcss-import": "^12.0.1", |
There was a problem hiding this comment.
postcss.config.js configures the postcss-preset-env plugin, but this package is not declared in package.json and does not appear anywhere in yarn.lock after this upgrade. As a result, next build/CSS processing will fail with a missing-module error when Next loads the PostCSS config. Add postcss-preset-env as a (dev)dependency (or remove it from the PostCSS config if it’s not needed).
| "postcss-import": "^12.0.1", | |
| "postcss-import": "^12.0.1", | |
| "postcss-preset-env": "^7.0.0", |
Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
package.jsonyarn.lockNote 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-AJV-15274295
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:
🦉 Regular Expression Denial of Service (ReDoS)