Skip to content

[Snyk] Security upgrade eslint from 6.6.0 to 9.0.0#147

Open
Seismic-Security-Service wants to merge 1 commit into
masterfrom
snyk-fix-fa985e64f8bfd37d3c45cc0d243880ac
Open

[Snyk] Security upgrade eslint from 6.6.0 to 9.0.0#147
Seismic-Security-Service wants to merge 1 commit into
masterfrom
snyk-fix-fa985e64f8bfd37d3c45cc0d243880ac

Conversation

@Seismic-Security-Service

Copy link
Copy Markdown

snyk-top-banner

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

Snyk changed the following file(s):

  • pkgs/eslint-plugin/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Inefficient Algorithmic Complexity
SNYK-JS-BRACEEXPANSION-17706650
  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:

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

@Seismic-Security-Service

Copy link
Copy Markdown
Author

Merge Risk: High

This is a major upgrade across three major versions (v7, v8, and v9), introducing significant breaking changes. The most critical change is in v9, which makes the new "flat config" (eslint.config.js) the default configuration format, deprecating the traditional .eslintrc format.

Key Breaking Changes:

  • ESLint v9.0.0:

    • New Default Config: The eslintrc format is deprecated. You must migrate your configuration to the new eslint.config.js flat config format. To continue using eslintrc, you must set the ESLINT_USE_FLAT_CONFIG environment variable to false.
    • Node.js Support: Dropped support for Node.js versions below 18.18.0 and version 19.
    • Removed Rules: The require-jsdoc and valid-jsdoc rules have been removed.
    • Formatter Removals: Several formatters including checkstyle, compact, junit, and tap have been removed.
  • ESLint v8.0.0:

    • Node.js Support: Dropped support for Node.js versions 10, 13, and 15.
    • API Changes: The CLIEngine class was removed, which may affect integrations.
    • Rule Updates: The eslint:recommended preset was updated with new rules.
  • ESLint v7.0.0:

    • Node.js Support: Dropped support for Node.js version 8.
    • Rule Changes: Core Node.js/CommonJS rules were deprecated and moved to the eslint-plugin-node plugin.

Recommendation:
This upgrade requires a mandatory migration of your ESLint configuration from .eslintrc to the new eslint.config.js flat format. It is a significant effort that should be handled carefully. Review the official migration guides for each major version to ensure a smooth transition.

Sources:

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

@Seismic-Security-Service

Seismic-Security-Service commented Jul 1, 2026

Copy link
Copy Markdown
Author

Snyk checks have failed. 13 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (13)
Open Source Security 1 12 0 0 13 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

Development

Successfully merging this pull request may close these issues.

2 participants