Packages

@inquirer/input

5.2.1 · 22 Nov 2026MIT59.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @inquirer/input From 3.0.1 to 5.2.1

50 releases in betweennotes for 6

5.0.0, 4.0.0 have no release note on GitHub or in the repository's changelog, so their breaking changes are missing from the counts below.
  1. 3.0.1yours
  2. 4.0.0major
  3. 23 releases
  4. 5.0.0major
  5. 24 releases
  6. 5.2.1target
?
changes to make
0
advisories fixed
2+
new
7+
fixes

Counted from 6 of 50 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 5.2.1

    22 Nov 20267 fixes
    • Fixed

      @inquirer/core: count terminal rows after wrapping

    • Fixed

      @inquirer/core: reject pending prompts on terminal EOF

    • Fixed

      @inquirer/input: drop keys typed while validation is pending

    • Fixed

      @inquirer/input: keep pattern validation repeatable

    • Fixed

      @inquirer/testing: emit each typed keypress once and deliver special keys to readline

    • Fixed

      Keep the readline line in sync with displayed prompt values

    • Fixed

      Restore Node.js 20 support until the next major (#2449) (6e24763), closes #2370 #2164 #2370 #2431

  2. 4.2.1 – 5.2.032 releases, nothing new or fixed; 29 without a note

  3. 4.2.0

    1 Jul 20251 new
    • New

      New prefill option to control if the default value is editable inline or only after pressing tab.

  4. 4.1.1 – 4.1.1212 releases, no release note

  5. 4.1.0

    7 Dec 20241 new
    • New

      New theme option validationFailureMode: 'keep' | 'clear' to control the behaviour when validation fails.

  6. 4.0.0 – 4.0.23 releases, no release note

2 other lines we could not sort, mostly version bumps
  • Feat @inquirer/input: Now support simple RegExp validation with pattern/patternError.

    4.3.0
  • Bump dependencies

    4.3.0

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