@clack/core
1.6.0 · 9 Nov 2026MIT48.6M / weekRepositoryHomepagenpmAtom feed
In short
2 new4 fixed1 internal
Release note
Minor Changes
Add support for disabled
selectKeyoptions: they are rendered dimmed, cannot be selected by keypress, and are ignored when set as the initial value.
Patch Changes
Update sisteransi to 2.x (ESM only).
Account for escape sequences in prefixes during line wrapping. Very narrow outputs will now render correctly.
Treat an ideographic space (U+3000) committed by IMEs (e.g. Japanese or Chinese input) as space when toggling options in multi-select prompts.
Fix that isCancelled returned after calling cancel and start methods in progress does not refresh.
Allow
multiselectto accept readonly option arrays, e.g. options declared withas const. TheValuetype parameter is now inferred as a literal union ('a' | 'b') from such arrays, andinitialValuesalso accepts readonly arrays.Use the configured output stream's width when wrapping and clearing prompt frames, including prompts written to stderr while stdout is redirected.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.