@clack/prompts
1.9.0 · 9 Nov 2026MIT48.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @clack/prompts From 0.9.0 to 0.11.0
4 releases in betweenevery note read
Release by release
- New
Reverted a change where placeholders were being set as values on return.
- New
- New
Adds a new
selectableGroupsboolean to the group multi-select prompt. UsingselectableGroups: falsewill disable the ability to select a top-level group, but still allow every child to be selected individually. - Fixed
Fixes multiselect only shows hints on the first item in the options list. Now correctly shows hints for all selected options with hint property.
- New
- New
Adds a new
indicatoroption tospinner, which supports the original"dots"loading animation or a new"timer"loading animation. - New
Adds
streamAPI which provides the same methods aslog, but for iterable (even async) message streams. This is particularly useful for AI responses which are dynamically generated by LLMs.
- New
- New
Adds
Errorsupport to thevalidatefunction - Fixed
Exports the
Optiontype and improves JSDocannotations - Fixed
Replace custom utility for stripping ANSI control sequences with Node's built-in
stripVTControlCharactersutility.
- New
3 internal lines (docs, tests, tooling) left out.
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.