Skip to content

Commit cdccc5a

Browse files
fix(deps): better-sqlite3 13.0.3 — Node 24.19+ teardown crash
Node 24.19.0 backported ObjectWrap cleanup hooks without the registry follow-up (nodejs/node#65446): any addon compiled against 24.19+ headers aborts at Statement::~Statement during teardown. better-sqlite3 11.10.0 ships no Node 24 prebuild, so CI compiled it from source against 24.21 headers and crashed; local 24.16.0 passed. 13.x is the N-API rewrite (WiseLibs/better-sqlite3#1498): the node::ObjectWrap destructor path is gone, prebuilds are bundled (no node-gyp on CI), and our API surface (Database/prepare/run/get/all/exec/pragma/transaction/close) is unchanged. Node >= 22 required — .nvmrc stays 24.
1 parent 6931713 commit cdccc5a

2 files changed

Lines changed: 12 additions & 254 deletions

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"dependencies": {
2424
"@hono/node-server": "^1.13.7",
25-
"better-sqlite3": "^11.7.0",
25+
"better-sqlite3": "^13.0.3",
2626
"dotenv": "^16.4.7",
2727
"hono": "^4.6.14"
2828
},

0 commit comments

Comments
 (0)