5 Commits

Author SHA1 Message Date
Pekka Enberg
17f12b104c bindings/javascript: pin better-sqlite3 to 12.9.0
better-sqlite3 12.11.0 dropped its Node 20 (node-v115) prebuilt binaries
while still advertising engines.node "20.x", so `yarn install` on the
Node 20 CI runners falls back to compiling from source. That source build
is fragile across platforms: on macOS arm64 the bundled node-gyp@13 loads
an undici that calls webidl.util.markAsUncloneable (Node 22+ only) and
crashes, and on Windows older node-gyp can't detect the Visual Studio
version on the runner.

Pin better-sqlite3 to 12.9.0, the last release that publishes node-v115
prebuilds for every target platform (darwin-arm64/x64, win32-x64/arm64,
linux-x64/arm64, musl). With a prebuilt binary there is no source compile,
so node-gyp, Visual Studio, and undici never enter the picture.
2026-07-06 10:38:59 +03:00
Pekka Enberg
e5462ffa1f Update better-sqlite3
Fixes https://github.com/tursodatabase/turso/security/dependabot/95
2026-04-17 09:54:40 +03:00
Nikita Sivukhin
8160f4dc04 restructure js bindings 2025-09-09 11:32:38 +04:00
Pekka Enberg
f2b2e4d4d8 Rename JavaScript package to @tursodatabase/database 2025-08-08 13:22:10 +03:00
Pekka Enberg
773e4eed90 bindings/javascript: Add micro-benchmarks 2025-08-01 12:09:05 +03:00