Packages

@inquirer/expand

5.2.1 · 22 Nov 2026MIT57.1M / weekRepositoryHomepagenpmAtom feed

Upgrading @inquirer/expand From 2.1.3 to 5.2.1

73 releases in betweennotes for 7

Other targets from 2.1.3Newest 2.x2.3.0
5.0.0, 4.0.0, 3.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. 2.1.3yours
  2. 21 releases
  3. 3.0.0major
  4. 1 release
  5. 4.0.0major
  6. 23 releases
  7. 5.0.0major
  8. 24 releases
  9. 5.2.1target
?
changes to make
0
advisories fixed
2+
new
4+
fixes

Counted from 7 of 73 release notes. Advisories are counted from the advisory database, in full.

Release by release

  1. 5.2.1

    22 Nov 20263 fixes
    • Fixed

      @inquirer/expand: keep rejected input editable

    • 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. 5.1.7 – 5.2.03 releases, no release note

  3. 5.1.6

    4 Oct 20261 new
    • New

      Surrounding whitespace in answers is now ignored, so values such as yes — accidentally typed or piped into the prompt — no longer fail to match (#2280).

  4. 3.0.0 – 5.1.547 releases, nothing new or fixed; 44 without a note

  5. 2.3.0

    6 Sep 20241 new
    • New

      Add support for Separator in the choices array.

  6. 2.2.0

    2 Sep 20241 fix
    • Fixed

      Rendering of selected values once prompt is done.

  7. 2.1.4 – 2.1.2219 releases, no release note

4 other lines we could not sort, mostly version bumps
  • Improve expand prompt type inferrence.

    5.0.12
  • value is now generic and will be inferred from the values passed in.

    2.2.0
  • Enforce the use of valid key in the choice array.

    2.2.0
  • Includes @inquirer/core@9.1.0 adding support for { signal: AbortSignal } in the context options to programatically cancel a prompt.

    2.2.0

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.