Debian Patches

Status for node-tar/7.5.16+~4.0.1-2

Patch Description Author Forwarded Bugs Origin Last update
avoid-esbuild-min-bundles.patch build without esbuild-minified bundles Upstream's "." export points to dist/{esm,commonjs}/index.min.js, produced by
an esbuild --bundle step that inlines all dependencies. In Debian we build with
tshy only and resolve dependencies from system modules, so point "." at the
plain (non-minified, non-bundled) dist/{esm,commonjs}/index.js files like every
other subpath export already does.
Xavier Guimard <yadd@debian.org> not-needed
fix-types-for-debian-toolchain.patch fix type errors with Debian's TypeScript / @types/node Upstream builds against a newer TypeScript and @types/node than Debian ships.
Two spots fail to type-check with the Debian toolchain:
- make-command.ts: the callback `cb` is not narrowed to non-undefined inside
the arrow closure of the ternary branch where it is already known truthy;
- unpack.ts: an @isaacs/fs-minipass WriteStream (a Minipass subclass) is not
narrowed into the Minipass.Writable union with the older @types/node.
Both are type-only issues; the emitted JavaScript is unchanged.
Xavier Guimard <yadd@debian.org> not-needed
tests-tolerate-gnu-tar-pax-warnings.patch tests: tolerate GNU tar pax extended-header warnings The "gzipped tarball that makes some drain/resume stuff" test pipes a
node-tar archive to the system tar and fails on any stderr output. GNU tar
emits "Ignoring unknown extended header keyword 'SCHILY.*'" warnings for the
pax keywords node-tar writes (e.g. for hardlinks); these are harmless and
version-dependent. Filter them out so the test still checks that the system
tar reads the archive successfully (exit code 0) without failing on cosmetic
warnings.
Xavier Guimard <yadd@debian.org> not-needed

All known versions for source package 'node-tar'

Links