Skip to content

[Snyk] Fix for 2 vulnerabilities - #53

Closed
snyk-io[bot] wants to merge 1 commit into
mainfrom
snyk-fix-2230e87d54f28464a81abbce8d33630a
Closed

snyk-io[bot] wants to merge 1 commit into
mainfrom
snyk-fix-2230e87d54f28464a81abbce8d33630a

Conversation

@snyk-io

@snyk-io snyk-io Bot commented Sep 20, 2026

Copy link
Copy Markdown

snyk-top-banner

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

Snyk changed the following file(s):

  • packages/cli/package.json
⚠️ Warning
Failed to update the pnpm-lock.yaml, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Uncontrolled Recursion
SNYK-JS-BRACES-19963945
  124  
high severity Infinite loop
SNYK-JS-URIJS-19963963
  124  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


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:

🦉 Uncontrolled Recursion

@snyk-io

snyk-io Bot commented Sep 20, 2026

Copy link
Copy Markdown
Author

Merge Risk: High

This update includes major version upgrades for both eslint and jest, introducing significant breaking changes that require developer action.

1. eslint 9.39.5 → 10.0.0 (High Risk)

This is a major upgrade that fundamentally changes how ESLint is configured.

Key Breaking Changes:

  • Configuration System Removed: The legacy .eslintrc.* configuration file format has been completely removed. All projects must migrate to the eslint.config.js (flat config) format. The ESLINT_USE_FLAT_CONFIG environment variable is no longer supported.
  • Node.js Version: Support for Node.js versions older than v20.19.0 has been dropped.
  • API and CLI Removals: Deprecated SourceCode methods, Linter methods, and CLI flags related to the old configuration system have been removed.
  • JSX Scope Analysis: JSX element references are now tracked by default, which improves scope analysis for rules like no-unused-vars but may require changes to existing rule configurations.

Recommendation:

  • Action Required: You must migrate your configuration to the new eslint.config.js format. The ESLint team provides codemods (@eslint/v9-to-v10) to automate parts of this migration.

2. jest 29.7.0 → 30.3.0 (High Risk)

This major upgrade introduces breaking changes related to environment support, dependencies, and APIs.

Key Breaking Changes:

  • Node.js Version: Support for Node.js 14, 16, 19, and 21 has been dropped. The minimum required version is now Node.js 18.
  • JSDOM Upgrade: The jest-environment-jsdom package was upgraded significantly (from v21 to v26), which may break tests. Notably, mocking window.location is no longer possible in the same way.
  • API Removals: Deprecated matcher aliases have been removed (e.g., toBeCalled() must be replaced with toHaveBeenCalled()).
  • Snapshot Updates: The snapshot format has changed, which will require all snapshots to be updated upon running tests.
  • TypeScript Version: The minimum supported TypeScript version is now 5.4.

Recommendation:

  • Action Required: Update snapshots, replace removed matcher aliases, and carefully verify tests that rely on JSDOM for DOM mocking. Ensure your Node.js and TypeScript versions meet the new requirements.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@snyk-io

snyk-io Bot commented Sep 20, 2026 •

Copy link
Copy Markdown
Author

⛔ Snyk checks have failed. 14 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (14)
⛔ Open Source Security 0 14 0 0 14 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

1 participant