Skip to content

Conversation

@Dargon789
Copy link
Owner

snyk-top-banner

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

    8.40.0 (2025-08-18)

    🩹 Fixes

    • typescript-eslint: export plugin, parser, and configs that are compatible with both defineConfig() and tseslint.config() (#11475)
    • typescript-estree: correct range of import assertion with trailing comma (#11478)
    • utils: correct calculateConfigForFile return type (#11451)

    ❤️ Thank You

    You can read about our versioning strategy and releases on our website.

  • 8.39.2-alpha.1 - 2025-08-18
  • 8.39.2-alpha.0 - 2025-08-11
  • 8.39.1 - 2025-08-11

    8.39.1 (2025-08-11)

    🩹 Fixes

    • typescript-eslint: handle file:// urls in stack trace when inferring tsconfigRootDir (#11464)

    ❤️ Thank You

    You can read about our versioning strategy and releases on our website.

  • 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

    8.39.0 (2025-08-04)

    🚀 Features

    • 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)

    🩹 Fixes

    • eslint-plugin: [prefer-optional-chain] ignore check option for most RHS of a chain (#11272)
    • eslint-plugin: [no-unsafe-assignment] add an unsafeObjectPattern message (#11403)

    ❤️ Thank You

    You can read about our versioning strategy and releases on our website.

  • 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

    8.38.0 (2025-07-21)

    🚀 Features

    • typescript-estree: forbid optional chain in TemplateTaggedLiteral (#11391)

    🩹 Fixes

    • disallow extra properties in rule options (#11397)
    • eslint-plugin: [consistent-generic-constructors] resolve conflict with isolatedDeclarations if enabled in constructor option (#11351)
    • typescript-eslint: infer tsconfigRootDir with v8 API (#11412)
    • typescript-eslint: error on nested extends in tseslint.config() (#11361)
    • typescript-estree: ensure the token type of the property name is Identifier (#11329)

    ❤️ Thank You

    You can read about our versioning strategy and releases on our website.

  • 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

    8.37.0 (2025-07-14)

    🚀 Features

    • typescript-estree: infer tsconfigRootDir from call stack (#11370)

    🩹 Fixes

    • 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)

    ❤️ Thank You

    You can read about our versioning strategy and releases on our website.

  • 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

    8.36.0 (2025-07-07)

    🚀 Features

    • typescript-eslint: support basePath in tseslint.config() (#11357)

    ❤️ Thank You

    You can read about our versioning strategy and releases on our website.

  • 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

    8.35.1 (2025-06-30)

    🩹 Fixes

    • remove prettier from eslint-plugin (#11339)
    • website: did not find a source file error if url hash doesn't contain fileType (#11350)

    ❤️ Thank You

    You can read about our versioning strategy and releases on our website.

  • 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 notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

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
@vercel
Copy link

vercel bot commented Sep 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
hardhat-project-uz7z Ready Ready Preview Comment Sep 12, 2025 4:52pm

@codesandbox
Copy link

codesandbox bot commented Sep 12, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

@gemini-code-assist gemini-code-assist bot left a 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-plugin dependency 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() and tseslint.config(), and corrects the return type of calculateConfigForFile.
  • 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 PascalCase default option for enumMember in naming-convention, the addition of no-unnecessary-type-conversion to strict-type-checked rules, and only-throw-error supporting yield/await expressions.
  • Bug Fixes and Enhancements: Multiple fixes address issues like handling file:// URLs in tsconfigRootDir inference, improving prefer-optional-chain and no-unsafe-assignment rules, resolving conflicts in consistent-generic-constructors, and better handling of tsconfigRootDir inference with the v8 API.
  • Enhanced Configuration Flexibility: Support for basePath in tseslint.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

  1. 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.

@github-actions
Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/@typescript-eslint/eslint-plugin 8.40.0 🟢 5.2
Details
CheckScoreReason
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Maintained🟢 1030 commit(s) and 26 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 7Found 7/10 approved changesets -- score normalized to 7
Packaging⚠️ -1packaging workflow not detected
Security-Policy🟢 10security policy file detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
License🟢 10license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Signed-Releases⚠️ -1no releases found
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Vulnerabilities⚠️ 033 existing vulnerabilities detected

Scanned Files

  • packages/hardhat-web3-legacy/package.json

Copy link

@gemini-code-assist gemini-code-assist bot left a 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",

Choose a reason for hiding this comment

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

high

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants