Packages

@inquirer/prompts

8.7.4 · 19 Oct 2026MIT28.9M / weekRepositoryHomepagenpmAtom feed

Latest releases

All 118 releases
  1. 8.7.4

    19 Oct 2026
    • 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).

  2. 8.7.3

    4 Oct 2026
    • 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 keystrokes y/n even with localized keywords, and unrecognized input no longer silently falls back on the default answer (@inquirer/confirm, #2281, closes #2279).

    • expand() and rawlist() now ignore surrounding whitespace in answers (@inquirer/expand, @inquirer/rawlist, #2280).

  3. 8.7.2

    7 Sep 2026
    • 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).

    • @inquirer/checkbox@^5.2.5

  4. 8.7.1

    2 Sep 2026
    • All bundled prompts now pin @inquirer/type to an exact version in their published manifests. Since these type definitions leak into consumers' tsc runs, 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

  5. 8.7.0

    26 Aug 2026
    • password gains the toggleMask option (ctrl+t to reveal the typed value).

    • confirm now matches localized yes/no answers per-locale.

    • Prettified prompt and theme types for better IDE display.

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.

How dependency tracking works

Registry facts last checked 26 Oct 2026. Releases and advisories last read 27 Oct 2026.