[Snyk] Security upgrade eslint from 8.57.0 to 9.26.0#1009
Open
[Snyk] Security upgrade eslint from 8.57.0 to 9.26.0#1009
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-ESLINT-15102420
There was a problem hiding this comment.
Pull request overview
Upgrades ESLint to address a Snyk-reported vulnerability in the project’s npm dependencies.
Changes:
- Bump
eslintfrom the v8 line to^9.26.0inpackage.json. - Regenerate
package-lock.jsonto reflect the new ESLint version and its updated dependency graph.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updates the ESLint devDependency to the patched major version. |
| package-lock.json | Locks updated ESLint and new/updated transitive dependencies introduced by ESLint v9. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
91
to
+94
| "chai-as-promised": "^8.0.1", | ||
| "dotenv": "^16.4.5", | ||
| "dotenv-cli": "^7.4.3", | ||
| "eslint": "^8.56.0", | ||
| "eslint": "^9.26.0", |
There was a problem hiding this comment.
ESLint was bumped to v9, but @eslint/js remains pinned to the v8 line (used directly by eslint.config.js via require("@eslint/js")). This can lead to version skew (and duplicate @eslint/js installs) and may cause lint failures if the v8 recommended config references rules that changed/removed in ESLint 9. Please upgrade @eslint/js to the matching v9.x version and regenerate the lockfile.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.jsonpackage-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-ESLINT-15102420
Important
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.