Skip to content

chore(deps): bump @typescript-eslint/parser from 8.56.1 to 8.58.0 in /docs#318

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/docs/typescript-eslint/parser-8.58.0
Open

chore(deps): bump @typescript-eslint/parser from 8.56.1 to 8.58.0 in /docs#318
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/docs/typescript-eslint/parser-8.58.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 6, 2026

Bumps @typescript-eslint/parser from 8.56.1 to 8.58.0.

Release notes

Sourced from @​typescript-eslint/parser's releases.

v8.58.0

8.58.0 (2026-03-30)

🚀 Features

  • support TypeScript 6 (#12124)

🩹 Fixes

  • eslint-plugin: crash in no-unnecessary-type-arguments (#12163)
  • eslint-plugin: [no-extraneous-class] handle index signatures (#12142)
  • eslint-plugin: [prefer-regexp-exec] avoid fixing unknown RegExp flags (#12161)

❤️ Thank You

See GitHub Releases for more information.

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

v8.57.2

8.57.2 (2026-03-23)

🩹 Fixes

  • eslint-plugin: [prefer-optional-chain] remove dangling closing parenthesis (#11865)
  • eslint-plugin: [array-type] ignore Array and ReadonlyArray without type arguments (#11971)
  • eslint-plugin: [no-restricted-types] flag banned generics in extends or implements (#12120)
  • eslint-plugin: [no-unsafe-return] false positive on unwrapping generic (#12125)
  • eslint-plugin: [no-unsafe-return] false positive on unwrapping generic (#12125)
  • eslint-plugin: [no-useless-default-assignment] skip reporting false positives for unresolved type parameters (#12127)
  • eslint-plugin: [prefer-readonly-parameter-types] preserve type alias infomation (#11954)
  • typescript-estree: skip createIsolatedProgram fallback for projectService (#12066, #12065)

❤️ Thank You

See GitHub Releases for more information.

... (truncated)

Changelog

Sourced from @​typescript-eslint/parser's changelog.

8.58.0 (2026-03-30)

🚀 Features

  • support TypeScript 6 (#12124)

❤️ Thank You

See GitHub Releases for more information.

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

8.57.2 (2026-03-23)

This was a version bump only for parser to align it with other projects, there were no code changes.

See GitHub Releases for more information.

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

8.57.1 (2026-03-16)

This was a version bump only for parser to align it with other projects, there were no code changes.

See GitHub Releases for more information.

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

8.57.0 (2026-03-09)

This was a version bump only for parser to align it with other projects, there were no code changes.

See GitHub Releases for more information.

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

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 8.56.1 to 8.58.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.58.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-version: 8.58.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 6, 2026

Labels

The following labels could not be found: npm. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@github-actions github-actions bot added the chore label Apr 6, 2026
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Apr 6, 2026

Greptile Summary

This PR bumps @typescript-eslint/parser from 8.56.1 to 8.58.0 in the docs/ Docusaurus site, along with the corresponding lock file update. The new version adds TypeScript 6 support and several bug fixes in related packages.

  • @typescript-eslint/parser updated to 8.58.0 (adds TypeScript 6 support, expands peer dep range to >=4.8.4 <6.1.0)
  • Associated @typescript-eslint/* sub-packages (typescript-estree, scope-manager, types, visitor-keys, project-service, tsconfig-utils) all bumped to 8.58.0
  • Various transitive packages also updated: minimatch, brace-expansion, ts-api-utils, caniuse-lite, picomatch, @babel/runtime, @emnapi/runtime
  • @typescript-eslint/eslint-plugin remains at 8.54.0 (resolved), creating a minor version mismatch with the parser (4 minor versions behind)
  • Change is scoped entirely to the docs/ directory and has no impact on the main CLI or library code

Confidence Score: 4/5

Safe to merge; change is docs-only and the version mismatch between parser and eslint-plugin is non-breaking at runtime.

The dependency bump is routine and scoped entirely to the docs/ Docusaurus subdirectory with no impact on the main CLI or library. The typescript-eslint packages remain compatible within the same major version (8.x). The only concern is a minor best-practice issue: @typescript-eslint/eslint-plugin (8.54.0) and @typescript-eslint/parser (8.58.0) are 4 minor versions apart, which is unusual for these sibling packages that are typically kept in lockstep.

docs/package.json — consider aligning @typescript-eslint/eslint-plugin version with the parser to keep them in sync

Important Files Changed

Filename Overview
docs/package.json Bumps @typescript-eslint/parser from ^8.56.1 to ^8.58.0; @typescript-eslint/eslint-plugin remains at ^8.0.0 (resolved 8.54.0), creating a 4-minor-version mismatch
docs/pnpm-lock.yaml Lock file updated to resolve new parser version (8.58.0) and associated transitive dependency bumps; changes look correct and consistent

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[docs/package.json] -->|specifier ^8.58.0| B[@typescript-eslint/parser@8.58.0]
    A -->|specifier ^8.0.0 resolved to| C[@typescript-eslint/eslint-plugin@8.54.0]
    B --> D[@typescript-eslint/typescript-estree@8.58.0]
    B --> E[@typescript-eslint/scope-manager@8.58.0]
    B --> F[@typescript-eslint/types@8.58.0]
    B --> G[@typescript-eslint/visitor-keys@8.58.0]
    D --> H[ts-api-utils@2.5.0]
    D --> I[minimatch@10.2.5]
    C -->|peer dep satisfied by| B
    style C fill:#f9c74f,stroke:#f8961e
    style B fill:#90be6d,stroke:#43aa8b
Loading
Prompt To Fix All With AI
This is a comment left during a code review.
Path: docs/package.json
Line: 38-39

Comment:
**Version mismatch between typescript-eslint packages**

`@typescript-eslint/parser` is being bumped to `8.58.0` while `@typescript-eslint/eslint-plugin` remains at its currently resolved version of `8.54.0` (specifier `^8.0.0`). The typescript-eslint packages are released together as a monorepo and are designed to be used at matching versions.

While the plugin's peer dependency (`@typescript-eslint/parser@^8.54.0`) technically satisfies `8.58.0` at runtime, keeping them 4 minor versions apart is not recommended and could lead to subtle linting inconsistencies. Consider aligning the eslint-plugin to match:

```suggestion
    "@typescript-eslint/eslint-plugin": "^8.58.0",
    "@typescript-eslint/parser": "^8.58.0",
```

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "chore(deps): bump @typescript-eslint/par..." | Re-trigger Greptile

Comment on lines 38 to +39
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.56.1",
"@typescript-eslint/parser": "^8.58.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 Version mismatch between typescript-eslint packages

@typescript-eslint/parser is being bumped to 8.58.0 while @typescript-eslint/eslint-plugin remains at its currently resolved version of 8.54.0 (specifier ^8.0.0). The typescript-eslint packages are released together as a monorepo and are designed to be used at matching versions.

While the plugin's peer dependency (@typescript-eslint/parser@^8.54.0) technically satisfies 8.58.0 at runtime, keeping them 4 minor versions apart is not recommended and could lead to subtle linting inconsistencies. Consider aligning the eslint-plugin to match:

Suggested change
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.56.1",
"@typescript-eslint/parser": "^8.58.0",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/package.json
Line: 38-39

Comment:
**Version mismatch between typescript-eslint packages**

`@typescript-eslint/parser` is being bumped to `8.58.0` while `@typescript-eslint/eslint-plugin` remains at its currently resolved version of `8.54.0` (specifier `^8.0.0`). The typescript-eslint packages are released together as a monorepo and are designed to be used at matching versions.

While the plugin's peer dependency (`@typescript-eslint/parser@^8.54.0`) technically satisfies `8.58.0` at runtime, keeping them 4 minor versions apart is not recommended and could lead to subtle linting inconsistencies. Consider aligning the eslint-plugin to match:

```suggestion
    "@typescript-eslint/eslint-plugin": "^8.58.0",
    "@typescript-eslint/parser": "^8.58.0",
```

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines 38 to +39
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.56.1",
"@typescript-eslint/parser": "^8.58.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 This PR bumps @typescript-eslint/parser to 8.58.0 but leaves @typescript-eslint/eslint-plugin pinned at ^8.0.0, which pnpm resolves to 8.54.0—a 4-minor-version skew. The typescript-eslint project requires all @typescript-eslint/* packages to stay in sync because the plugin's rules depend on internal AST/scope types that must match the parser's output. To fix, update the eslint-plugin specifier in docs/package.json to ^8.58.0 as well.

Extended reasoning...

What the bug is and how it manifests

This PR bumps @typescript-eslint/parser from 8.56.1 to 8.58.0 but does not update @typescript-eslint/eslint-plugin, whose specifier ^8.0.0 remains broad enough that pnpm continues to resolve it to 8.54.0. The result is a 4-minor-version gap between the two packages. The typescript-eslint project ships all its packages together and explicitly documents that they must be kept at the same version; internally they share scope-manager, types, visitor-keys, type-utils, and utils packages that must all agree on AST shape and scope representations.

The specific code path that triggers it

The lockfile snapshot shows the divergence clearly:

  • @typescript-eslint/eslint-plugin@8.54.0 depends on scope-manager@8.54.0, types@8.54.0, visitor-keys@8.54.0, type-utils@8.54.0
  • @typescript-eslint/parser@8.58.0 depends on scope-manager@8.58.0, types@8.58.0, visitor-keys@8.58.0, typescript-estree@8.58.0

Both sets of internal packages coexist in node_modules. When ESLint runs, the parser produces an AST using 8.58.0 internal types, but the plugin's rules analyse that AST using 8.54.0 internal types—a structural mismatch.

Why existing code does not prevent it

The @typescript-eslint/eslint-plugin peer-dependency constraint only requires the parser to satisfy a broad semver range; it does not enforce version equality. pnpm satisfies the peer dependency by pointing the plugin at the newer parser version (as shown in the lockfile snapshot key), but the plugin's own bundled helpers remain at 8.54.0. No tooling enforces that all @typescript-eslint/* packages resolve to identical versions.

What the impact would be

Version 8.58.0 adds TypeScript 6 support, introducing new AST node kinds and scope constructs that the 8.54.0 plugin rules were not written against. If any project file uses TypeScript 6 syntax, the plugin may misinterpret or crash on AST nodes it does not recognise. Even without TS6 syntax, divergent internal type definitions can cause false positives or false negatives in type-aware rules. The 8.58.0 release also fixes several plugin rule bugs; those fixes do not apply to the 8.54.0 plugin running against a 8.58.0 parser. Although this affects only the docs linting toolchain (not production code), broken linting silently degrades code quality enforcement on every PR touching docs.

Step-by-step proof

  1. Before this PR: parser = 8.56.1, plugin = 8.54.0, 2-minor-version gap.
  2. This PR bumps parser to 8.58.0; plugin specifier ^8.0.0 is unchanged, so pnpm resolves plugin to 8.54.0, widening the gap to 4 minor versions.
  3. Lockfile confirms: @typescript-eslint/typescript-estree@8.58.0 depends on ts-api-utils@2.5.0 while the plugin's typescript-estree@8.54.0 uses ts-api-utils@2.4.0. Both versions are installed simultaneously.
  4. Running the docs lint script (eslint src --ext .ts,.tsx) exercises the mismatched combination on every CI run.

How to fix

Change line 38 of docs/package.json from:

"@typescript-eslint/eslint-plugin": "^8.0.0"

to:

"@typescript-eslint/eslint-plugin": "^8.58.0"

Then run pnpm install in docs/ to update the lockfile so both packages resolve to 8.58.0.

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.

0 participants