Packages

@clack/core

1.6.0 · 9 Nov 2026MIT48.6M / weekRepositoryHomepagenpmAtom feed

Your version

1.6.0

Latest9 Nov 2026Where it was published

In short

2 new4 fixed1 internal

Release note

Minor Changes

  • Add support for disabled selectKey options: 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 multiselect to accept readonly option arrays, e.g. options declared with as const. The Value type parameter is now inferred as a literal union ('a' | 'b') from such arrays, and initialValues also 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.