chore(deps): bump better-sqlite3 from 12.9.0 to 13.0.3 (#1415)

* chore(deps): bump better-sqlite3 from 12.9.0 to 13.0.3

Bumps [better-sqlite3](https://github.com/WiseLibs/better-sqlite3) from 12.9.0 to 13.0.3.
- [Release notes](https://github.com/WiseLibs/better-sqlite3/releases)
- [Commits](https://github.com/WiseLibs/better-sqlite3/compare/v12.9.0...v13.0.3)

---
updated-dependencies:
- dependency-name: better-sqlite3
  dependency-version: 13.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix(deps): use better-sqlite3 prebuilt binaries

* docs(deps): note SQLite worker stability fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 4gray <serega05@gmail.com>
This commit is contained in:
dependabot[bot]and4gray authored and GitHub committed 2026-08-11 12:05:40 +02:00
1 parent 5c9411869a
commit 1e038657d6
5 files changed
+32 -153

No files matched your search

+9 -12
View File
@@ -305,17 +305,14 @@ Window decorations on Linux (shadows, corners):
Toolchain notes for the Electron 41 upgrade:
1. `better-sqlite3` remains pinned to exactly `12.9.0` so native dependency
updates happen deliberately with database-worker, packaging, and Electron
E2E validation. The former Node 20 prebuild constraint no longer applies
now that the supported development floor is Node 22.13; revisit this pin
in a dedicated native-dependency update.
2. The pnpm override `node-abi@3.85.0 -> 3.92.0` is required so
`better-sqlite3`'s `prebuild-install` can map Electron 41 to ABI 145 when
`electron-builder install-app-deps` rebuilds native modules. The 3.85
registry stops at Electron 40, while 3.92 includes Electron 41;
`@electron/rebuild` itself now resolves `node-abi` 4.x.
3. Local development supports **Node 22.13–22.x or Node >= 24**, declared in
1. `better-sqlite3` remains pinned exactly so native dependency updates happen
deliberately with database-worker, packaging, and Electron E2E validation.
Version 13 uses Node-API and ships its supported platform binaries in the
package. It must not be listed in pnpm's `onlyBuiltDependencies`: forcing an
implicit `node-gyp rebuild` bypasses those binaries and makes installation
depend on the host compiler toolchain. The old `node-abi` override belonged
to v12's removed `prebuild-install` path and is no longer required.
2. Local development supports **Node 22.13–22.x or Node >= 24**, declared in
`engines` as `^22.13.0 || >=24.0.0`.
The direct `@faker-js/faker` dependency and current lint tooling require
that floor. `electron-builder` 26.15.7 also pulls `@electron/rebuild` 4,
@@ -324,7 +321,7 @@ Toolchain notes for the Electron 41 upgrade:
carries the v26 backport that fully extracts the Snap template's `.tar.7z`
payload; 26.15.0–26.15.6 can
produce a Snap that is missing `desktop-init.sh`. CI already runs Node 22.
4. Dependabot keeps Electron, native database, packaging, EPG parser, and
3. Dependabot keeps Electron, native database, packaging, EPG parser, and
version-locked Shaka/mpegts updates out of the shared npm minor/patch group.
Those dependencies require standalone PRs so their dedicated package,
worker, playback, and diagnostic-contract validation cannot be hidden by an