-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Upgrade @typescript-eslint/eslint-plugin from 8.34.1 to 8.40.0 #1709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade @typescript-eslint/eslint-plugin from 8.34.1 to 8.40.0. See this package in npm: @typescript-eslint/eslint-plugin See this project in Snyk: https://app.snyk.io/org/dargon789/project/58c67ad3-ef01-4b53-a064-85256597d6ae?utm_source=github&utm_medium=referral&page=upgrade-pr
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Summary of Changes
Hello @Dargon789, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request updates the @typescript-eslint/eslint-plugin dependency to its latest stable version, "8.40.0". This upgrade incorporates numerous bug fixes, performance improvements, and new linting rules, ensuring the project benefits from enhanced code quality checks and compatibility with recent TypeScript versions. Keeping this dependency current helps maintain a robust and secure development environment.
Highlights
- Dependency Upgrade: The
@typescript-eslint/eslint-plugindependency has been upgraded from version "8.34.1" to "8.40.0", incorporating 59 new versions. - Improved ESLint Configuration Compatibility: Version "8.40.0" includes fixes for compatibility with both
defineConfig()andtseslint.config(), and corrects the return type ofcalculateConfigForFile. - TypeScript 5.9.2 Support: Version "8.39.0" introduces an update to support TypeScript 5.9.2, enhancing compatibility with the latest TypeScript features.
- New Linting Features: Several new features were added, such as a
PascalCasedefault option forenumMemberinnaming-convention, the addition ofno-unnecessary-type-conversionto strict-type-checked rules, andonly-throw-errorsupporting yield/await expressions. - Bug Fixes and Enhancements: Multiple fixes address issues like handling
file://URLs intsconfigRootDirinference, improvingprefer-optional-chainandno-unsafe-assignmentrules, resolving conflicts inconsistent-generic-constructors, and better handling oftsconfigRootDirinference with the v8 API. - Enhanced Configuration Flexibility: Support for
basePathintseslint.config()was added in version "8.36.0", providing more flexible configuration options for ESLint.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request, automatically generated by Snyk, upgrades @typescript-eslint/eslint-plugin. While it's good practice to keep dependencies current, this change introduces a version mismatch between @typescript-eslint/eslint-plugin (upgraded to 8.40.0) and @typescript-eslint/parser (which remains at 8.35.0). It is strongly recommended to keep all @typescript-eslint packages on the same version to prevent compatibility issues. I have added a specific comment regarding this. After synchronizing the versions, please ensure the CI pipeline passes, as this update spans numerous versions and may introduce new linting rules or stricter checks.
| "@types/mocha": ">=9.1.0", | ||
| "@types/node": "^22.15.3", | ||
| "@typescript-eslint/eslint-plugin": "8.34.1", | ||
| "@typescript-eslint/eslint-plugin": "8.40.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's important to keep @typescript-eslint packages synchronized. This pull request upgrades @typescript-eslint/eslint-plugin to version 8.40.0, but leaves @typescript-eslint/parser at 8.35.0 (on the next line). This version skew can lead to compatibility problems.
Please also upgrade @typescript-eslint/parser to 8.40.0.
As per the official typescript-eslint documentation:
we release all of our packages at the same time with the same version number. You should ensure that all of your
@typescript-eslint/packages are on the same version.
Snyk has created this PR to upgrade @typescript-eslint/eslint-plugin from 8.34.1 to 8.40.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 59 versions ahead of your current version.
The recommended version was released 25 days ago.
Release notes
Package name: @typescript-eslint/eslint-plugin
-
8.40.0 - 2025-08-18
- typescript-eslint: export
- typescript-estree: correct range of import assertion with trailing comma (#11478)
- utils: correct
- Kirk Waiblinger @ kirkwaiblinger
- Nolan Gajdascz @ Gajdascz
-
8.39.2-alpha.1 - 2025-08-18
-
8.39.2-alpha.0 - 2025-08-11
-
8.39.1 - 2025-08-11
- typescript-eslint: handle
- Kirk Waiblinger @ kirkwaiblinger
-
8.39.1-alpha.4 - 2025-08-09
-
8.39.1-alpha.3 - 2025-08-08
-
8.39.1-alpha.2 - 2025-08-05
-
8.39.1-alpha.1 - 2025-08-05
-
8.39.1-alpha.0 - 2025-08-04
-
8.39.0 - 2025-08-04
- update to TypeScript 5.9.2 (#11445)
- eslint-plugin: [naming-convention] add enumMember PascalCase default option (#11127)
- eslint-plugin: add no-unnecessary-type-conversion to strict-type-checked ruleset (#11427)
- eslint-plugin: [only-throw-error] support yield/await expressions (#11417)
- eslint-plugin: [prefer-optional-chain] ignore
- eslint-plugin: [no-unsafe-assignment] add an
- Brad Zacher @ bradzacher
- James Garbutt @ 43081j
- Kim Sang Du @ developer-bandi
- Sasha Kondrashov
- tao
- Younsang Na @ nayounsang
-
8.38.1-alpha.8 - 2025-08-04
-
8.38.1-alpha.7 - 2025-08-04
-
8.38.1-alpha.6 - 2025-08-03
-
8.38.1-alpha.5 - 2025-08-03
-
8.38.1-alpha.4 - 2025-08-03
-
8.38.1-alpha.3 - 2025-08-01
-
8.38.1-alpha.2 - 2025-08-01
-
8.38.1-alpha.1 - 2025-08-01
-
8.38.1-alpha.0 - 2025-08-01
-
8.38.0 - 2025-07-21
- typescript-estree: forbid optional chain in
- disallow extra properties in rule options (#11397)
- eslint-plugin: [consistent-generic-constructors] resolve conflict with
- typescript-eslint: infer tsconfigRootDir with v8 API (#11412)
- typescript-eslint: error on nested
- typescript-estree: ensure the token type of the property name is Identifier (#11329)
- Andrew Kazakov @ andreww2012
- Kirk Waiblinger @ kirkwaiblinger
- MK @ asdf93074
- tao
- Younsang Na @ nayounsang
-
8.37.1-alpha.6 - 2025-07-21
-
8.37.1-alpha.5 - 2025-07-21
-
8.37.1-alpha.4 - 2025-07-19
-
8.37.1-alpha.3 - 2025-07-18
-
8.37.1-alpha.2 - 2025-07-18
-
8.37.1-alpha.1 - 2025-07-16
-
8.37.1-alpha.0 - 2025-07-14
-
8.37.0 - 2025-07-14
- typescript-estree: infer tsconfigRootDir from call stack (#11370)
- eslint-plugin: [unified-signatures] fix false positives for ignoreOverloadsWithDifferentJSDoc option (#11381)
- type-utils: add missing 'types' dependency to 'type-utils' (#11383)
- type-utils: handle namespaced exports in specifier matching (#11380)
- Bill Collins
- Josh Goldberg ✨
- René @ Renegade334
- Yukihiro Hasegawa @ y-hsgw
-
8.36.1-alpha.4 - 2025-07-14
-
8.36.1-alpha.3 - 2025-07-14
-
8.36.1-alpha.2 - 2025-07-09
-
8.36.1-alpha.1 - 2025-07-08
-
8.36.1-alpha.0 - 2025-07-07
-
8.36.0 - 2025-07-07
- typescript-eslint: support
- Kirk Waiblinger @ kirkwaiblinger
-
8.35.2-alpha.11 - 2025-07-07
-
8.35.2-alpha.10 - 2025-07-07
-
8.35.2-alpha.9 - 2025-07-06
-
8.35.2-alpha.8 - 2025-07-06
-
8.35.2-alpha.7 - 2025-07-06
-
8.35.2-alpha.6 - 2025-07-05
-
8.35.2-alpha.5 - 2025-07-01
-
8.35.2-alpha.4 - 2025-07-01
-
8.35.2-alpha.3 - 2025-07-01
-
8.35.2-alpha.2 - 2025-07-01
-
8.35.2-alpha.1 - 2025-07-01
-
8.35.2-alpha.0 - 2025-07-01
-
8.35.1 - 2025-06-30
- remove prettier from eslint-plugin (#11339)
- website: did not find a source file error if url hash doesn't contain fileType (#11350)
- Abhijeet Singh @ cseas
- mdm317
-
8.35.1-alpha.6 - 2025-06-26
-
8.35.1-alpha.5 - 2025-06-26
-
8.35.1-alpha.4 - 2025-06-25
-
8.35.1-alpha.3 - 2025-06-24
-
8.35.1-alpha.2 - 2025-06-24
-
8.35.1-alpha.1 - 2025-06-23
-
8.35.1-alpha.0 - 2025-06-23
-
8.35.0 - 2025-06-23
-
8.34.2-alpha.3 - 2025-06-23
-
8.34.2-alpha.2 - 2025-06-23
-
8.34.2-alpha.1 - 2025-06-18
-
8.34.2-alpha.0 - 2025-06-16
-
8.34.1 - 2025-06-16
from @typescript-eslint/eslint-plugin GitHub release notes8.40.0 (2025-08-18)
🩹 Fixes
plugin,parser, andconfigsthat are compatible with bothdefineConfig()andtseslint.config()(#11475)calculateConfigForFilereturn type (#11451)❤️ Thank You
You can read about our versioning strategy and releases on our website.
8.39.1 (2025-08-11)
🩹 Fixes
file://urls in stack trace when inferringtsconfigRootDir(#11464)❤️ Thank You
You can read about our versioning strategy and releases on our website.
8.39.0 (2025-08-04)
🚀 Features
🩹 Fixes
checkoption for most RHS of a chain (#11272)unsafeObjectPatternmessage (#11403)❤️ Thank You
You can read about our versioning strategy and releases on our website.
8.38.0 (2025-07-21)
🚀 Features
TemplateTaggedLiteral(#11391)🩹 Fixes
isolatedDeclarationsif enabled inconstructoroption (#11351)extendsintseslint.config()(#11361)❤️ Thank You
You can read about our versioning strategy and releases on our website.
8.37.0 (2025-07-14)
🚀 Features
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
8.36.0 (2025-07-07)
🚀 Features
basePathintseslint.config()(#11357)❤️ Thank You
You can read about our versioning strategy and releases on our website.
8.35.1 (2025-06-30)
🩹 Fixes
❤️ Thank You
You can read about our versioning strategy and releases on our website.
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: