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

[ Reason ]
Security update of nodejs broke compatibility with some
typescript types, resulting in several packages FTBFS.
This one is #1076378.

[ Impact ]
FTBFS

[ Tests ]
Builds fine in stable and autopkgtests pass.

[ 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 ]
A change in an already existing patch.
Only a type annotation was set to "ignore" the problematic type check.
diff -Nru node-xterm-3.8.1+~cs0.9.0/debian/changelog 
node-xterm-3.8.1+~cs0.9.0/debian/changelog
--- node-xterm-3.8.1+~cs0.9.0/debian/changelog  2021-01-19 19:29:29.000000000 
+0100
+++ node-xterm-3.8.1+~cs0.9.0/debian/changelog  2024-07-15 16:48:08.000000000 
+0200
@@ -1,3 +1,11 @@
+node-xterm (3.8.1+~cs0.9.0-1+deb12u1) bookworm; urgency=medium
+
+  * Upload to bookworm
+  * Team upload
+  * Fix Typescript declarations with new stable Node.js (Closes: #1076378)
+
+ -- Yadd <y...@debian.org>  Mon, 15 Jul 2024 18:48:08 +0400
+
 node-xterm (3.8.1+~cs0.9.0-1) unstable; urgency=medium
 
   * Team upload
diff -Nru 
node-xterm-3.8.1+~cs0.9.0/debian/patches/0005-Fix-for-new-nodejs-ts-declarations.patch
 
node-xterm-3.8.1+~cs0.9.0/debian/patches/0005-Fix-for-new-nodejs-ts-declarations.patch
--- 
node-xterm-3.8.1+~cs0.9.0/debian/patches/0005-Fix-for-new-nodejs-ts-declarations.patch
      1970-01-01 01:00:00.000000000 +0100
+++ 
node-xterm-3.8.1+~cs0.9.0/debian/patches/0005-Fix-for-new-nodejs-ts-declarations.patch
      2024-07-15 16:48:08.000000000 +0200
@@ -0,0 +1,16 @@
+Description: fix Typescript for Node.js 18.19.0+dfsg-6~deb12u2
+Author: Yadd <y...@debian.org>
+Bug-Debian: https://bugs.debian.org/1076378
+Forwarded: not-needed
+Last-Update: 2024-07-15
+
+--- a/src/SelectionManager.ts
++++ b/src/SelectionManager.ts
+@@ -456,6 +456,7 @@
+       this._terminal.element.ownerDocument.removeEventListener('mousemove', 
this._mouseMoveListener);
+       this._terminal.element.ownerDocument.removeEventListener('mouseup', 
this._mouseUpListener);
+     }
++// @ts-ignore
+     clearInterval(this._dragScrollIntervalTimer);
+     this._dragScrollIntervalTimer = null;
+   }
diff -Nru node-xterm-3.8.1+~cs0.9.0/debian/patches/series 
node-xterm-3.8.1+~cs0.9.0/debian/patches/series
--- node-xterm-3.8.1+~cs0.9.0/debian/patches/series     2021-01-19 
19:29:29.000000000 +0100
+++ node-xterm-3.8.1+~cs0.9.0/debian/patches/series     2024-07-15 
16:48:08.000000000 +0200
@@ -2,3 +2,4 @@
 0002-Fix-renamed-type-Canvas2DContextAttributes-CanvasRen.patch
 0003-Fix-renamed-type-MediaQueryListListener-EventListene.patch
 0004-ignore-some-types-missing-errors.patch
+0005-Fix-for-new-nodejs-ts-declarations.patch

Reply via email to