Packages

inquirer

14.3.1 · 22 Nov 2026MIT57.9M / weekRepositoryHomepagenpmAtom feed

Upgrading inquirer From 12.11.1 to 14.3.0

28 releases in betweennotes for 27

Reading releases, release notes and advisories…

Other targets from 12.11.1Latest14.3.1
  1. 12.11.1yours
  2. 13.0.0security
  3. 16 releases
  4. 14.0.0major
  5. 9 releases
  6. 14.3.0target
6+
changes to make
0
advisories fixed
21+
new
19+
fixes

Counted from 27 of 28 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking14.3.0
  • Breaking13.0.0
  • Breaking13.0.0
  • Deprecated13.0.0
  • Deprecated13.0.0
  • Deprecated13.0.0

Security

  • This makes Inquirer smaller and reduces risks of vulnerabilities coming from transitive dependencies.

    13.0.0

Release by release

  1. 14.3.0

    Migration needed10 Nov 20263 new
    • Breaking

      Node.js 20 is no longer supported; the minimum is now Node 22 (^22.22.2 || ^24.15.0 || >=26.0.0)

    • New

      filter now supports asynchronous filters and the legacy this.async() callback — a promise-returning filter is awaited before the answer is stored

    • New

      validate supports the legacy this.async() callback and promise-returning validators; a string rejection (done('msg') or Promise.reject('msg')) is shown as the validation message

    • New

      Dependencies updated: theme keys set to undefined no longer crash prompts (#2390, @inquirer/core@12.1.0), localized prompts respect user theme overrides (#2371, @inquirer/i18n@1.4.0), and the select/rawlist index-input fixes (#2388/#2387)

  2. 14.2.5

    27 Oct 20261 new
    • New

      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 20261 new
    • New

      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 20262 new
    • New

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

    • New

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

  5. 14.2.2

    7 Sep 20261 new · 1 fix
    • New

      confirm() now trims surrounding whitespace from answers before matching yes/no keywords (@inquirer/confirm, #2254).

    • Fixed

      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).

  6. 14.2.1

    2 Sep 20261 new
    • New

      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).

  7. 14.2.0

    26 Aug 20262 new
    • New

      Updated to @inquirer/prompts@^8.7.0 and @inquirer/core@^12.0.1.

    • New

      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.

  8. 14.1.0

    19 Aug 20262 new
    • New

      Updated to @inquirer/prompts@^8.6.0 and @inquirer/core@^12.0.0.

    • New

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

20 other lines we could not sort, mostly version bumps
  • @inquirer/core@^12.0.3

    14.2.2
  • @inquirer/prompts@^8.7.2

    14.2.2
  • @inquirer/core@^12.0.2

    14.2.1
  • @inquirer/prompts@^8.7.1

    14.2.1
  • @inquirer/type@4.1.1 (pinned exactly)

    14.2.1
  • @inquirer/ansi@^2.0.8

    14.2.1
  • @inquirer/core@^12.0.1

    14.2.0
  • @inquirer/prompts@^8.7.0

    14.2.0
  • @inquirer/type@^4.1.0

    14.2.0
  • @inquirer/ansi@^2.0.7

    14.2.0

29 internal lines (docs, tests, tooling) left out.

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.