Skip to content

Conversation

@DavidASix
Copy link
Owner

Copilot AI review requested due to automatic review settings December 4, 2025 18:08
@DavidASix DavidASix changed the base branch from main to staging December 4, 2025 18:08
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 version 15.1.6 to 16.0.7 to address security vulnerabilities CVE-2025-55182 and CVE-2025-66478. The upgrade includes updates to related dependencies and configuration changes to align with Next.js 16 requirements.

Key changes include:

  • Next.js upgraded to version 16.0.7 with corresponding dependency updates (next-auth, nodemailer)
  • TypeScript JSX compilation mode changed from "preserve" to "react-jsx" to support the new JSX transform
  • ESLint configuration updated with explicit ignores and custom rules, with eslint command modified for better caching

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.

File Description
package.json Upgrades Next.js to 16.0.7, next-auth to beta.30, nodemailer to 7.0.11, and updates eslint command for improved caching
tsconfig.json Updates JSX compiler to "react-jsx", reformats configuration arrays, and adds .next/dev/types path to includes
eslint.config.mjs Adds explicit ignore patterns and disables @typescript-eslint/no-require-imports rule
Dockerfile Changes base image from node:23-alpine3.20 to node:23-slim for better compatibility

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

"lucide-react": "^0.474.0",
"next": "15.1.6",
"next-auth": "^5.0.0-beta.25",
"next": "^16.0.7",
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

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

The Next.js version has been upgraded to ^16.0.7, but eslint-config-next on line 74 is still at version 15.1.6. These should be kept in sync. Update eslint-config-next to match the Next.js version (e.g., ^16.0.7).

Copilot uses AI. Check for mistakes.
@DavidASix DavidASix merged commit e2cf5eb into staging Dec 4, 2025
2 checks 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