@inquirer/prompts
8.7.4 · 19 Oct 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed
Latest releases
All 118 releases8.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
Dependency tracking · free for 3 projects
Know when your own dependencies move
@inquirer/prompts shipped a new major in the last 12 months, among 24 releases. Inlinr shows which of your projects are behind, and what the upgrade breaks.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Registry facts last checked 26 Oct 2026. Releases and advisories last read 27 Oct 2026.