Debian Patches

Status for node-compare-versions/5.0.3-3

Patch Description Author Forwarded Bugs Origin Last update
fix-typescript.patch fix tsconfig for tests Yadd <yadd@debian.org> not-needed 2022-08-31
fix-type.patch fix type issues with typescript 4.9.5 Ananthu C V <weepingclown@disroot.org> not-needed 2023-11-16
ts6-compat.patch adapt the TypeScript configuration to TypeScript 6 fix-typescript.patch added "moduleResolution": "node" so that the non-relative
imports of the test suite resolve, but TypeScript 6 rejects node10 resolution
with TS5107. The configuration now declares "module": "commonjs", which implies
node10 without spelling it out; the library build overrides the module format
on the command line anyway and gets an explicit "bundler" resolution there.
.
TypeScript 6 also stopped scanning node_modules/@types, so mocha and node
globals are declared for ts-node, which is the only consumer of this
configuration that needs them.
.
TypeScript 5 accepts this unchanged.
Xavier Guimard <yadd@debian.org> not-needed 2026-08-15
ts6-rootdir.patch set an explicit rootDir for TypeScript 6 TypeScript 6 no longer infers the common source directory when an outDir is
given and fails with TS5011; "./src" reproduces the previously inferred layout.
Xavier Guimard <yadd@debian.org> not-needed 2026-08-16

All known versions for source package 'node-compare-versions'

Links