-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Upgrade Next.js and React to patch CVE #3190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughDependency bumps (Next, React, React‑DOM) across three package.json files and a broad refactor of middleware imports/exports: barrel re-exports removed, many modules now import utilities from dedicated relative paths instead of aggregated barrels. No functional logic or exported signatures were changed. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (15)
💤 Files with no reviewable changes (2)
🧰 Additional context used🧠 Learnings (4)📚 Learning: 2025-08-18T02:31:22.282ZApplied to files:
📚 Learning: 2025-08-18T02:31:22.282ZApplied to files:
📚 Learning: 2025-08-26T15:05:55.081ZApplied to files:
📚 Learning: 2025-08-25T21:03:24.285ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (13)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (2)
packages/utils/package.json (1)
19-20: Update peerDependencies to match bumped devDependencies versions.The peerDependencies are still pinned to the older versions (next 15.5.4, react ^19.1.1) while devDependencies have been updated to 15.5.7 and ^19.1.2. This creates a version mismatch that could cause conflicts for consumers or cause the package to behave differently when tested locally versus when consumed.
Apply this diff to align peerDependencies with the patch updates:
"peerDependencies": { - "next": "15.5.4", - "react": "^19.1.1" + "next": "15.5.7", + "react": "^19.1.2" },packages/ui/package.json (1)
36-38: Update peerDependencies to match the bumped versions and reflect the CVE patch.The peerDependencies still declare the older versions (next 15.5.4, react/react-dom 19.1.1), while devDependencies have been bumped to the patch versions. Since this is a published package (@dub/ui), peerDependencies should reflect the versions the package was built and tested against. This mismatch could confuse consumers about which versions are actually supported.
Apply this diff to update peerDependencies:
"peerDependencies": { - "next": "15.5.4", - "react": "19.1.1", - "react-dom": "19.1.1" + "next": "15.5.7", + "react": "19.1.2", + "react-dom": "19.1.2" },
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (3)
apps/web/package.json(2 hunks)packages/ui/package.json(1 hunks)packages/utils/package.json(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: build
Reference: https://vercel.com/changelog/cve-2025-55182
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.
Summary by CodeRabbit
Chores
Refactor
✏️ Tip: You can customize this high-level summary in your review settings.