@inquirer/core
12.1.1 · 22 Nov 2026MIT101.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @inquirer/core From 12.0.6 to 12.1.1
2 releases in betweenevery note read
Release by release
- New
Node.js 20 support is restored (#2449); it will be dropped properly in the next major release
- Fixed
Ctrl+D on a TTY prompt now rejects it with an
ExitPromptError(like Ctrl+C) instead of leaving it pending forever - Fixed
State set by effects during a render flush is now painted — search prompts show their loading spinner and clear stale errors while a fetch is pending after a keystroke
- Fixed
Terminal rows are counted after wrapping using display-column widths — the cursor no longer lands on the wrong line for wide characters (CJK) in messages and answers
- Fixed
The readline line stays in sync with the displayed prompt value across prompts (rejected input, arrow-key picks, help expansion)
- New
- New
Theme keys explicitly set to
undefinedno longer override the defaults —deepMergeskipsundefinedvalues, so partial themes that list a key as undefined (e.g.{ prefix: undefined }) fall back to the default instead of crashing - New
Node.js 20 is no longer supported; the minimum is now Node 22 (
^22.22.2 || ^24.15.0 || >=26.0.0)
- New
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.