Skip to content

fix(deps): update dependency inquirer to v14 - #890

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/inquirer-14.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/inquirer-14.x

Conversation

@renovate

@renovate renovate Bot commented May 25, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
inquirer (source) ^13.4.1 → ^14.0.0 age confidence

Release Notes

SBoudrias/Inquirer.js (inquirer)

v14.3.1

Compare Source

inquirer@​14.3.1

What's 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
Fixes in the bundled prompts
  • 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
  • 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)
  • password: pending keystrokes during validation no longer leak into the retry
  • confirm: keyword hints show complete characters/emoji instead of broken halves; built-in y/n answers always work, even when custom keywords start with n/y
  • checkbox: a number key on a disabled choice shows the disabled error instead of nothing; toggling with all/invert/number shortcuts clears a stale validation error
  • rawlist: rejected input stays editable instead of being wiped; the input is only matched by exact key or a plain digit index (2x no longer selects choice 2); arrow-key picks keep the line editable; an explicit null default preselects the null choice
  • expand: rejected input stays editable; expanding the help list no longer leaves a stale h on the line
  • search: the query survives arrow navigation; the prompt stops its loading spinner when the source fails; the query is preserved while a selection is being validated
  • editor: user edits are kept when a validator throws (per validationFailureMode); Ctrl+D during validation no longer crashes with an unhandled error
  • select: only plain digit lines jump to a numbered choice (2e1 no longer jumps to item 21)
  • The editor's validation error message is now localizable via @inquirer/i18n@1.5.0

v14.3.0

Compare Source

inquirer@​14.3.0

Breaking changes
  • Node.js 20 is no longer supported; the minimum is now Node 22 (^22.22.2 || ^24.15.0 || >=26.0.0)
What's new
  • filter now supports asynchronous filters and the legacy this.async() callback — a promise-returning filter is awaited before the answer is stored (#​2386)
  • 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 (#​2389)
  • 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)

v14.2.5

Compare Source

inquirer@​14.2.5

What's 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 (#​2359)

v14.2.4

Compare Source

inquirer@​14.2.4

What's 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).
Dependencies
  • @inquirer/prompts bumped to ^8.7.4
  • @inquirer/core bumped to ^12.0.5

v14.2.3

Compare Source

inquirer@​14.2.3

What's 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).
  • All package READMEs now document the Deno install command (#​2269).
Dependencies
  • @inquirer/prompts bumped to ^8.7.3
  • @inquirer/core bumped to ^12.0.4

v14.2.2

Compare Source

inquirer@​14.2.2

The umbrella package, bundling @inquirer/prompts and @inquirer/core.

What's new
  • 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).
Included
  • @inquirer/core@^12.0.3
  • @inquirer/prompts@^8.7.2

v14.2.1

Compare Source

inquirer@​14.2.1

The umbrella package, bundling @inquirer/prompts and @inquirer/core.

What's 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).
Included
  • @inquirer/core@^12.0.2
  • @inquirer/prompts@^8.7.1
  • @inquirer/type@4.1.1 (pinned exactly)
  • @inquirer/ansi@^2.0.8

v14.2.0

Compare Source

inquirer@​14.2.0

The umbrella package, bundling @inquirer/prompts and @inquirer/core.

What's new
  • 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.
Included
  • @inquirer/core@^12.0.1
  • @inquirer/prompts@^8.7.0
  • @inquirer/type@^4.1.0
  • @inquirer/ansi@^2.0.7

v14.1.0

Compare Source

inquirer@​14.1.0

The umbrella package, bundling @inquirer/prompts and @inquirer/core.

What's new
  • 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.
⚠️ Note on @inquirer/core@12

inquirer@14.1.0 depends on @inquirer/core@^12.0.0, which changed the useState setter to accept a reducer function (currentValue) => nextValue. This is a type-level change for consumers of the core hook API (relevant if you build custom prompts with @inquirer/core). The built-in prompts are unaffected.

Included
  • @inquirer/core@^12.0.0
  • @inquirer/prompts@^8.6.0
  • @inquirer/type@^4.0.7
  • @inquirer/ansi@^2.0.7

v14.0.2

Compare Source

  • Fix security warnings in external-editor

v14.0.1

Compare Source

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

v14.0.0

Compare Source

  • 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.
  • Feat: 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.
  • Fix: Line wraps would sometime cause the cursor to be mispositioned relative to the input.
  • Chore: Dropped the rxjs dependency in favor of a lightweight internal Observable implementation. The package is much smaller for most users now.
  • Chore: Bump dependencies.

v13.4.3

Compare Source

  • Fix: Windows rendering bug
  • Fix: Preserve exact literal types in choices array (Typescript only)
  • Fix: Allow input default value to be of type undefined (Typescript only)
  • Bump dependencies

v13.4.2

Compare Source

  • Fix: some Windows terminals would freeze and not react to keypresses.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/inquirer-14.x branch 2 times, most recently from c7ea5df to 462eaec Compare May 31, 2026 18:28
@renovate
renovate Bot force-pushed the renovate/inquirer-14.x branch from 462eaec to 533f6cf Compare July 12, 2026 18:35
@renovate
renovate Bot force-pushed the renovate/inquirer-14.x branch 2 times, most recently from eed851f to d4b89db Compare August 26, 2026 23:59
@renovate
renovate Bot force-pushed the renovate/inquirer-14.x branch 2 times, most recently from 143425e to cca2440 Compare September 8, 2026 00:32
@renovate
renovate Bot force-pushed the renovate/inquirer-14.x branch from cca2440 to 6266d56 Compare October 4, 2026 20:22
@renovate
renovate Bot force-pushed the renovate/inquirer-14.x branch 2 times, most recently from 011f7e2 to 56979ae Compare October 27, 2026 02:46
@renovate
renovate Bot force-pushed the renovate/inquirer-14.x branch from 56979ae to 8c54458 Compare November 10, 2026 23:40
@renovate
renovate Bot force-pushed the renovate/inquirer-14.x branch from 8c54458 to 120f67f Compare November 22, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants