Conversation
Snyk has created this PR to upgrade next from 12.1.6 to 12.3.7. See this package in npm: next See this project in Snyk: https://app.snyk.io/org/q1bluequantumblockchainlabs.onmicrosoft.com/project/5835c34a-15ac-4289-83bc-5faf82189fd4?utm_source=github&utm_medium=referral&page=upgrade-pr
Summary of ChangesHello @q1blue, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on maintaining dependency hygiene and enhancing the security posture of the project by performing a significant upgrade of the Next.js framework. The update brings the application to a more recent version, thereby resolving known security vulnerabilities and ensuring compatibility with updated underlying packages. This proactive measure helps in mitigating potential risks and keeps the project aligned with current best practices for web development. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request, automatically generated by Snyk, upgrades the next package from version 12.1.6 to 12.3.7 to address security vulnerabilities. While pinning dependencies to a specific version is a good practice compared to using latest, the target version 12.3.7 appears to be problematic as it is not a standard public release and is quite outdated. This could lead to build failures and maintenance issues. I recommend upgrading to a more recent and stable version of next.
| }, | ||
| "dependencies": { | ||
| "next": "latest", | ||
| "next": "12.3.7", |
There was a problem hiding this comment.
While pinning the next dependency to a specific version is a great improvement over using latest for build reproducibility, the chosen version 12.3.7 is concerning.
- Non-standard Version: Version
12.3.7does not appear to be a public release on npm. This could causenpm installto fail for developers and in CI/CD environments if they don't have access to the private registry where this version might be hosted. - Outdated Version:
next.jshas evolved significantly. Sticking to an old version means missing out on important performance improvements, features, and security patches that are not covered by this specific upgrade. - Inconsistent Dependencies: The
package-lock.jsonshows that whilenextis updated to12.3.7, its@next/swc-*dependencies are only updated to12.3.4. This version mismatch within the same framework can be a source of subtle bugs.
I recommend upgrading to a more recent, stable version of next. If a major upgrade to v13 or v14 is not feasible right now, please consider at least upgrading to the latest v12 release, which is 12.3.4.
| "next": "12.3.7", | |
| "next": "^12.3.4", |
Snyk has created this PR to upgrade next from 12.1.6 to 12.3.7.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 158 versions ahead of your current version.
The recommended version was released a year ago.
Issues fixed by the recommended upgrade:
SNYK-JS-NANOID-8492085
SNYK-JS-NEXT-9508709
Release notes
Package name: next
-
12.3.7 - 2025-03-28
- Lock swc binaries version
-
12.3.6 - 2025-03-24
- Match subrequest handling for edge and node
- Update publish-native
-
12.3.5 - 2025-03-23
-
12.3.4 - 2022-11-21
-
12.3.3 - 2022-11-09
-
12.3.2 - 2022-10-30
-
12.3.2-canary.43 - 2022-10-25
-
12.3.2-canary.42 - 2022-10-25
-
12.3.2-canary.41 - 2022-10-25
-
12.3.2-canary.40 - 2022-10-25
-
12.3.2-canary.39 - 2022-10-24
-
12.3.2-canary.38 - 2022-10-24
-
12.3.2-canary.35 - 2022-10-23
-
12.3.2-canary.34 - 2022-10-23
-
12.3.2-canary.33 - 2022-10-22
-
12.3.2-canary.32 - 2022-10-19
-
12.3.2-canary.31 - 2022-10-19
-
12.3.2-canary.30 - 2022-10-18
-
12.3.2-canary.29 - 2022-10-16
-
12.3.2-canary.28 - 2022-10-13
-
12.3.2-canary.27 - 2022-10-13
-
12.3.2-canary.26 - 2022-10-12
-
12.3.2-canary.25 - 2022-10-11
-
12.3.2-canary.24 - 2022-10-11
-
12.3.2-canary.23 - 2022-10-08
-
12.3.2-canary.22 - 2022-10-07
-
12.3.2-canary.21 - 2022-10-06
-
12.3.2-canary.20 - 2022-10-05
-
12.3.2-canary.19 - 2022-10-04
-
12.3.2-canary.18 - 2022-10-04
-
12.3.2-canary.17 - 2022-10-02
-
12.3.2-canary.16 - 2022-09-30
-
12.3.2-canary.15 - 2022-09-29
-
12.3.2-canary.13 - 2022-09-29
-
12.3.2-canary.12 - 2022-09-28
-
12.3.2-canary.11 - 2022-09-27
-
12.3.2-canary.10 - 2022-09-27
-
12.3.2-canary.9 - 2022-09-26
-
12.3.2-canary.7 - 2022-09-23
-
12.3.2-canary.6 - 2022-09-23
-
12.3.2-canary.3 - 2022-09-22
-
12.3.2-canary.2 - 2022-09-22
-
12.3.2-canary.0 - 2022-09-21
-
12.3.1 - 2022-09-19
-
12.3.1-canary.5 - 2022-09-19
-
12.3.1-canary.4 - 2022-09-19
-
12.3.1-canary.3 - 2022-09-16
-
12.3.1-canary.2 - 2022-09-14
-
12.3.1-canary.1 - 2022-09-12
-
12.3.1-canary.0 - 2022-09-08
-
12.3.0 - 2022-09-08
-
12.2.6 - 2022-09-29
-
12.2.6-canary.13 - 2022-09-08
-
12.2.6-canary.12 - 2022-09-08
-
12.2.6-canary.11 - 2022-09-07
-
12.2.6-canary.10 - 2022-09-05
-
12.2.6-canary.9 - 2022-09-05
-
12.2.6-canary.8 - 2022-09-01
-
12.2.6-canary.7 - 2022-08-30
-
12.2.6-canary.6 - 2022-08-29
-
12.2.6-canary.5 - 2022-08-24
-
12.2.6-canary.4 - 2022-08-24
-
12.2.6-canary.3 - 2022-08-24
-
12.2.6-canary.2 - 2022-08-23
-
12.2.6-canary.1 - 2022-08-17
-
12.2.6-canary.0 - 2022-08-13
-
12.2.5 - 2022-08-12
-
12.2.5-canary.7 - 2022-08-12
-
12.2.5-canary.6 - 2022-08-11
-
12.2.5-canary.5 - 2022-08-11
-
12.2.5-canary.4 - 2022-08-11
-
12.2.5-canary.3 - 2022-08-11
-
12.2.5-canary.1 - 2022-08-09
-
12.2.5-canary.0 - 2022-08-09
-
12.2.4 - 2022-08-04
-
12.2.4-canary.12 - 2022-08-04
-
12.2.4-canary.11 - 2022-08-03
-
12.2.4-canary.9 - 2022-08-01
-
12.2.4-canary.8 - 2022-07-29
-
12.2.4-canary.7 - 2022-07-29
-
12.2.4-canary.6 - 2022-07-28
-
12.2.4-canary.5 - 2022-07-28
-
12.2.4-canary.4 - 2022-07-28
-
12.2.4-canary.3 - 2022-07-28
-
12.2.4-canary.2 - 2022-07-26
-
12.2.4-canary.1 - 2022-07-25
-
12.2.4-canary.0 - 2022-07-23
-
12.2.3 - 2022-07-22
-
12.2.3-canary.17 - 2022-07-21
-
12.2.3-canary.16 - 2022-07-21
-
12.2.3-canary.15 - 2022-07-20
-
12.2.3-canary.14 - 2022-07-19
-
12.2.3-canary.13 - 2022-07-18
-
12.2.3-canary.12 - 2022-07-18
-
12.2.3-canary.10 - 2022-07-15
-
12.2.3-canary.9 - 2022-07-15
-
12.2.3-canary.8 - 2022-07-14
-
12.2.3-canary.7 - 2022-07-14
-
12.2.3-canary.6 - 2022-07-13
-
12.2.3-canary.5 - 2022-07-13
-
12.2.3-canary.4 - 2022-07-13
-
12.2.3-canary.3 - 2022-07-13
-
12.2.3-canary.2 - 2022-07-12
-
12.2.3-canary.1 - 2022-07-12
-
12.2.3-canary.0 - 2022-07-11
-
12.2.2 - 2022-07-09
-
12.2.2-canary.0 - 2022-07-09
-
12.2.1 - 2022-07-07
-
12.2.1-canary.5 - 2022-07-07
-
12.2.1-canary.4 - 2022-07-06
-
12.2.1-canary.3 - 2022-07-05
-
12.2.1-canary.2 - 2022-07-02
-
12.2.1-canary.1 - 2022-06-29
-
12.2.0 - 2022-06-28
-
12.1.7-canary.52 - 2022-06-28
-
12.1.7-canary.51 - 2022-06-28
-
12.1.7-canary.50 - 2022-06-28
-
12.1.7-canary.49 - 2022-06-27
-
12.1.7-canary.48 - 2022-06-25
-
12.1.7-canary.47 - 2022-06-24
-
12.1.7-canary.46 - 2022-06-24
-
12.1.7-canary.45 - 2022-06-22
-
12.1.7-canary.44 - 2022-06-21
-
12.1.7-canary.42 - 2022-06-20
-
12.1.7-canary.41 - 2022-06-17
-
12.1.7-canary.40 - 2022-06-15
-
12.1.7-canary.39 - 2022-06-14
-
12.1.7-canary.38 - 2022-06-14
-
12.1.7-canary.37 - 2022-06-13
-
12.1.7-canary.36 - 2022-06-13
-
12.1.7-canary.35 - 2022-06-11
-
12.1.7-canary.33 - 2022-06-08
-
12.1.7-canary.32 - 2022-06-08
-
12.1.7-canary.31 - 2022-06-06
-
12.1.7-canary.30 - 2022-06-06
-
12.1.7-canary.29 - 2022-06-02
-
12.1.7-canary.28 - 2022-06-02
-
12.1.7-canary.27 - 2022-06-01
-
12.1.7-canary.26 - 2022-05-31
-
12.1.7-canary.24 - 2022-05-30
-
12.1.7-canary.23 - 2022-05-30
-
12.1.7-canary.19 - 2022-05-27
-
12.1.7-canary.18 - 2022-05-27
-
12.1.7-canary.16 - 2022-05-25
-
12.1.7-canary.15 - 2022-05-24
-
12.1.7-canary.12 - 2022-05-24
-
12.1.7-canary.11 - 2022-05-23
-
12.1.7-canary.10 - 2022-05-19
-
12.1.7-canary.9 - 2022-05-19
-
12.1.7-canary.8 - 2022-05-19
-
12.1.7-canary.7 - 2022-05-17
-
12.1.7-canary.6 - 2022-05-13
-
12.1.7-canary.5 - 2022-05-12
-
12.1.7-canary.4 - 2022-05-11
-
12.1.7-canary.3 - 2022-05-06
-
12.1.7-canary.2 - 2022-05-05
-
12.1.7-canary.1 - 2022-05-03
-
12.1.7-canary.0 - 2022-05-03
-
12.1.6 - 2022-05-02
from next GitHub release notesNote
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
Note
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: