@clack/prompts
1.9.0 · 9 Nov 2026MIT48.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @clack/prompts From 1.1.0 to 1.2.0
1 release in betweenevery note read
Release by release
- New
Externalize
fast-string-widthandfast-wrap-ansito avoid double dependencies - New
Adds
dateprompt withformatsupport (YMD, MDY, DMY) - New
Adds
placeholderoption toautocomplete. When the placeholder is set and the input is empty, pressingtabwill set the value toplaceholder. - Fixed
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. - Fixed
Apply guide to wrapped multi-line messages in confirm prompt.
- Fixed
Respect
withGuide: falsein autocomplete and multiselect prompts. - Fixed
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.
- New
1 internal line (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.