@clack/core
1.6.0 · 9 Nov 2026MIT43.3M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgrade- 1.x1.6.0No known advisoryLatest line
- 0.x0.5.0No known advisoryTo 1.6.0
Latest releases
All 47 releases- 1.x · latest line
1.6.0
9 Nov 2026Add support for disabled
selectKeyoptions: they are rendered dimmed, cannot be selected by keypress, and are ignored when set as the initial value.Update sisteransi to 2.x (ESM only).
Account for escape sequences in prefixes during line wrapping. Very narrow outputs will now render correctly.
Minor Changes
Add support for disabled
selectKeyoptions: 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
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.Use the configured output stream's width when wrapping and clearing prompt frames, including prompts written to stderr while stdout is redirected.
1.5.1
13 Sep 2026Return type for prompts now correctly specifies
CANCEL_SYMBOLinstead ofsymbol
1.5.0
7 Sep 2026Add an
accessibleoption to the sharedPromptOptionsand a resolvedaccessiblegetter on the basePrompt, so any prompt can opt into accessible mode individually. Resolution order: per-prompt option >updateSettings({ accessible })> theACCESSIBLEenvironment variable.Export
CANCEL_SYMBOLconstant from@clack/coreand@clack/promptsAdd tab-completion to the
pathprompt: 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-incompleteOnTaboption onautocomplete, which also shows aTab: completehint in the instructions footer. Defaultautocompletebehavior is unchanged.
Minor Changes
Add an
accessibleoption to the sharedPromptOptionsand a resolvedaccessiblegetter on the basePrompt, so any prompt can opt into accessible mode individually. Resolution order: per-prompt option >updateSettings({ accessible })> theACCESSIBLEenvironment variable.Export
CANCEL_SYMBOLconstant from@clack/coreand@clack/promptsAdd tab-completion to the
pathprompt: 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-incompleteOnTaboption onautocomplete, which also shows aTab: completehint in the instructions footer. Defaultautocompletebehavior is unchanged.Add async validation support to prompts, and validation state rendering to text prompts.
Add
isAccessible()and anaccessiblesetting as the foundation for accessible mode. Resolution order: per-call option >updateSettings({ accessible })> theACCESSIBLEenvironment variable (any non-empty value enables it, except0andfalse).
Dependency tracking · free for 3 projects
Know when your own dependencies move
@clack/core shipped a new major in the last 12 months, among 13 releases. inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 12 Nov 2026. Releases and advisories last read 12 Nov 2026.