fix: upgrade sqlite3 to v6.0.1#1559
Conversation
Move sqlite3 from v5 to v6 to reduce high-severity transitive risk in its node-gyp chain while keeping the existing pkg binary path behavior compatible with the current build pipeline.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
sqlite3 v6 prebuilt linux binaries can require newer glibc than the node:24 test container provides. Force source builds in tests workflow so native bindings are compiled against the runner libc.
Summary
sqlite3from^5.1.7to^6.0.1to reduce high-severity transitive risk in the sqlite3/node-gyp chain.package-lock.jsonfor the new sqlite3 dependency graph.pkgasset/prepare scripts (node_modules/sqlite3/build/Release/node_sqlite3.nodestill present).Test plan
npm run buildnpm run test:v2(1364 passing, 1 pending)npm run test:v1(known flaky simulator assertions observed on this branch and on baselinev2-rc2; no sqlite3-specific regression isolated)Note
Medium Risk
Upgrading a native dependency (
sqlite3) changes thenode-gyp/prebuild toolchain and Node engine requirements, which can break installs or CI across environments. No application logic changes, but build/runtime compatibility for the native addon is the main risk.Overview
Upgrades
sqlite3from^5.1.7to^6.0.1and regeneratespackage-lock.json, pulling in newer build/tooling dependencies (notably updatednode-gypand related fetch/cache packages).Updates the GitHub Actions
testsworkflow to setnpm_config_build_from_source=sqlite3, forcing source builds of the sqlite3 addon during CI installs.Written by Cursor Bugbot for commit 2862d67. This will update automatically on new commits. Configure here.