@clack/core
1.6.0 · 9 Nov 2026MIT48.6M / weekRepositoryHomepagenpmAtom feed
Upgrading @clack/core From 1.4.3 to 1.5.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 5
- new
- 0
- fixes
Release by release
- New
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. - New
Export
CANCEL_SYMBOLconstant from@clack/coreand@clack/prompts - New
Add 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. - New
Add async validation support to prompts, and validation state rendering to text prompts.
- New
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).
- New
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.