@clack/core
1.6.0 · 9 Nov 2026MIT48.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @clack/core From 1.5.1 to 1.6.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Add support for disabled
selectKeyoptions: they are rendered dimmed, cannot be selected by keypress, and are ignored when set as the initial value. - New
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. - Fixed
Update sisteransi to 2.x (ESM only).
- Fixed
Account for escape sequences in prefixes during line wrapping. Very narrow outputs will now render correctly.
- Fixed
Treat an ideographic space (U+3000) committed by IMEs (e.g. Japanese or Chinese input) as space when toggling options in multi-select prompts.
- Fixed
Fix that isCancelled returned after calling cancel and start methods in progress does not refresh.
- Fixed
Use the configured output stream's width when wrapping and clearing prompt frames, including prompts written to stderr while stdout is redirected.
- New
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.