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/ac0f230a-8fd5-4aab-9741-067f5b70c683?utm_source=github&utm_medium=referral&page=upgrade-pr
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 11:02pm

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, automatically generated by Snyk, updates the @typescript-eslint/eslint-plugin to its latest stable version. The primary goal is to ensure the project benefits from the most recent bug fixes, performance improvements, and new features provided by the ESLint plugin for TypeScript, thereby enhancing code quality and developer experience.

Highlights

  • Dependency Upgrade: This pull request upgrades the @typescript-eslint/eslint-plugin dependency from version 8.34.1 to 8.40.0. This is a significant update spanning 59 versions, released 25 days ago, and is intended to keep the project's dependencies up-to-date for better security and maintainability.
  • New Features: Key new features include an update to TypeScript 5.9.2, the addition of an enumMember PascalCase default option for the naming-convention rule, and the inclusion of no-unnecessary-type-conversion in the strict-type-checked ruleset. Support for basePath in tseslint.config() and yield/await expressions in only-throw-error have also been added.
  • Bug Fixes and Improvements: Numerous fixes have been introduced, addressing compatibility issues with defineConfig() and tseslint.config(), correcting the range of import assertions, and improving tsconfigRootDir inference. Other fixes resolve false positives in rules like prefer-optional-chain and unified-signatures, and enhance error handling for nested extends configurations.
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.

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-network-helpers/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 upgrades @typescript-eslint/eslint-plugin from version 8.34.1 to 8.40.0. While keeping dependencies current is a good practice, this change creates a version mismatch with the @typescript-eslint/parser package, which remains at version 8.35.0. Since these packages are part of the same monorepo and are designed to work together, it's crucial to keep their versions synchronized to avoid potential compatibility problems. My review includes a recommendation to upgrade @typescript-eslint/parser as well.

"@types/mocha": ">=9.1.0",
"@types/node": "^22.15.18",
"@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

While upgrading @typescript-eslint/eslint-plugin, it's important to also upgrade @typescript-eslint/parser to the same version. These packages are part of the @typescript-eslint monorepo and are released in sync. Using mismatched versions can lead to compatibility issues and unexpected linting behavior. Please update @typescript-eslint/parser to 8.40.0 to match this change.

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