Packages

@inquirer/number

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

Upgrading @inquirer/number From 1.1.0 to 4.3.0

50 releases in betweennotes for 5

Other targets from 1.1.0Latest4.3.1
4.0.0, 3.0.0, 2.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. 1.1.0yours
  2. 2.0.0major
  3. 1 release
  4. 3.0.0major
  5. 23 releases
  6. 4.0.0major
  7. 22 releases
  8. 4.3.0target
?
changes to make
0
advisories fixed
3+
new
3+
fixes

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

Release by release

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

  2. 4.2.6no release note

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

  4. 4.2.1 – 4.2.44 releases, nothing new or fixed; 3 without a note

  5. 4.2.0

    19 Aug 20262 fixes
    • Fixed

      Avoid floating-point step errors by scaling value/step/min to exact decimal integers before the remainder check

    • Fixed

      Accept explicit undefined as the default value

  6. 3.0.13 – 4.1.127 releases, no release note

  7. 3.0.12

    3 Apr 20251 fix
    • Fixed

      Fix (typescript): If prompt is required, only number can be returned. (previously was nullable)

  8. 2.0.0 – 3.0.1114 releases, no release note

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.