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…
- 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
- 13.0.0
This makes Inquirer smaller and reduces risks of vulnerabilities coming from transitive dependencies.
Release by release
- Breaking
Node.js 20 is no longer supported; the minimum is now Node 22 (
^22.22.2 || ^24.15.0 || >=26.0.0) - New
filternow supports asynchronous filters and the legacythis.async()callback — a promise-returning filter is awaited before the answer is stored - New
validatesupports the legacythis.async()callback and promise-returning validators; a string rejection (done('msg')orPromise.reject('msg')) is shown as the validation message - New
- Breaking
- 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).
- New
- New
Published manifests now pin
@inquirer/typeto an exact version. 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).
- New
- New
Updated to
@inquirer/prompts@^8.7.0and@inquirer/core@^12.0.1. - New
Includes the new
toggleMaskoption forpassword(ctrl+t to reveal), localized yes/no parsing forconfirm, and prettified prompt/theme types for better IDE display.
- New
- New
Updated to
@inquirer/prompts@^8.6.0and@inquirer/core@^12.0.0. - New
Includes the new
initialValueoption forsearch, floating-point step fixes fornumber, and explicit-undefineddefault handling innumber/confirm/editor.
- New
20 other lines we could not sort, mostly version bumps
- 14.2.2
@inquirer/core@^12.0.3 - 14.2.2
@inquirer/prompts@^8.7.2 - 14.2.1
@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.0
@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
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.