Packages

@inquirer/number

4.3.1 · 22 Nov 2026MIT56.2M / weekRepositoryHomepagenpmAtom feed

Upgrading @inquirer/number From 4.2.2 to 4.3.1

6 releases in betweennotes for 3

?
changes to make
0
advisories fixed
3+
new
4+
fixes

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

Release by release

  1. 4.3.1

    22 Nov 20264 fixes
    • Fixed

      Discard pending input on number and password validation failure

    • Fixed

      Keep the readline line in sync with displayed prompt values

    • Fixed

      Strict confirm keyword precedence and plain-decimal number parsing

    • Fixed

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

  2. 4.3.0

    10 Nov 20262 new
    • New

      Optional number prompts left empty now call validate with undefined — a custom validator can reject or accept an empty answer (this restores the pre-4.0.11 behavior; built-in range checks still run first)

    • New

      Node.js 20 is no longer supported; the minimum is now Node 22

  3. 4.2.6no release note

  4. 4.2.5

    19 Oct 20261 new
    • New

      Whitespace-only input is now treated as an empty answer, resolving to the default (or undefined) instead of failing numeric validation (#2307).

  5. 4.2.3 – 4.2.42 releases, no release note

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.