[Pkg-javascript-devel] Bug#1098223: bookworm-pu: package node-redis/4.5.1+~1.1.2-1~deb12u1

Jérémy Lal kapouer at melix.org
Mon Feb 17 22:40:08 GMT 2025


Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: node-redis at packages.debian.org
Control: affects -1 + src:node-redis
User: release.debian.org at packages.debian.org
Usertags: pu


[ Reason ]
FTBFS https://bugs.debian.org/1078892

[ Impact ]
None

[ Tests ]
Rebuild

[ Risks ]
None

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
The type of x in clearTimeout(x), x = setTimeout(...)
has been changed in a previous security upload of nodejs.
This fixes that.

[ Other info ]
There are 21 others packages that FTBFS on bookworm because of that
nodejs type change.
The plan is to "bookworm-pu" all of them, making sure they build with
18.19.0+dfsg-6~deb12u2
and with
18.20.4+dfsg-1~deb12u1 (which makes 5 new packages in the archive FTBFS).
which will be the last one to be proposed.
-------------- next part --------------
diff -Nru node-redis-4.5.1+~1.1.2/debian/changelog node-redis-4.5.1+~1.1.2/debian/changelog
--- node-redis-4.5.1+~1.1.2/debian/changelog	2022-11-29 13:24:49.000000000 +0100
+++ node-redis-4.5.1+~1.1.2/debian/changelog	2025-02-17 23:35:48.000000000 +0100
@@ -1,3 +1,9 @@
+node-redis (4.5.1+~1.1.2-1~deb12u1) bookworm; urgency=medium
+
+  * patch: fix NodeJS.Timeout type. Closes: #1078892.
+
+ -- J?r?my Lal <kapouer at melix.org>  Mon, 17 Feb 2025 23:35:48 +0100
+
 node-redis (4.5.1+~1.1.2-1) unstable; urgency=medium
 
   * New upstream version 4.5.1+~1.1.2
diff -Nru node-redis-4.5.1+~1.1.2/debian/patches/tsc-workaround.patch node-redis-4.5.1+~1.1.2/debian/patches/tsc-workaround.patch
--- node-redis-4.5.1+~1.1.2/debian/patches/tsc-workaround.patch	2022-11-22 13:35:44.000000000 +0100
+++ node-redis-4.5.1+~1.1.2/debian/patches/tsc-workaround.patch	2025-02-17 23:33:45.000000000 +0100
@@ -5,6 +5,15 @@
 
 --- a/packages/client/lib/client/index.ts
 +++ b/packages/client/lib/client/index.ts
+@@ -352,7 +352,7 @@
+             (...args: Array<unknown>): void => (this as any).sendCommand(name, ...args);
+     }
+ 
+-    #pingTimer?: NodeJS.Timer;
++    #pingTimer?: NodeJS.Timeout;
+ 
+     #setPingTimer(): void {
+         if (!this.#options?.pingInterval || !this.#socket.isReady) return;
 @@ -386,6 +386,7 @@
          const { args: redisArgs, options } = transformCommandArguments(command, args);
          return transformCommandReply(


More information about the Pkg-javascript-devel mailing list