Skip to content

Conversation

@snyk-io
Copy link

@snyk-io snyk-io bot commented Dec 12, 2025

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.

Snyk changed the following file(s):

  • usage-based-subscriptions/package.json
  • usage-based-subscriptions/pnpm-lock.yaml

Merge Risk: High

This major version upgrade to Next.js 14 introduces several breaking changes, requiring code and configuration modifications. Key changes include an increased minimum Node.js version, the removal of deprecated APIs, and changes to configuration for static exports.

Highlights:

  • Node.js Version: The minimum required Node.js version is now 18.17, as version 16.x has reached its end-of-life.
  • Static Exports: The next export command has been removed. You must now use the output: 'export' option within your next.config.js file for static site generation.
  • API Changes: The @next/font package is removed and replaced by the built-in next/font. Additionally, the ImageResponse import has been moved from next/server to next/og.

Source: Next.js documentation
Recommendation: Update your Node.js environment to v18.17+ and run the provided codemods to automatically update API imports. Modify next.config.js if you use static exports.

Notice 🤖: This content was generated using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.


Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Deserialization of Untrusted Data
SNYK-JS-NEXT-14400636
  685  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

🦉 Deserialization of Untrusted Data

…ns/pnpm-lock.yaml to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-NEXT-14400636
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant