Debian Patches

Status for node-minipass/7.1.3+~cs21.1.8-3

Patch Description Author Forwarded Bugs Origin Last update
tsconfig-add-node-types.patch Add @types/node to tsconfig types and lib esnext Upstream relies on tshy 3.x with the new tsgo compiler which infers
types automatically; Debian's tshy 1.18.0 needs explicit hints.
Also lift the lib to esnext so Symbol.asyncDispose/dispose are known.
Xavier Guimard <yadd@debian.org> not-needed 2026-04-25
tsconfig-minipass-sized.patch no
minizlib-buffer-types.patch Loosen Buffer.concat noop typing New @types/node uses Buffer<ArrayBufferLike> generics that the original
noop signature does not match. Use `any` to bypass the strict check —
this is a runtime swap of Buffer.concat with a passthrough, the types
are not interesting at the call site.
Xavier Guimard <yadd@debian.org> not-needed 2026-04-25
minipass-iterator-cast.patch Cast iterator/asyncIterator return as any The Symbol.iterator / Symbol.asyncIterator implementations return a
custom object that does not match the structural Generator type
introduced by ESNext (with map/filter/take/drop helpers). Cast to
any to bypass this — runtime behaviour is unchanged.
Xavier Guimard <yadd@debian.org> not-needed 2026-04-26
drop-tshy-tsgo-compiler.patch drop tshy "compiler: tsgo" setting and include dist/ in files Debian's tshy (1.18 in unstable, 3.3.2 in experimental) does not know
about the tsgo compiler that tshy 4 added. Remove the setting so the
default tsc is used and dist/esm is actually produced. Also fix the
outdated "files": ["index.js"] for minipass-flush and minipass-pipeline:
dh_auto_install relies on this list, so without dist/* listed the ESM
build is never copied into the deb.
Yadd <yadd@debian.org> not-needed 2026-05-02
fix-minipass-json-stream.patch fix minipass-json-stream for minipass 7 API minipass 7's CommonJS export is { isStream, isReadable, isWritable,
Minipass }, not the class directly. Use destructuring require so
"class JSONStream extends Minipass" still works.
Yadd <yadd@debian.org> not-needed 2026-05-02

All known versions for source package 'node-minipass'

Links