@inquirer/prompts
8.8.0 · 10 Nov 2026MIT66.3M / weekRepositoryHomepagenpmAtom feed
8.8.0 is the newest release of 8.x.
In short
1 breaking1 new3 fixed10 internal
- Breaking
Note: This release depends on @inquirer/core@^12.0.0, which contains a breaking change to the useState setter type (it now accepts a reducer function).
Release note
The section about @inquirer/prompts of a note shared by several packages.
@inquirer/prompts@8.6.0
The all-in-one prompts package, re-exporting every individual prompt at its latest version.
Highlights
This release rides on @inquirer/core@12.0.0, which makes the useState setter accept a reducer/updater function. It also brings a new initialValue option to search, plus fixes for number, confirm, and editor.
What's new
@inquirer/search— newinitialValue?: stringoption to pre-fill the search input
What's fixed
@inquirer/number— avoid floating-point step errors; accept explicitundefinedas default (#2166, #2182)@inquirer/confirm— accept explicitundefinedas default@inquirer/editor— accept explicitundefinedas default
Included prompts
Note: This release depends on
@inquirer/core@^12.0.0, which contains a breaking change to theuseStatesetter type (it now accepts a reducer function). See the@inquirer/core@12.0.0release notes for details.
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.