Debian Patches
Status for node-crc/4.3.2-3
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| fix-typescript.patch | fix typescript (nodenext requires nightly build) | Yadd <yadd@debian.org> | no | 2022-04-10 | ||
| ts6-compat.patch | adapt the TypeScript configuration to TypeScript 6 TypeScript 6 rejects "moduleResolution": "node" (node10) with TS5107 and, when no resolution is configured, now defaults to "bundler" instead of node10: . * the explicit node10 resolution is dropped; the ESM build gets "bundler", which is the only non-deprecated mode compatible with "module": "es6" and is already understood by TypeScript 5, where an unset resolution would otherwise fall back to the classic algorithm. * under bundler resolution "buffer" reaches the node-buffer browser shim and drags its JavaScript sources into the program, where checkJs type-checks them and reports TS7006 all over third-party code. Nothing in src/ is JavaScript, so checkJs has no purpose here and is turned off. * type packages are only loaded when listed in "types": @types/node for the library, plus mocha and chai for the test configuration. . tsconfig-tests.json also needs an explicit rootDir, which TypeScript 6 no longer infers silently (TS5011); ./src is the directory it used to pick. . All of this keeps working with TypeScript 5. |
Xavier Guimard <yadd@debian.org> | not-needed | 2026-08-15 | ||
| ts6-rootdir.patch | set an explicit rootDir TypeScript 6 no longer infers the common source directory (TS5011); ./src is the directory it used to pick. |
Xavier Guimard <yadd@debian.org> | not-needed | 2026-08-16 |
