[Pkg-javascript-devel] Bug#1111724: nodejs: node-types-node version should be @types/node version, not nodejs's
Jérémy Lal
kapouer at melix.org
Thu Aug 21 14:15:34 BST 2025
Package: nodejs
Version: 20.19.4+dfsg-1
Severity: normal
@types/node, currently MUTed in nodejs,
took the bad habit of breaking typescript packages,
by doing breaking changes in the declared types.
Example of what I think would be better:
nodejs 20.19.4+dfsg-1
node-types-node 20.19.11-1
so that
node-proxy-agents
Build-Depends:
node-types-node >= 20.19.11~
instead of
node-types-node >= 20.19.4+dfsg~
It maybe possible that nodejs x.y.z+dfsg1-1 bundles @types/node version A,
and that nodejs x.y.z+dfsg2-1 bundles @types/node version B.
Some typescript sources need to be able to depend on the correct @types/node
version, and that is made harder by node-types-node being published with a version
that is the version of nodejs.
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.38+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages nodejs depends on:
ii libc6 2.41-12
ii libnode115 20.19.4+dfsg-1
ii node-corepack 0.24.0-5
Versions of packages nodejs recommends:
ii ca-certificates 20250419
ii nodejs-doc 20.19.2+dfsg-1
Versions of packages nodejs suggests:
ii npm 9.2.0~ds1-3
-- no debconf information
More information about the Pkg-javascript-devel
mailing list