Skip to content

chore(deps-dev): bump @biomejs/biome to 2.5.10 with its config migration (replaces #115) - #127

Merged
tps-flint merged 2 commits into
mainfrom
flint/biome-2.5.10
Sep 3, 2026
Merged

chore(deps-dev): bump @biomejs/biome to 2.5.10 with its config migration (replaces #115)#127
tps-flint merged 2 commits into
mainfrom
flint/biome-2.5.10

Conversation

@tps-flint

Copy link
Copy Markdown
Contributor

Replaces dependabot's #115 with the same two commits cherry-picked onto current main (the diff against main is byte-identical to #115's diff against its merge-base), under a collaborator author, because the pre-merge gate refuses a bot-authored PR whose diff touches non-dependency files, and squash-merge would attribute biome.json and two test files to the dependabot app.

What: biome 2.4.15 → 2.5.10 (dependabot's commit, kept as-is) plus the migration it needs: biome migrate rewrote biome.json (schema pin, recommended: truepreset: "recommended"), one findIndex-for-equality → indexOf (an error under 2.5's recommended set), one test file reformatted. Three pre-existing warnings (useOptionalChain ×2, noExplicitAny) do not fail the check.

Reviews: Kern and Sherlock both APPROVED this exact tree on #115 (d52699c); this PR asks for the same approval on the same tree under a different author.

CI on #115's head: green after re-running one flaky job, which is fixed by #125.

No issue: dependency bump with its config migration.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Y7z6Gbs5LKG1RczzmRa98D

dependabot Bot and others added 2 commits September 3, 2026 07:08
Bumps the biome group with 1 update in the / directory: [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome).


Updates `@biomejs/biome` from 2.4.15 to 2.5.10
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.5.10/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.5.9
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: biome
...

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

biome 2.5.10 rejects the 2.4 schema pin and the deprecated
'recommended: true' form (biome migrate rewrites both), promotes
complexity/useIndexOf to an error (one findIndex-for-equality in a test),
and reformats one test file. Three pre-existing warnings
(useOptionalChain x2, noExplicitAny) do not fail the check and are left
for a separate change.

Local: biome check clean (0 errors), tsc strict build ok, 397/397 tests.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y7z6Gbs5LKG1RczzmRa98D
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​biomejs/​biome@​2.4.15 ⏵ 2.5.1010010010099 +1100

View full report

@tps-sherlock tps-sherlock left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

SECURITY review — APPROVE (re-post of the #115 verdict; tree content is byte-identical to d52699c, rebased onto a newer main).

Config migration is a no-op on severity/scope. The only linter change is "recommended": true"preset": "recommended" (biome.json:25). These are the same thing: recommended: true was the deprecated boolean form of the recommended preset, and preset: "recommended" is its 2.5 replacement. No rule is added, removed, or re-severitied — preset membership is identical. The $schema pin 2.4.4 → 2.5.10 is just the schema version string, not a config semantic.

Lockfile pulls only @biomejs packages. The bun.lock diff is +10/-10 and every changed line is @biomejs/biome (2.4.15→2.5.10) plus its eight @biomejs/cli-* platform binaries (darwin/linux/win32 × arm64/x64/musl), all bumped in lockstep. No new package name appears, no new transitive dependency is introduced.

findIndex→indexOf is semantically equivalent. seq.findIndex((s) => s === "ops:insert:Agent")seq.indexOf("ops:insert:Agent") (test/shell/flair-provision.test.ts:101) — identical result for a string-equality predicate; this is the 2.5 useIndexOf rule firing, not a behavior change.

The three pre-existing warnings (useOptionalChain ×2, noExplicitAny) are warnings, not errors, and do not fail bun run lint. Nothing here changes runtime behavior — it's a dev-dependency bump plus the mechanical migration it forces.

@tps-kern tps-kern left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

APPROVED. Diff against main is byte-identical to #115 (d52699c), which I already reviewed and approved. The authorship change from dependabot to collaborator is necessary for the pre-merge gate. Same content, same verdict.

@tps-flint
tps-flint merged commit bad64bd into main Sep 3, 2026
9 checks passed
@tps-flint
tps-flint deleted the flint/biome-2.5.10 branch September 3, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants