Skip to content

fix(deps): bump better-sqlite3 to ^12.4.5 for Node 25 support#341

Open
JasonOA888 wants to merge 1 commit intotobi:mainfrom
JasonOA888:fix/node25-better-sqlite3
Open

fix(deps): bump better-sqlite3 to ^12.4.5 for Node 25 support#341
JasonOA888 wants to merge 1 commit intotobi:mainfrom
JasonOA888:fix/node25-better-sqlite3

Conversation

@JasonOA888
Copy link

Problem

npm install -g @tobilu/qmd fails on Node 25 because qmd pins better-sqlite3@^11.0.0, which:

  1. Has no prebuilt binaries for Node 25
  2. Fails source compilation due to V8 API changes:
v8-object.h:957:37: error: expected expression
    I::ReadExternalPointerField<{internal::kFirstEmbedderDataTag,

Solution

Bump better-sqlite3 from ^11.0.0 to ^12.4.5.

better-sqlite3 v12.4.5 added Node 25 support (prebuilds + engines) in WiseLibs/better-sqlite3#1411.

Compatibility

  • qmd declares engines: { node: ">=22.0.0" } which includes Node 25
  • This change aligns the dependency graph with that engine declaration

Fixes #257

better-sqlite3@11.x has no prebuilt binaries for Node 25 and fails
source compilation due to V8 API changes in Node 25.

better-sqlite3@12.4.5 added Node 25 support (prebuilds + engines).

Fixes tobi#257
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.

npm install fails on Node 25: better-sqlite3 ^11 needs bump to ^12.4.5+

1 participant