Debian Patches
Status for node-cliui/9.0.1-2
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| use-rollup-plugin-typescript.patch | build CommonJS with @rollup/plugin-typescript Upstream's rollup.config uses rollup-plugin-ts (not in Debian) and tsconfig extends gts/tsconfig-google.json (not in Debian). Switch to @rollup/plugin-typescript and inline the compiler options so the CommonJS entry (build/index.cjs) can be produced from lib/cjs.ts. |
Xavier Guimard <yadd@debian.org> | not-needed | 2026-06-20 | ||
| build-commonjs-entry.patch | provide a CommonJS entry point cliui 9 ships ESM-only. Re-add the lib/cjs.ts bootstrap (dropped from the npm tarball) that injects the CommonJS string-width/strip-ansi/wrap-ansi dependencies, and expose build/index.cjs through the package "require" condition so CommonJS consumers (e.g. yargs) keep working. |
Xavier Guimard <yadd@debian.org> | not-needed | 2026-06-20 | ||
| add-min-subpath.patch | provide a ./min subpath with a named cliui export jackspeak imports the bootstrapped cliui from cliui/min (the minified @isaacs/cliui subpath). Expose a ./min subpath that re-exports the dependency-injected cliui as a named symbol, in both ESM and CommonJS, and ship the corresponding files. No real minification is needed. |
Xavier Guimard <yadd@debian.org> | not-needed | 2026-06-20 |
All known versions for source package 'node-cliui'
- 9.0.1-2 (sid)
- 7.0.4+repack+1+~cs1.4.2-2 (forky, trixie)
- 7.0.4+repack+~cs3.1.0-4 (bookworm)
