Skip to content

[Snyk] Security upgrade eslint from 8.57.0 to 9.0.0#323

Open
JJediny wants to merge 1 commit intodevelopfrom
snyk-fix-cd8042a7b6264d092935f72ed4666d7c
Open

[Snyk] Security upgrade eslint from 8.57.0 to 9.0.0#323
JJediny wants to merge 1 commit intodevelopfrom
snyk-fix-cd8042a7b6264d092935f72ed4666d7c

Conversation

@JJediny
Copy link
Copy Markdown

@JJediny JJediny commented Mar 20, 2026

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
  858  

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

Copilot AI review requested due to automatic review settings March 20, 2026 14:43
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

Upgrades the project’s ESLint dev dependency to address a Snyk-reported vulnerability (prototype pollution in a transitive dependency), aligning the dependency tree with ESLint v9.

Changes:

  • Bump eslint from v8.x to ^9.0.0 in package.json.
  • Regenerate package-lock.json to reflect ESLint v9 and updated transitive dependencies.

Reviewed changes

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

File Description
package.json Updates ESLint version used by the repo’s npm run lint / npm run lint:fix scripts.
package-lock.json Updates the resolved dependency graph to ESLint v9 and related transitive packages.

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

@@ -27,7 +27,7 @@
"devDependencies": {
"@eslint/js": "^8.57.0",
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

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

ESLint was bumped to v9, but the flat config imports @eslint/js (see eslint.config.js), and @eslint/js in devDependencies is still ^8.57.0. This leaves the repo using the v8 recommended config with ESLint v9 and also results in duplicate @eslint/js majors in the lockfile. Update @eslint/js to ^9.0.0 (and regenerate package-lock) so the config version matches the ESLint major.

Suggested change
"@eslint/js": "^8.57.0",
"@eslint/js": "^9.0.0",

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