Packages

inquirer

14.2.5 · 27 Oct 2026MIT59.6M / weekRepositoryHomepagenpmAtom feed

Your version

245 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 14.x · latest line
  2. 14.2.5

    27 Oct 2026
    • Dependencies updated: @inquirer/password@5.2.5 fixes the cursor overlapping the message when the password prompt is empty (#2360), and @inquirer/core@12.0.6 fixes piped-stdin answers being dropped before the first render

  3. 14.2.4

    19 Oct 2026
    • Rolled up this release's fixes: checkbox() ignoring input while validation is pending (#2296), prompt cleanup cancelling a pending initial render on cancel/abort (#2318), and number() treating whitespace-only input as empty (#2307).

  4. 14.2.3

    4 Oct 2026
    • Rolled up the prompt fixes from this release: search() stale-choice submission (#2291), confirm() always accepting y/n (#2281), expand()/rawlist() whitespace handling (#2280).

    • All package READMEs now document the Deno install command (#2269).

  5. 14.2.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/core@^12.0.3

  6. 14.2.1

    2 Sep 2026
    • Published manifests now pin @inquirer/type to an exact version. 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/core@^12.0.2

    • @inquirer/prompts@^8.7.1

  7. 14.2.0

    26 Aug 2026
    • Updated to @inquirer/prompts@^8.7.0 and @inquirer/core@^12.0.1.

    • Includes the new toggleMask option for password (ctrl+t to reveal), localized yes/no parsing for confirm, and prettified prompt/theme types for better IDE display.

    • @inquirer/core@^12.0.1

  8. 14.1.0

    19 Aug 2026
    • Updated to @inquirer/prompts@^8.6.0 and @inquirer/core@^12.0.0.

    • Includes the new initialValue option for search, floating-point step fixes for number, and explicit-undefined default handling in number/confirm/editor.

    • @inquirer/core@^12.0.0

  9. 14.0.2

    31 May 2026
    • Fix security warnings in external-editor

  10. 14.0.1

    29 May 2026
    • Rolled back mute-stream dependency from v4 to v3 to undo breaking compatible engines.

    • Added tooling to prevent regression of the above in the future. This surfaced our min engines already enforced a higher limit, so adjusted the explicit limits to match the current state.

  11. 14.0.0

    25 May 2026
    • Fix (breaking): Inquirer will now throw when encountering non-registered prompt. Prior to this fix, Inquirer would default to type: 'input' in such cases - this behaviour was misleading and made it harder to detect broken code when not using Typescript.

    • Read env variable INQUIRER_KEYBINDINGS to enable vim or emacs keybindings; making this a user preference instead of a library author preference. One caveat is doing so disable the search feature in the select prompt. Syntax: INQUIRER_KEYBINDINGS=vim,emacs.

    • Line wraps would sometime cause the cursor to be mispositioned relative to the input.

  12. 13.x
  13. 13.4.3

    10 May 2026
    • Windows rendering bug

    • Preserve exact literal types in choices array (Typescript only)

    • Allow input default value to be of type undefined (Typescript only)

  14. 13.4.2

    19 Apr 2026
    • Some Windows terminals would freeze and not react to keypresses.

  15. 13.4.1

    7 Apr 2026
    • Improve expand prompt type inferrence.

  16. 13.4.0

    6 Apr 2026
    • Added a loading message while validating editor prompt input.

    • Type improvement: Better type inference with checkbox, search and expand prompts.

    • editor prompt not always properly handling editor path on windows.

  17. 13.3.2

    15 Mar 2026
    • Fix broken 1.3.1 release process.

  18. 13.3.1

    15 Mar 2026
    • Bump dependencies

  19. 13.3.0

    22 Feb 2026
    • Keypresses happening before a prompt is rendered are now ignored.

    • Fix (checkbox): Element who're both checked and disabled are now always included in the returned array.

    • Feat (select/checkbox): Cursor will now hover disabled options of the list; but they still cannot be interacted with. This prevents the cursor jumping ahead in ways that can be confusing.

  20. 13.2.5

    16 Feb 2026
    • @inquirer/input: Handle numeric default values

    • @inquirer/testing: Add E2E testing support for CLI applications

    • @inquirer/testing: auto-mock @inquirer/prompts barrel re-exports

  21. 13.2.4

    14 Feb 2026
    • @inquirer/input: Handle numeric default values

    • @inquirer/testing: Add E2E testing support for CLI applications

    • @inquirer/testing: auto-mock @inquirer/prompts barrel re-exports

  22. 13.2.3

    14 Feb 2026

    Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.

  23. 13.2.2

    28 Jan 2026
    • Typescript disallow type: 'list' unless there's a plugin installed under that name. (list was replaced by select and marked as deprecated for a few released, v13.0.0 removed the alias.)

  24. 13.2.1

    20 Jan 2026
    • Regression: Previous answers weren't provided to the validate functions as the second arguments.

  25. 13.2.0

    11 Jan 2026
    • search: Add support for default.

    • rawlist: Add support for description of choices. That information is displayed under the list when the choice is highlighted.

    • Bump dependencies

  26. 13.1.0

    13 Dec 2025
    • rawlist now supports default option.

    • select now infer return type properly when passing a choices array of string literals.

  27. 13.0.2

    2 Dec 2025
    • Fix Typescript not discovering types when moduleResolution is set to commonjs (you probably want to fix that in your project if it's still in your tsconfig)

  28. 13.0.1

    17 Nov 2025
  29. 13.0.0

    16 Nov 2025
  30. 12.x
  31. 12.11.1

    12 Nov 2025
    • Downgraded to mute-stream@2 to maintain Node 18 compatibility.

    • Allow passing a Partial<{ ... }> type as pre-filled answers.

  32. 12.11.0

    8 Nov 2025
    • Feat @inquirer/input: Now support simple RegExp validation with pattern/patternError.

    • Bump dependencies

  33. 12.10.0

    13 Oct 2025
    • New design for the keys help tip. Themable/localizable with theme.style.keysHelpTip.

    • Re-introduce option to match up/down actions with vim or emacs keybindings. Enable with theme.keybindings

  34. 12.9.6

    14 Sep 2025
    • Reduce number of transitive dependencies

  35. 12.9.5

    14 Sep 2025
    • Fix #1834: (rawlist) Allows specifying numbers as explicit keys of option within the list.

  36. 12.9.4

    24 Aug 2025
    • Remove "easter-egg" vim/emacs bindings conflicting with the type-to-search feature.

  37. 12.9.3

    17 Aug 2025
    • Fix Unix yes not properly being processed by the confirm prompt. (yes | node confirm-script.js)

  38. 12.9.2

    13 Aug 2025
  39. 12.9.1

    8 Aug 2025
    • Replace external-editor dependency with new @inquirer/external-editor. This remove the vulnerable tmp transitive dependency from the dependency tree.

  40. 12.9.0

    28 Jul 2025
    • Search prompt: New instructions config to allow localizing the help tips.

  41. 12.8.2

    21 Jul 2025
    • Fix #1786 select prompt with indexMode: number theme option didn't properly calculate the items indexes if separators where present in between choices.

  42. 12.8.1

    21 Jul 2025
    • Fixes: a transitive dependency (run-aysnc) loaded devDependencies unexpectedly. This is now fixed upstream. Rel #1791

  43. 12.8.0

    20 Jul 2025
    • Select prompt: When pressing a number key, we'll ignore separators in counting the index of the item to jump to.

    • Checkbox prompt: When pressing a number key, we'll ignore separators in counting the index of the item to select.

  44. 12.7.0

    1 Jul 2025

    -input prompt: New prefill option to control if the default value is editable inline or only after pressing tab.

  45. 12.6.3

    25 May 2025
    • Fix #1743: pagination logic of the select, checkbox and search prompts was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning.

  46. 12.6.2

    23 May 2025

    Only updates dependencies, nothing else changes.

  47. 12.6.1

    10 May 2025
    • Fix #1741: Issue with SIGINT in some scenarios leaving promises unsettled on exit.

    • Remove monorepo related dependencies from all artifacts published to npm. This removes non-standard version specifiers like workspace:* from the public npm packages.

  48. 12.6.0

    24 Apr 2025
    • @inquirer/select: Added an instructions option allowing to customize the messages in the help tips.

    • @inquirer/rawlist: Arrow keys will now cycle through the option, just like the @inquirer/select prompt. Also added a loop option to control the list loop behaviour when reaching the boundaries.

  49. 12.5.2

    3 Apr 2025
    • README: Add new sponsor

  50. 12.5.1

    3 Apr 2025
  51. 12.5.0

    15 Mar 2025
    • Feat (select): Introduce theme.indexMode to control displaying an index prefix in front of each choice. (defaults to hidden)

    • Fix (select): Improve search when number keys are pressed

  52. 12.4.3

    8 Mar 2025
  53. 12.4.2

    15 Feb 2025