Skip to content

[Snyk] Security upgrade next from 12.3.7 to 16.1.7#498

Merged
Ramyromel merged 1 commit intomainfrom
snyk-fix-12dff42358c3064e24b7022f3ecef316
Mar 23, 2026
Merged

[Snyk] Security upgrade next from 12.3.7 to 16.1.7#498
Ramyromel merged 1 commit intomainfrom
snyk-fix-12dff42358c3064e24b7022f3ecef316

Conversation

@Ramyromel
Copy link
Owner

snyk-top-banner

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

Snyk changed the following file(s):

  • starter/personalization-builder-io/package.json
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
medium severity Allocation of Resources Without Limits or Throttling
SNYK-JS-NEXT-15674556
medium severity HTTP Request Smuggling
SNYK-JS-NEXT-15674558

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:

🦉 Allocation of Resources Without Limits or Throttling

@changeset-bot
Copy link

changeset-bot bot commented Mar 17, 2026

⚠️ No Changeset found

Latest commit: 3746821

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3746821bd9

ℹ️ 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".

"jest": "^27.4.7",
"js-cookie": "^3.0.1",
"next": "^12.1.0",
"next": "^16.1.7",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep Next.js major version compatible with React 17

Upgrading next to ^16.1.7 while leaving react/react-dom at ^17.0.2 creates an incompatible dependency set for this example, so installs/builds can fail or behave unpredictably depending on package-manager peer enforcement. In this same package.json, React is still pinned to 17 (lines 55-56), so this Next.js major bump should be paired with a React upgrade (and related package updates) rather than changed in isolation.

Useful? React with 👍 / 👎.

"jest": "^27.4.7",
"js-cookie": "^3.0.1",
"next": "^12.1.0",
"next": "^16.1.7",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid upgrading to Next 16 without migrating middleware

This example’s personalization flow depends on pages/_middleware.tsx (getPersonalizedRewrite rewrites requests there), but that legacy middleware entrypoint was removed in newer Next.js majors, so bumping directly to next@16 disables or breaks that behavior until the middleware is migrated to the supported root middleware pattern. As written, this version change can silently drop personalization rewrites for production requests.

Useful? React with 👍 / 👎.

@Ramyromel Ramyromel merged commit 8aeaa4a into main Mar 23, 2026
1 check passed
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.

2 participants