Skip to content

[Snyk] Security upgrade eslint from 7.19.0 to 9.0.0#66

Open
twilio-product-security wants to merge 1 commit intomainfrom
snyk-fix-f6f2eb6b59d896efbd2705c40fafc8bb
Open

[Snyk] Security upgrade eslint from 7.19.0 to 9.0.0#66
twilio-product-security wants to merge 1 commit intomainfrom
snyk-fix-f6f2eb6b59d896efbd2705c40fafc8bb

Conversation

@twilio-product-security
Copy link
Copy Markdown

snyk-top-banner

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

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Prototype Pollution
SNYK-JS-FLATTED-15700433
  278  

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:

🦉 Prototype Pollution

@twilio-product-security
Copy link
Copy Markdown
Author

Merge Risk: High

This is a major upgrade spanning two versions (v7 to v9) that introduces significant breaking changes, most notably the mandatory adoption of a new configuration file format.

Key Breaking Changes

ESLint v9.0.0:

  • New Configuration Default: ESLint v9 uses a new "flat config" file (eslint.config.js) by default. The traditional .eslintrc format is deprecated and will only work if you set the ESLINT_USE_FLAT_CONFIG environment variable to false. Your existing configuration must be migrated.
  • Node.js Requirement: Support for Node.js versions older than 18.18.0 and v19 has been dropped.
  • Removed Rules: The require-jsdoc and valid-jsdoc rules have been removed from the core.
  • Removed Formatters: Several formatters were removed, including checkstyle, compact, junit, tap, and unix.

ESLint v8.0.0:

  • API Removal: The CLIEngine class was removed, which may break custom scripts or integrations that use the Node.js API.
  • Node.js Requirement: Support for Node.js versions 10, 13, and 15 was dropped.

Recommendation: This upgrade requires significant developer action. You must migrate your existing .eslintrc configuration to the new eslint.config.js format. All ESLint plugins must also be updated to ensure they are compatible with the new flat config system. Review the official migration guides before proceeding.

Source: ESLint v8 Migration Guide, ESLint v9 Migration Guide

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

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