Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

build(deps): ignore audio-decode >= 3 and @types/node >= 23 in dependabot

Yudhi Armyndharis2c28fcbf6b77
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 06f8bfbc4..2bf025fc0 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -39,6 +39,20 @@ updates:
# bookworm (or the base image moves past glibc 2.38).
- dependency-name: "better-sqlite3"
versions: [">=13.0.0"]
+ # audio-decode v3 collides with Baileys: every 7.0.0-rc line so far (through rc14) declares
+ # `peerOptional audio-decode@"^2.1.3"`, so the bump fails `npm ci` with ERESOLVE before any
+ # CI job runs. The pairing is load-bearing, not incidental — Baileys uses audio-decode to
+ # draw voice-note amplitude bars, and src/engine/adapters/baileys-voice-waveform.spec.ts
+ # fails CI when the installed version drifts outside the peer range. v3 is additionally
+ # ESM-only. Lift when Baileys widens its peer range past v2.
+ - dependency-name: "audio-decode"
+ versions: [">=3.0.0"]
+ # @types/node stays on the Node the production image actually runs. The `^22` pin was set
+ # deliberately alongside the digest-pinned node:22-slim base; v26 types describe APIs that
+ # do not exist on Node 22 and would type-check code that fails at runtime. Lift together
+ # with the base-image Node bump.
+ - dependency-name: "@types/node"
+ versions: [">=23.0.0"]
- package-ecosystem: npm
directory: /dashboard
@@ -70,6 +84,10 @@ 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"]
+ # Same reasoning as the root tree: the dashboard is served from the node:22-slim image's
+ # build stage, and types past 22 describe a runtime it does not run.
+ - dependency-name: "@types/node"
+ versions: [">=23.0.0"]
# All workflow action refs are pinned to commit SHAs (with a `# vX.Y.Z` comment). Dependabot
# understands that form: it proposes the new SHA and rewrites the version comment, so the pins