Skip to content

Conversation

@gauravwarale
Copy link
Contributor

Upgrade NEXT.js version to 16.0.10 and react to resolve vulnerability

Copilot AI review requested due to automatic review settings December 15, 2025 14:54
web/package.json Outdated
"tailwindcss": "^4.1.11",
"typescript": "^5"
},
"pnpm": {

Choose a reason for hiding this comment

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

Why do we need this?

Copy link
Collaborator

Choose a reason for hiding this comment

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

ya we should not need this. I'm going to push a commit to this PR to fix it if that's ok?

web/package.json Outdated
"nuqs": "^2.4.1",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"react": "19.2.3",

Choose a reason for hiding this comment

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

Can you keep the ^?

Suggested change
"react": "19.2.3",
"react": "^19.2.3",
"react-dom": "^19.2.3",

web/package.json Outdated
"@types/node": "^24",
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/react": "19.2.7",

Choose a reason for hiding this comment

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

Same here for these

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades Next.js from 16.0.7 to 16.0.10 and React/React DOM from 19.2.1 to 19.2.3 to address a security vulnerability. The changes include version pinning for type definitions and the addition of pnpm overrides to ensure consistent type versions across all dependencies.

Key Changes:

  • Next.js upgraded from 16.0.7 to 16.0.10 (patch release)
  • React and React DOM upgraded from ^19.2.1 to 19.2.3 (exact pinning)
  • Type definitions (@types/react and @types/react-dom) pinned to specific versions with pnpm overrides

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.

File Description
web/package.json Updates Next.js to 16.0.10, pins React/React-DOM to 19.2.3, pins type definitions, and adds pnpm overrides configuration
web/pnpm-lock.yaml Reflects all dependency resolution changes from package.json updates, including transitive dependency updates and modified peer dependency constraints
Files not reviewed (1)
  • web/pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@ryankshaw ryankshaw left a comment

Choose a reason for hiding this comment

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

I pushed a commit to this that removes the overrides and pnpm installs from scratch. if that looks good to you, this looks good to me

@wlggraham wlggraham merged commit 10d6fe1 into main Dec 15, 2025
6 checks passed
@wlggraham wlggraham deleted the Upgrade-NEXTJS-to-16.0.10 branch December 15, 2025 16:17
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.

5 participants