@clack/prompts
1.9.0 · 9 Nov 2026MIT48.7M / weekRepositoryHomepagenpmAtom feed
1.9.0 is the newest release of 1.x.
In short
3 new4 fixed1 internal
Release note
Minor Changes
Externalize
fast-string-widthandfast-wrap-ansito avoid double dependenciesAdds
dateprompt withformatsupport (YMD, MDY, DMY)
Patch Changes
Fix the
pathprompt sodirectory: truecorrectly enforces directory-only selection while still allowing directory navigation, and add regression tests for both directory and default file selection behavior.Adds
placeholderoption toautocomplete. When the placeholder is set and the input is empty, pressingtabwill set the value toplaceholder.Apply guide to wrapped multi-line messages in confirm prompt.
Respect
withGuide: falsein autocomplete and multiselect prompts.Fix
pathdirectory mode so pressing Enter with an existing directoryinitialValuesubmits that current directory instead of the first child option, and add regression coverage for immediate submit and child-directory navigation.
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.