@inquirer/prompts
8.7.4 · 19 Oct 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed
118 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 8.x · latest line
8.7.4
19 Oct 2026checkbox()no longer accepts edits or submissions while an async validator is pending — the selection is captured at submit time, and repeated Enter presses don't run the validator more than once (@inquirer/checkbox, #2296).Prompt output no longer leaks when a prompt is cancelled or aborted before its first render — the deferred initial render is now cancelled during cleanup, so a settled prompt never writes to an ended output stream or reinstalls keypress listeners (
@inquirer/core, #2318, relates to #1816).number()now treats whitespace-only input as empty, so a space-padded submit resolves to the default/undefined answer instead of a validation error (@inquirer/number, #2307).
@inquirer/prompts@8.7.4
What's new
checkbox()no longer accepts edits or submissions while an async validator is pending — the selection is captured at submit time, and repeated Enter presses don't run the validator more than once (@inquirer/checkbox, #2296).Prompt output no longer leaks when a prompt is cancelled or aborted before its first render — the deferred initial render is now cancelled during cleanup, so a settled prompt never writes to an ended output stream or reinstalls keypress listeners (
@inquirer/core, #2318, relates to #1816).number()now treats whitespace-only input as empty, so a space-padded submit resolves to the default/undefined answer instead of a validation error (@inquirer/number, #2307).Packages with only test-file changes are no longer version-bumped at release time (internal tooling; #2319).
Included
@inquirer/checkbox@^5.2.7@inquirer/confirm@^6.3.4@inquirer/editor@^5.3.5@inquirer/expand@^5.1.7@inquirer/input@^5.1.8@inquirer/number@^4.2.5@inquirer/password@^5.2.4@inquirer/rawlist@^5.3.7@inquirer/search@^4.3.5@inquirer/select@^5.2.7
8.7.3
4 Oct 2026search()no longer submits a stale choice when Enter is pressed while an async search is still loading — the prompt waits for the fresh results, the query is preserved, and repeated Enter presses during validation no longer run the async validator more than once (@inquirer/search, #2291, closes #2290).confirm()now always accepts the single keystrokesy/neven with localized keywords, and unrecognized input no longer silently falls back on the default answer (@inquirer/confirm, #2281, closes #2279).expand()andrawlist()now ignore surrounding whitespace in answers (@inquirer/expand,@inquirer/rawlist, #2280).
@inquirer/prompts@8.7.3
What's new
search()no longer submits a stale choice when Enter is pressed while an async search is still loading — the prompt waits for the fresh results, the query is preserved, and repeated Enter presses during validation no longer run the async validator more than once (@inquirer/search, #2291, closes #2290).confirm()now always accepts the single keystrokesy/neven with localized keywords, and unrecognized input no longer silently falls back on the default answer (@inquirer/confirm, #2281, closes #2279).expand()andrawlist()now ignore surrounding whitespace in answers (@inquirer/expand,@inquirer/rawlist, #2280).All package READMEs now document the Deno install command (
deno add npm:@inquirer/prompts) alongside the npm/yarn/pnpm/bun ones (#2269).
Included
@inquirer/checkbox@^5.2.6@inquirer/confirm@^6.3.3@inquirer/editor@^5.3.4@inquirer/expand@^5.1.6@inquirer/input@^5.1.7@inquirer/number@^4.2.4@inquirer/password@^5.2.3@inquirer/rawlist@^5.3.6@inquirer/search@^4.3.4@inquirer/select@^5.2.6
8.7.2
7 Sep 2026Fixed a race where keystrokes batched in the same tick as the key that settled a prompt could still reach keypress handlers after the prompt was done, cancelled, or aborted (
@inquirer/core, #2255, closes #1816).confirm()now trims surrounding whitespace from answers before matching yes/no keywords (@inquirer/confirm, #2254).@inquirer/checkbox@^5.2.5
@inquirer/prompts@8.7.2
What's new
Fixed a race where keystrokes batched in the same tick as the key that settled a prompt could still reach keypress handlers after the prompt was done, cancelled, or aborted (
@inquirer/core, #2255, closes #1816).confirm()now trims surrounding whitespace from answers before matching yes/no keywords (@inquirer/confirm, #2254).
Included
@inquirer/checkbox@^5.2.5@inquirer/confirm@^6.3.2@inquirer/editor@^5.3.3@inquirer/expand@^5.1.5@inquirer/input@^5.1.6@inquirer/number@^4.2.3@inquirer/password@^5.2.2@inquirer/rawlist@^5.3.5@inquirer/search@^4.3.3@inquirer/select@^5.2.5
8.7.1
2 Sep 2026All bundled prompts now pin
@inquirer/typeto an exact version in their published manifests. Since these type definitions leak into consumers'tscruns, a semver range on the types-only dependency could break downstream TypeScript builds without any change to Inquirer.js itself (#2247, fixes #2244).@inquirer/checkbox@^5.2.4@inquirer/confirm@^6.3.1
@inquirer/prompts@8.7.1
What's new
All bundled prompts now pin
@inquirer/typeto an exact version in their published manifests. Since these type definitions leak into consumers'tscruns, a semver range on the types-only dependency could break downstream TypeScript builds without any change to Inquirer.js itself (#2247, fixes #2244).
Included
@inquirer/checkbox@^5.2.4@inquirer/confirm@^6.3.1@inquirer/editor@^5.3.2@inquirer/expand@^5.1.4@inquirer/input@^5.1.5@inquirer/number@^4.2.2@inquirer/password@^5.2.1@inquirer/rawlist@^5.3.4@inquirer/search@^4.3.2@inquirer/select@^5.2.4
8.7.0
26 Aug 2026passwordgains thetoggleMaskoption (ctrl+t to reveal the typed value).confirmnow matches localized yes/no answers per-locale.Prettified prompt and theme types for better IDE display.
@inquirer/prompts@8.7.0
What's new
passwordgains thetoggleMaskoption (ctrl+t to reveal the typed value).confirmnow matches localized yes/no answers per-locale.Prettified prompt and theme types for better IDE display.
Added
inquirer-grouped-checkboxto the community prompts list (#2236).
Included
@inquirer/checkbox@^5.2.3@inquirer/confirm@^6.3.0@inquirer/editor@^5.3.1@inquirer/expand@^5.1.3@inquirer/input@^5.1.4@inquirer/number@^4.2.1@inquirer/password@^5.2.0@inquirer/rawlist@^5.3.3@inquirer/search@^4.3.1@inquirer/select@^5.2.3
8.6.0
19 Aug 2026@inquirer/search— newinitialValue?: stringoption to pre-fill the search input@inquirer/number— avoid floating-point step errors; accept explicitundefinedas default (#2166, #2182)@inquirer/confirm— accept explicitundefinedas default
@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 theuseStatesetter accept a reducer/updater function. It also brings a newinitialValueoption to search, plus fixes fornumber,confirm, andeditor.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
@inquirer/checkbox@5.2.2@inquirer/confirm@6.2.0@inquirer/editor@5.3.0@inquirer/expand@5.1.2@inquirer/input@5.1.3@inquirer/number@4.2.0@inquirer/password@5.1.2@inquirer/rawlist@5.3.2@inquirer/search@4.3.0@inquirer/select@5.2.2
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.8.5.2
31 May 2026Reading the note…
8.5.1
29 May 2026Reading the note…
8.5.0
25 May 2026Reading the note…
8.4.3
10 May 2026Reading the note…
8.4.2
19 Apr 2026Reading the note…
8.4.1
7 Apr 2026Reading the note…
8.4.0
6 Apr 2026Reading the note…
8.3.2
15 Mar 2026Reading the note…
8.3.1
15 Mar 2026Reading the note…
8.3.0
22 Feb 2026Reading the note…
8.2.1
14 Feb 2026Reading the note…
8.2.0
11 Jan 2026Reading the note…
8.1.0
13 Dec 2025Reading the note…
8.0.2
2 Dec 2025Reading the note…
8.0.1
17 Nov 2025Reading the note…
8.0.0
16 Nov 2025Reading the note…
- 7.x
7.10.1
12 Nov 2025Reading the note…
7.10.0
8 Nov 2025Reading the note…
7.9.0
13 Oct 2025Reading the note…
7.8.6
14 Sep 2025Reading the note…
7.8.5
14 Sep 2025Reading the note…
7.8.4
24 Aug 2025Reading the note…
7.8.3
17 Aug 2025Reading the note…
7.8.2
13 Aug 2025Reading the note…
7.8.1
8 Aug 2025Reading the note…
7.8.0
28 Jul 2025Reading the note…
7.7.1
21 Jul 2025Reading the note…
7.7.0
20 Jul 2025Reading the note…
7.6.0
1 Jul 2025Reading the note…
7.5.3
25 May 2025Reading the note…
7.5.2
23 May 2025Reading the note…
7.5.1
10 May 2025Reading the note…
7.5.0
24 Apr 2025Reading the note…
7.4.1
3 Apr 2025Reading the note…
7.4.0
15 Mar 2025Reading the note…
7.3.3
8 Mar 2025Reading the note…
7.3.2
15 Feb 2025Reading the note…
7.3.1
2 Feb 2025Reading the note…
7.3.0
2 Feb 2025Reading the note…
7.2.4
28 Jan 2025Reading the note…
7.2.3
13 Jan 2025Reading the note…
7.2.2
11 Jan 2025Reading the note…
7.2.1
20 Dec 2024Reading the note…
7.2.0
7 Dec 2024Reading the note…