[Snyk] Fix for 1 vulnerabilities#207
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MINIMATCH-15309438
⛔ Snyk checks have failed. 20 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
| "@typescript-eslint/parser": "^5.59.5", | ||
| "dts-bundle": "^0.7.3", | ||
| "eslint": "^8.56.0", | ||
| "eslint": "^10.0.0", |
There was a problem hiding this comment.
eslint.config.js) but the codebase uses legacy .eslintrc.js. Additionally, @typescript-eslint/eslint-plugin: ^5.59.5 and @typescript-eslint/parser: ^5.59.5 may not be compatible with ESLint 10.
Required actions:
- Update
@typescript-eslint/*packages to ESLint 10 compatible versions - Migrate from
.eslintrc.jstoeslint.config.jsformat - Update
eslint-config-prettierfrom^6.9.0to a version supporting ESLint 10
| "eslint-plugin-simple-import-sort": "^10.0.0", | ||
| "eslint-plugin-testing-library": "^5.11.0", | ||
| "jest": "^27.4.6", | ||
| "jest": "^29.0.0", |
There was a problem hiding this comment.
Missing updates needed:
ts-jest: ^27.1.1→^29.1.0(v27 is incompatible with Jest v29)@types/jest: ^27.0.3→^29.5.0(type definitions mismatch)jsdom: ^19.0.0→^20.0.0+(compatibility with Jest 29)
Configuration migration required:
Jest 29 deprecated the globals.ts-jest configuration format. The current jest.config.sdk.js needs migration from:
globals: { 'ts-jest': { ... } }to:
transform: { '^.+\\.tsx?$': ['ts-jest', { ... }] }
Code Review SummaryThis Snyk security fix addresses a critical ReDoS vulnerability but introduces breaking compatibility issues that prevent safe merging in its current state. 🚨 Critical Issues Preventing Merge
|
Snyk has created this PR to fix 1 vulnerabilities in the pnpm dependencies of this project.
Snyk changed the following file(s):
package.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-MINIMATCH-15309438
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:
🦉 Regular Expression Denial of Service (ReDoS)