fix: Upgrade eslint devDependency to fix stack overflow vulnerability#11610
Merged
anthonyshew merged 3 commits intomainfrom Feb 1, 2026
Merged
fix: Upgrade eslint devDependency to fix stack overflow vulnerability#11610anthonyshew merged 3 commits intomainfrom
anthonyshew merged 3 commits intomainfrom
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Remove @types/eslint from eslint-config-turbo devDependencies and add eslint 9.26.0 to ensure both packages use ESLint 9's built-in types. This fixes the type conflict during build where eslint-plugin-turbo exports types from ESLint 9 but eslint-config-turbo expected types from @types/eslint@8. This change only affects build-time types. End users are unaffected: - devDependencies are not installed by package consumers - peerDependencies remain 'eslint: >6.6.0' for ESLint 8 compatibility
6fd616f to
f9d1c06
Compare
ESLint 9's RuleTester detects duplicate test cases. Instead of deleting the duplicates, restore them with reversed destructuring order to make them unique while still testing the same functionality.
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.
Summary
Upgrades eslint devDependency in
eslint-plugin-turbofrom 8.57.0 to 9.26.0 to address CVE-2025-6294 (stack overflow with circular references).Changes:
parserOptions→languageOptions(ESLint 9 API change)Testing:
Note: This is a devDependency upgrade only. The peerDependency (
eslint: >6.6.0) remains unchanged, so end users can continue using both ESLint 8.x and 9.x.