Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "action.js",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"@typescript-eslint/parser": "^5.62.0",
Comment on lines 7 to +8

Choose a reason for hiding this comment

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

This dependency update creates a version mismatch between @typescript-eslint/parser (5.62.0) and @typescript-eslint/eslint-plugin (5.9.0). The TypeScript ESLint packages are designed to work together and should be kept at the same major.minor version to ensure compatibility and avoid potential parsing or rule conflicts.

Suggested change
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"@typescript-eslint/parser": "^5.62.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",

Choose a reason for hiding this comment

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

🛑 Missing Lock File Update: This PR only updates package.json but doesn't include the corresponding pnpm-lock.yaml update. After making the dependency changes, you must run pnpm install to update the lock file. This ensures reproducible builds and prevents potential dependency resolution issues in production.

Choose a reason for hiding this comment

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

The version jump from 5.9.0 to 5.62.0 spans over 50 minor releases and includes significant changes. While this addresses security vulnerabilities, it's worth noting that this large version jump may introduce breaking changes or behavioral differences in ESLint rules and parsing. Consider testing thoroughly with your existing TypeScript codebase.

"eslint": "^8.6.0",
"typescript": "^4.5.4"
},

Choose a reason for hiding this comment

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

Consider updating ESLint to a more recent version. ESLint 8.6.0 is quite old (from January 2022), and newer versions include important security fixes, performance improvements, and better TypeScript support. The latest ESLint 8.x versions are compatible with the updated TypeScript ESLint packages.

Expand Down