Packages

@clack/core

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

Upgrading @clack/core From 1.4.3 to 1.6.0

3 releases in betweenevery note read

Reading releases, release notes and advisories…

0
changes to make
0
advisories fixed
7
new
6
fixes

Release by release

  1. 1.6.0

    9 Nov 20262 new · 5 fixes
    • New

      Add support for disabled selectKey options: they are rendered dimmed, cannot be selected by keypress, and are ignored when set as the initial value.

    • New

      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.

    • 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.

  2. 1.5.1

    13 Sep 20261 fix
    • Fixed

      Return type for prompts now correctly specifies CANCEL_SYMBOL instead of symbol

  3. 1.5.0

    7 Sep 20265 new
    • New

      Add an accessible option to the shared PromptOptions and a resolved accessible getter on the base Prompt, so any prompt can opt into accessible mode individually. Resolution order: per-prompt option > updateSettings({ accessible }) > the ACCESSIBLE environment variable.

    • New

      Export CANCEL_SYMBOL constant from @clack/core and @clack/prompts

    • New

      Add tab-completion to the path prompt: pressing Tab fills the input with the focused suggestion, so you can quickly descend into deep directories (type / and Tab again). Powered by a new opt-in completeOnTab option on autocomplete, which also shows a Tab: complete hint in the instructions footer. Default autocomplete behavior is unchanged.

    • New

      Add async validation support to prompts, and validation state rendering to text prompts.

    • New

      Add isAccessible() and an accessible setting as the foundation for accessible mode. Resolution order: per-call option > updateSettings({ accessible }) > the ACCESSIBLE environment variable (any non-empty value enables it, except 0 and false).

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.