chore(deps-dev): bump @biomejs/biome to 2.5.10 with its config migration (replaces #115) - #127
Conversation
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
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
tps-sherlock
left a comment
There was a problem hiding this comment.
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.
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 migraterewrote biome.json (schema pin,recommended: true→preset: "recommended"), onefindIndex-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