[Snyk] Security upgrade eslint from 7.32.0 to 9.1.0 - #197
Conversation
…k.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MINIMATCH-15353389
|
This upgrade spans two major versions (v7 to v9) and introduces significant breaking changes that require mandatory configuration and code updates. Key Breaking Changes:
Recommendation: This upgrade requires a significant migration effort. It is critical to migrate your configuration to the new Sources:
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
PR Complexity Score: 2.3 - Simple
View Breakdown
- Lines Changed: 1036
- Files Changed: 2
- Complexity Added: 0
- Raw Score: 26.72
Secrets found in the following files: chargebee-js-react/package-lock.json
PII found in the following files: chargebee-js-react/package-lock.json
- Bumps the wrapper package version from
0.6.7to0.6.8. - Upgrades ESLint from
^7.11.0to^9.1.0to align with the latest linting ecosystem. - Refreshes and restructures ESLint-related transitive dependencies in
package-lock.json(e.g.,@eslint/eslintrc,@eslint/js,espree,eslint-scope,esquery,file-entry-cache,flat-cache, etc.). - Removes older, now-unused linting support packages and introduces new ones required by ESLint 9 (e.g.,
@eslint-community/eslint-utils,@eslint-community/regexpp,@humanwhocodes/*,@nodelib/fs.*,find-up,keyv, etc.). - Updates various dependency versions and engine requirements to be compatible with ESLint 9’s minimum Node version (>= 18.18.0 in several places).
Overall, this PR is a tooling/maintenance update focused on modernizing the linting stack and incrementing the package version, with no runtime code changes to the React wrapper itself.
File-level change summary
| File | Change Summary |
|---|---|
chargebee-js-react/package.json |
Updates devDependencies.eslint from ^7.11.0 to ^9.1.0 to use the latest ESLint major version. |
chargebee-js-react/package-lock.json |
Bumps package version to 0.6.8; regenerates lockfile to reflect ESLint 9 upgrade and its dependency graph, including new ESLint core packages, updated parser/tooling libs, and removal of obsolete lint-related dependencies. |
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
chargebee-js-react/package.jsonchargebee-js-react/package-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-MINIMATCH-15353389
Breaking Change Risk
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.