@clack/prompts
1.9.0 · 9 Nov 2026MIT48.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @clack/prompts From 1.8.0 to 1.9.0
2 releases in betweenevery note read
Release by release
- New
cbeefcbThanks @dreyfus92! - Add accessible mode tospinner: when enabled via theaccessibleoption, the global setting, or theACCESSIBLEenv var, the spinner emits static, append-only, screen-reader friendly output, a plain start line, a "still working" heartbeat every 30 seconds, and a plain final line. Instead of animated in-place repaints. - 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. - New
Add support for disabled
selectKeyoptions: they are rendered dimmed, cannot be selected by keypress, and are ignored when set as the initial value. - Fixed
Update sisteransi to 2.x (ESM only).
- New
- Fixed
Return type for prompts now correctly specifies
CANCEL_SYMBOLinstead ofsymbol
- Fixed
2 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.