[Snyk] Security upgrade eslint from 7.15.0 to 9.26.0#8
[Snyk] Security upgrade eslint from 7.15.0 to 9.26.0#8dmgoldstein1 wants to merge 1 commit intodevelopfrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-ESLINT-15102420
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR is a Snyk-generated security update to address an ESLint vulnerability by upgrading eslint from 7.15.0 to 9.26.0.
Changes:
- Bumped
eslintdevDependency to9.26.0inpackage.json.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "@typescript-eslint/eslint-plugin": "4.10.0", | ||
| "@typescript-eslint/parser": "4.10.0", | ||
| "eslint": "7.15.0", | ||
| "eslint": "9.26.0", |
There was a problem hiding this comment.
Upgrading to eslint@9 will break the current CI/dev runtime setup: this repo’s GitHub Actions pipeline uses Node 12.x (.github/workflows/build-and-test.yml), and ESLint v9 requires a newer Node version, so npm run compile (which runs npm run lint) will fail. Either bump the CI Node version (and document the required Node version for contributors) or choose an ESLint major compatible with the project’s Node baseline.
| "eslint": "9.26.0", | |
| "eslint": "8.57.0", |
| "@typescript-eslint/eslint-plugin": "4.10.0", | ||
| "@typescript-eslint/parser": "4.10.0", | ||
| "eslint": "7.15.0", | ||
| "eslint": "9.26.0", |
There was a problem hiding this comment.
eslint@9 is a major upgrade but @typescript-eslint/eslint-plugin / @typescript-eslint/parser are still pinned to 4.10.0. That combination is not supported and will typically fail install and/or linting. Please upgrade the @typescript-eslint packages (and any related config changes) to versions compatible with ESLint 9, or keep ESLint on a compatible major.
| "eslint": "9.26.0", | |
| "eslint": "7.32.0", |
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
package.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.