Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

chore(deps): ignore better-sqlite3 v13 until TypeORM and the arm64 prebuild admit it

Yudhi Armyndharisfa2275c655df
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index c85d34bed..3fc57acd9 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -29,6 +29,16 @@ updates:
# a separate matter from this ignore; pin with ~ rather than ^ when a 6.0.x bump lands.
- dependency-name: "typescript"
versions: [">=7.0.0"]
+ # better-sqlite3 v13 cannot be adopted yet, on three independent grounds (all as of 13.0.1):
+ # every released TypeORM (0.3.31 and 1.1.0) caps its peer at ^12, so the bump fails npm's peer
+ # resolution outright; the bundled linux-arm64 prebuild is built against glibc 2.38, which does
+ # not load on the node:22-slim (Debian bookworm, glibc 2.36) production image — the same failure
+ # class that broke the 0.10.3 image with sqlite3@6; and its implicit `node-gyp rebuild` install
+ # step needs python3/make even when the prebuild exists, which the toolchain-less production
+ # stage does not have. Lift when TypeORM's peer range admits v13 AND the arm64 prebuild loads on
+ # bookworm (or the base image moves past glibc 2.38).
+ - dependency-name: "better-sqlite3"
+ versions: [">=13.0.0"]
- package-ecosystem: npm
directory: /dashboard