Packages

@inquirer/core

12.1.1 · 22 Nov 2026MIT101.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @inquirer/core From 10.3.2 to 12.0.6

23 releases in betweennotes for 8

Other targets from 10.3.2Latest12.1.1
11.0.0 has no release note on GitHub or in the repository's changelog, so its breaking changes are missing from the counts below.
  1. 10.3.2yours
  2. 11.0.0major
  3. 15 releases
  4. 12.0.0major
  5. 5 releases
  6. 12.0.6target
2+
changes to make
0
advisories fixed
5+
new
1+
fix

Counted from 8 of 23 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking12.0.6
  • Breaking12.0.0

Release by release

  1. 12.0.6

    Migration needed27 Oct 2026
    • Breaking

      Answers piped into a prompt are no longer silently dropped: the first-render deferral introduced for stale-keystroke discarding (#1303) is now gated on TTY input, so stdin data flowing in before the keypress handlers attach is consumed instead of discarded. Fixes intermittent hangs (30s timeouts) when answers are written to the child's stdin at spawn, as seen in Deno-based harnesses

  2. 12.0.5

    19 Oct 20261 new
    • New

      Cancelling or aborting a prompt before its deferred first render no longer invokes the prompt view after settlement — the pending setImmediate is now cancelled during cleanup, preventing keypress listener reinstalls and writes to an ended output stream (#2318, relates to #1816). Preserves the buffered-input behavior from #2007 and extends the settlement cleanup contract from #2255.

  3. 12.0.4

    4 Oct 20261 new
    • New

      The internal deferred-promise polyfill now uses withResolver from @inquirer/type instead of a core-local PromisePolyfill class (#2291).

  4. 12.0.3

    7 Sep 20261 fix
    • Fixed

      Fixed a race where keystrokes batched in the same tick as the key that settled a prompt could still reach useKeypress handlers after the prompt was done, cancelled, or aborted. Hook effects are now cleared in the synchronous settlement path (#2255, closes #1816).

  5. 12.0.2no release note

  6. 12.0.1

    26 Aug 20261 new
    • New

      Prettified prompt and theme types for better IDE display: makeTheme now returns a fully flattened theme type, and createPrompt expands the config's top-level keys in the IDE while staying assignable to Config (#2239).

  7. 12.0.0

    Migration needed19 Aug 20261 new
    • Breaking

      This is a type-level breaking change for consumers of the core hook API.

    • New

      useState setter accepts a reducer function (currentValue) => nextValue

  8. 11.1.1 – 11.2.112 releases, nothing new or fixed; 11 without a note

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