Skip to content

[Snyk] Security upgrade next from 14.2.21 to 14.2.35#16

Open
SMSDAO wants to merge 1 commit into
mainfrom
snyk-fix-bc60da0c9a2c6a71d222ac20dedeb2c9
Open

[Snyk] Security upgrade next from 14.2.21 to 14.2.35#16
SMSDAO wants to merge 1 commit into
mainfrom
snyk-fix-bc60da0c9a2c6a71d222ac20dedeb2c9

Conversation

@SMSDAO
Copy link
Copy Markdown
Owner

@SMSDAO SMSDAO commented Jan 10, 2026

snyk-top-banner

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

Snyk changed the following file(s):

  • examples/agent-kit-nextjs-langchain/package.json
  • examples/agent-kit-nextjs-langchain/pnpm-lock.yaml

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Exposed Dangerous Method or Function
SNYK-JS-PLAYWRIGHT-14888269
  753  

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

…t-kit-nextjs-langchain/pnpm-lock.yaml to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PLAYWRIGHT-14888269
Copilot AI review requested due to automatic review settings January 10, 2026 03:31
Copy link
Copy Markdown

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 is a Snyk-automated security upgrade that updates Next.js from version 14.2.21 to 14.2.35 to fix a high severity vulnerability (SNYK-JS-PLAYWRIGHT-14888269 - "Exposed Dangerous Method or Function") with a score of 753.

Changes:

  • Updated Next.js dependency version from ^14.2.3 to ^14.2.35 in package.json
  • Updated pnpm lockfile to reflect the new Next.js version and its dependencies

Reviewed changes

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

File Description
examples/agent-kit-nextjs-langchain/package.json Updated the Next.js version specifier from ^14.2.3 to ^14.2.35
examples/agent-kit-nextjs-langchain/pnpm-lock.yaml Updated lockfile entries for Next.js core package (14.2.35) and SWC platform binaries (14.2.33), along with dependency resolution updates
Files not reviewed (1)
  • examples/agent-kit-nextjs-langchain/pnpm-lock.yaml: Language not supported

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

Comment on lines +6878 to +6886
'@next/swc-darwin-arm64': 14.2.33
'@next/swc-darwin-x64': 14.2.33
'@next/swc-linux-arm64-gnu': 14.2.33
'@next/swc-linux-arm64-musl': 14.2.33
'@next/swc-linux-x64-gnu': 14.2.33
'@next/swc-linux-x64-musl': 14.2.33
'@next/swc-win32-arm64-msvc': 14.2.33
'@next/swc-win32-ia32-msvc': 14.2.33
'@next/swc-win32-x64-msvc': 14.2.33
Copy link

Copilot AI Jan 10, 2026

Choose a reason for hiding this comment

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

There is a version mismatch between the main Next.js package (14.2.35) and the SWC platform-specific binaries (14.2.33). The SWC packages are optional dependencies that provide native compilation for Next.js, and they should typically match the main Next.js version. This mismatch could potentially lead to incompatibility issues or unexpected behavior at runtime. The lockfile should be regenerated to ensure all Next.js-related packages are at version 14.2.35.

Suggested change
'@next/swc-darwin-arm64': 14.2.33
'@next/swc-darwin-x64': 14.2.33
'@next/swc-linux-arm64-gnu': 14.2.33
'@next/swc-linux-arm64-musl': 14.2.33
'@next/swc-linux-x64-gnu': 14.2.33
'@next/swc-linux-x64-musl': 14.2.33
'@next/swc-win32-arm64-msvc': 14.2.33
'@next/swc-win32-ia32-msvc': 14.2.33
'@next/swc-win32-x64-msvc': 14.2.33
'@next/swc-darwin-arm64': 14.2.35
'@next/swc-darwin-x64': 14.2.35
'@next/swc-linux-arm64-gnu': 14.2.35
'@next/swc-linux-arm64-musl': 14.2.35
'@next/swc-linux-x64-gnu': 14.2.35
'@next/swc-linux-x64-musl': 14.2.35
'@next/swc-win32-arm64-msvc': 14.2.35
'@next/swc-win32-ia32-msvc': 14.2.35
'@next/swc-win32-x64-msvc': 14.2.35

Copilot uses AI. Check for mistakes.
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.

3 participants