[Snyk] Security upgrade next from 14.2.13 to 15.0.8#91
[Snyk] Security upgrade next from 14.2.13 to 15.0.8#91snyk-io[bot] wants to merge 1 commit intomasterfrom
Conversation
…t-js/pnpm-lock.yaml to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NEXT-15921797
|
This major upgrade to Next.js v15 introduces significant breaking changes that require code modifications and careful review of application behavior. Key Breaking Changes:
Recommendation: Source: Official Next.js 15 Upgrade Guide
|
⛔ Snyk checks have failed. 2 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
PR Complexity Score: 1.7 - Trivial
View Breakdown
- Lines Changed: 392
- Files Changed: 2
- Complexity Added: 0
- Raw Score: 13.84
Overview
This PR upgrades the payment-components/next-js app from Next.js 14.2.13 to 15.0.8.
The change aligns the payment components with the latest Next.js major release and updates the lockfile to pull in all corresponding transitive dependencies.
Key Changes
- Bumps the
nextdependency from14.2.13to15.0.8to adopt the latest Next.js features and fixes. - Updates
pnpm-lock.yamlto reflect the new Next.js version, including:- New/updated SWC platform binaries for Next 15.
- Updated
styled-jsxand@swc/helpersversions compatible with Next 15. - Addition of
sharpand related platform-specific image and libvips packages as optional dependencies, used by Next 15. - Updated Node.js engine requirement for Next to
^18.18.0 || ^19.8.0 || >= 20.0.0.
Risks & Considerations
- Next.js 15 is a major release; breaking changes from 14.x may affect routing, data fetching, or build behaviour and should be validated in the app.
- The tighter Node.js engine requirement means environments running Node
<18.18or<20may fail to install or run the app. - New optional native/image-processing dependencies (
sharpand associated platform builds) may introduce platform-specific install issues (especially in CI/CD or container builds) and should be tested across target environments. - React remains on 18.x, but Next 15 adds optional compatibility with React 19; future React upgrades should be tested carefully with this Next version.
File-level change summary
| File | Change summary |
|---|---|
payment-components/next-js/package.json |
Updates the next dependency from version 14.2.13 to 15.0.8. |
payment-components/next-js/pnpm-lock.yaml |
Regenerates the lockfile to align with Next.js 15, updating transitive dependencies, Node engine constraints, and adding new optional image-processing/native packages. |
Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.
Snyk changed the following file(s):
payment-components/next-js/package.jsonpayment-components/next-js/pnpm-lock.yamlVulnerabilities that will be fixed with an upgrade:
SNYK-JS-NEXT-15921797
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:
🦉 Allocation of Resources Without Limits or Throttling