Packages

inquirer

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

Upgrading inquirer From 12.11.1 to 14.3.1

29 releases in betweennotes for 28

Reading releases, release notes and advisories…

  1. 12.11.1yours
  2. 13.0.0security
  3. 16 releases
  4. 14.0.0major
  5. 9 releases
  6. 14.3.0breaking
  7. 14.3.1target
6+
changes to make
0
advisories fixed
22+
new
30+
fixes

Counted from 28 of 29 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.1

    22 Nov 20261 new · 11 fixes
    • New

      Node.js 20 support is restored — the engines range accidentally dropped it in 14.3.0 (#2449, see #2431); it will be dropped properly in the next major release

    • Fixed

      input: keys typed while a validation is pending no longer leak into the answer; pattern validation is repeatable (a g-flagged regex no longer fails the second submission); keys typed during a pending validation are discarded

    • Fixed

      number: input left empty on an optional prompt now calls validate with undefined; pending keystrokes no longer leak into the retry; only plain decimal input is accepted (0x10/0b11/0o7 are rejected)

    • Fixed

      password: pending keystrokes during validation no longer leak into the retry

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

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

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

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

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

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

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

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.