Skip to content

chore(deps-dev): Bump @eslint/js from 9.39.4 to 10.0.1 - #263

Merged
oratis merged 3 commits into
mainfrom
dependabot/npm_and_yarn/eslint/js-10.0.1
Aug 25, 2026
Merged

chore(deps-dev): Bump @eslint/js from 9.39.4 to 10.0.1#263
oratis merged 3 commits into
mainfrom
dependabot/npm_and_yarn/eslint/js-10.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps @eslint/js from 9.39.4 to 10.0.1.

Release notes

Sourced from @​eslint/js's releases.

v10.0.1

Bug Fixes

  • c87d5bd fix: update eslint (#20531) (renovate[bot])
  • d841001 fix: update minimatch to 10.2.1 to address security vulnerabilities (#20519) (루밀LuMir)
  • 04c2147 fix: update error message for unused suppressions (#20496) (fnx)
  • 38b089c fix: update dependency @​eslint/config-array to ^0.23.1 (#20484) (renovate[bot])

Documentation

  • 5b3dbce docs: add AI acknowledgement section to templates (#20431) (루밀LuMir)
  • 6f23076 docs: toggle nav in no-JS mode (#20476) (Tanuj Kanti)
  • b69cfb3 docs: Update README (GitHub Actions Bot)

Chores

  • e5c281f chore: updates for v9.39.3 release (Jenkins)
  • 8c3832a chore: update @​typescript-eslint/parser to ^8.56.0 (#20514) (Milos Djermanovic)
  • 8330d23 test: add tests for config-api (#20493) (Milos Djermanovic)
  • 37d6e91 chore: remove eslint v10 prereleases from eslint-config-eslint deps (#20494) (Milos Djermanovic)
  • da7cd0e refactor: cleanup error message templates (#20479) (Francesco Trotta)
  • 84fb885 chore: package.json update for @​eslint/js release (Jenkins)
  • 1f66734 chore: add eslint to peerDependencies of @eslint/js (#20467) (Milos Djermanovic)

v10.0.0

Breaking Changes

  • f9e54f4 feat!: estimate rule-tester failure location (#20420) (ST-DDT)
  • a176319 feat!: replace chalk with styleText and add color to ResultsMeta (#20227) (루밀LuMir)
  • c7046e6 feat!: enable JSX reference tracking (#20152) (Pixel998)
  • fa31a60 feat!: add name to configs (#20015) (Kirk Waiblinger)
  • 3383e7e fix!: remove deprecated SourceCode methods (#20137) (Pixel998)
  • 501abd0 feat!: update dependency minimatch to v10 (#20246) (renovate[bot])
  • ca4d3b4 fix!: stricter rule tester assertions for valid test cases (#20125) (唯然)
  • 96512a6 fix!: Remove deprecated rule context methods (#20086) (Nicholas C. Zakas)
  • c69fdac feat!: remove eslintrc support (#20037) (Francesco Trotta)
  • 208b5cc feat!: Use ScopeManager#addGlobals() (#20132) (Milos Djermanovic)
  • a2ee188 fix!: add uniqueItems: true in no-invalid-regexp option (#20155) (Tanuj Kanti)
  • a89059d feat!: Program range span entire source text (#20133) (Pixel998)
  • 39a6424 fix!: assert 'text' is a string across all RuleFixer methods (#20082) (Pixel998)
  • f28fbf8 fix!: Deprecate "always" and "as-needed" options of the radix rule (#20223) (Milos Djermanovic)
  • aa3fb2b fix!: tighten func-names schema (#20119) (Pixel998)
  • f6c0ed0 feat!: report eslint-env comments as errors (#20128) (Francesco Trotta)
  • 4bf739f fix!: remove deprecated LintMessage#nodeType and TestCaseError#type (#20096) (Pixel998)
  • 523c076 feat!: drop support for jiti < 2.2.0 (#20016) (michael faith)
  • 454a292 feat!: update eslint:recommended configuration (#20210) (Pixel998)
  • 4f880ee feat!: remove v10_* and inactive unstable_* flags (#20225) (sethamus)
  • f18115c feat!: no-shadow-restricted-names report globalThis by default (#20027) (sethamus)
  • c6358c3 feat!: Require Node.js ^20.19.0 || ^22.13.0 || >=24 (#20160) (Milos Djermanovic)

Features

  • bff9091 feat: handle Array.fromAsync in array-callback-return (#20457) (Francesco Trotta)
  • 290c594 feat: add self to no-implied-eval rule (#20468) (sethamus)
  • 43677de feat: fix handling of function and class expression names in no-shadow (#20432) (Milos Djermanovic)

... (truncated)

Commits
  • 84fb885 chore: package.json update for @​eslint/js release
  • 1f66734 chore: add eslint to peerDependencies of @eslint/js (#20467)
  • f3fbc2f chore: set @eslint/js version to 10.0.0 to skip releasing it (#20466)
  • b4b3127 chore: package.json update for @​eslint/js release
  • 0b14059 chore: package.json update for @​eslint/js release
  • fa31a60 feat!: add name to configs (#20015)
  • 1e2cad5 chore: package.json update for @​eslint/js release
  • 454a292 feat!: update eslint:recommended configuration (#20210)
  • c6358c3 feat!: Require Node.js ^20.19.0 || ^22.13.0 || >=24 (#20160)
  • See full diff in compare view

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 [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.39.4 to 10.0.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/commits/v10.0.1/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 10.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 10, 2026
oratis and others added 2 commits August 25, 2026 23:06
The bump was red because eslint 10's recommended set adds
`preserve-caught-error` and `no-useless-assignment`, and nine existing
sites break them. Both findings are real, so they are fixed rather than
silenced.

preserve-caught-error (5) — settings loading (twice), the directory
trust store, the hook trust file, and the MCP `headersHelper` each
wrapped a caught error in a new Error carrying only `.message`. A
JSON parse failure or a spawn error therefore arrived with its stack,
`errno` and `path` gone: the message says "Failed to parse ~/.deepcode/
settings.json: Unexpected token" and nothing says which byte, or that
the real failure was EACCES. Each now passes `{ cause }`.

no-useless-assignment (4) — `patch`/`binary` in workspace-diff and
`stdout` in the Grep tool were initialised and then overwritten on every
path that reads them; the initialisers only suppressed TypeScript's
definite-assignment analysis. Dropping them lets tsc prove what the
initialiser was papering over, and it does. In `parseQName` the `pos++`
before `break` consumed the DNS root label for a variable nothing reads
after the loop.

Note eslint itself was already 10.8.0 in the lockfile — only `@eslint/js`
was pinned at 9, so the repo was running a v10 engine against a v9
recommended config. This closes that gap.

typecheck, lint, format, docs clean; 1671 tests pass, 19 skipped.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@oratis

oratis commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Reviewed, fixed, and verified locally against current main. Pushed 4db0888.

Why it was red

eslint 10's recommended set turns on two rules this codebase breaks in nine places. Both findings are real, so they are fixed rather than disabled.

preserve-caught-error (5 sites). Settings loading (readJson, readJsonRequired), the directory trust store, the hook trust file, and the MCP headersHelper each wrapped a caught error in a new Error carrying only its .message. The stack, errno and path were dropped on the floor — so a settings failure reports

Failed to parse ~/.deepcode/settings.json: Unexpected token } in JSON at position 412

and nothing survives to say the real failure was EACCES, or which file in a merge chain it came from. Each now passes { cause }. This is the rule earning its place rather than a formality.

no-useless-assignment (4 sites). patch/binary in workspace-diff.ts and stdout in the Grep tool were initialised and then overwritten on every path that reads them; the initialisers existed only to quiet TypeScript's definite-assignment analysis. Dropping them lets tsc actually prove what the initialiser was papering over — and it does, cleanly. In parseQName the pos++ before break consumed the DNS root label for a variable nothing reads after the loop.

Worth noting

eslint itself was already 10.8.0 in the lockfile — only @eslint/js was held at 9. The repo has been running a v10 engine against a v9 recommended config, so these nine findings have been latent rather than new. This PR is what closes the gap.

Verification

typecheck, lint, format, docs clean; 1671 tests pass, 19 skipped. Checked the touched modules directly too — parseQName's existing cases exercise the terminating-zero path that the pos++ removal touches, and workspace-diff still passes.

@oratis

oratis commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Verified the combined result after #262 merged: the lockfile merges coherently (pnpm install --frozen-lockfile accepts it against every manifest) and all three pins survive — @types/vscode 1.85.0 exact, @eslint/js 10.0.1, typescript-eslint 8.67.0. typecheck, lint, format, docs clean; 1672 tests pass, 19 skipped. Merging.

@oratis
oratis merged commit b8b4ba2 into main Aug 25, 2026
5 checks passed
@oratis
oratis deleted the dependabot/npm_and_yarn/eslint/js-10.0.1 branch August 25, 2026 15:13
oratis added a commit that referenced this pull request Aug 25, 2026
This branch was cut before #262 and #263 landed, so merging main produced
a pnpm-lock.yaml that git resolved cleanly and pnpm rejected:

  ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY  Broken lockfile: no entry for
  'eslint@10.8.0(jiti@1.21.7)' in pnpm-lock.yaml

which is why CI failed at "Install dependencies" before running a single
check. Regenerated with --no-frozen-lockfile and re-verified with
--frozen-lockfile, the flag CI actually uses.

eslint 10.9.0 adds no findings on top of the nine that #263 fixed:
typecheck, lint, format, docs clean; 1672 tests pass, 19 skipped.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
oratis added a commit that referenced this pull request Aug 25, 2026
#276)

* chore(deps-dev): Bump eslint from 10.8.0 to 10.9.0 in the eslint group

Bumps the eslint group with 1 update: [eslint](https://github.com/eslint/eslint).


Updates `eslint` from 10.8.0 to 10.9.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v10.8.0...v10.9.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.9.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: repair the lockfile after merging main

This branch was cut before #262 and #263 landed, so merging main produced
a pnpm-lock.yaml that git resolved cleanly and pnpm rejected:

  ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY  Broken lockfile: no entry for
  'eslint@10.8.0(jiti@1.21.7)' in pnpm-lock.yaml

which is why CI failed at "Install dependencies" before running a single
check. Regenerated with --no-frozen-lockfile and re-verified with
--frozen-lockfile, the flag CI actually uses.

eslint 10.9.0 adds no findings on top of the nine that #263 fixed:
typecheck, lint, format, docs clean; 1672 tests pass, 19 skipped.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: oratis <wangharp@gmail.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant