Skip to content

build: bump @types/better-sqlite3 to 9.6.0 - #630

Merged
aversini merged 1 commit into
mainfrom
build/bump-types-better-sqlite3
Aug 3, 2026
Merged

aversini merged 1 commit into
mainfrom
build/bump-types-better-sqlite3

Conversation

@aversini

@aversini aversini commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

better-sqlite3 itself is already on latest (13.0.2) — no runtime bump was needed. The only drift was the types package, sitting at 7.6.13.

Why the major jump is a non-event

Despite the 7 → 9 version gap, index.d.ts is byte-identical between the two versions (same md5, d9be334a…). Zero API surface change.

The DefinitelyTyped majors here rotate the supported TypeScript window, not the library API. The dist-tags make it explicit:

types version TypeScript window
7.6.13 ts5.1 – ts5.6
9.6.0 ts5.7 – ts6.0

This repo builds with TypeScript 6.0.3, so it was pinned to a types package outside its declared support window. This bump corrects that.

About the lockfile diff

The ~155 lockfile lines are a de-duplication, not a new dependency. main already carried both @types/node 26.0.1 and 26.1.2. Re-resolution collapses the @inquirer/* peer keys onto the 26.1.2 that was already present and drops the now-orphaned 26.0.1 entry — removing a duplicate @types/node tree, which is a net win for type resolution.

Verification

Validated from a clean, from-scratch install in an isolated worktree (an incremental install in a warm working copy leaves a stale hoist layout and gives a misleading failure):

  • build — 14/14 projects
  • test — 12/12 projects
  • lint — 13/13 projects
  • End-to-end bundlecheck run against the real CLI: cache read hit, forced fresh analysis of nanoid@5.1.7, and confirmed the row persisted to ~/.bundlecheck/cache.db and was served from cache on re-run — full sqlite write → persist → read round trip.

Note

Kept as build: so release-please does not cut a release — this is a devDependency-only change with no effect on published output.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VhbokH2UsHWYnDBzSgk2nE

The runtime better-sqlite3 dependency is already on latest (13.0.2); only
the types package was behind, at 7.6.13.

Despite the 7 -> 9 major jump, index.d.ts is byte-identical between the two
versions (same md5). The DefinitelyTyped majors here rotate the supported
TypeScript window, not the API surface: 7.6.13 is tagged ts5.1-ts5.6, while
9.6.0 covers ts5.7 through ts6.0. Since this repo builds with TypeScript
6.0.3, it was pinned to a types package outside its supported window.

The lockfile churn is a de-duplication, not a new dependency: main already
carried both @types/node 26.0.1 and 26.1.2, and re-resolution collapses the
@inquirer/* peer keys onto the 26.1.2 that was already present, dropping the
now-orphaned 26.0.1 entry.

Verified from a clean install: build 14/14, test 12/12, lint 13/13, plus an
end-to-end bundlecheck run exercising the sqlite cache write, persist and
read-back path.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VhbokH2UsHWYnDBzSgk2nE
@aversini
aversini merged commit ba78b88 into main Aug 3, 2026
5 checks passed
@aversini
aversini deleted the build/bump-types-better-sqlite3 branch August 3, 2026 12:48
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.

1 participant