Debian Patches

Status for node-lib0/0.2.117-2

Patch Description Author Forwarded Bugs Origin Last update
ts5-compat.patch Fix TypeScript 5.0 compatibility - Replace Uint8Array<T> with Uint8Array (generic Uint8Array added in TS 5.7)
- Replace NoInfer<T> with T (NoInfer added in TS 5.4)
- Add @ts-nocheck to files with complex types incompatible with TS 5.0
- Add return type annotation to List.toArray()
Yadd <yadd@debian.org> not-needed 2026-03-10
ts6-compat.patch fix build with TypeScript 6 TypeScript 6 rejects the deprecated "baseUrl" option (TS5101), which the
"paths" mapping has not needed since TypeScript 4.1, and no longer picks up
node_modules/@types automatically, hence the explicit "types": ["node"].
.
Its bundled libraries also make Uint8Array generic over its buffer type, so
the values handed to the WebCrypto API, typed BufferSource, now need an
explicit cast.
Xavier Guimard <yadd@debian.org> not-needed 2026-08-16
tsc-workaround.patch fix for tsc >= 4.8 Yadd <yadd@debian.org> no 2022-10-18
drop-performance-tests.patch drop all performance tests Slow machines aren't able to run them, and they are flaky anyway Yadd <yadd@debian.org> not-needed 2023-08-21

All known versions for source package 'node-lib0'

Links