@inquirer/number
4.3.1 · 22 Nov 2026MIT56.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @inquirer/number From 3.0.23 to 4.3.0
24 releases in betweennotes for 4
Release by release
- New
Optional number prompts left empty now call
validatewithundefined— 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
- New
4.2.6no release note
4.2.1 – 4.2.44 releases, nothing new or fixed; 3 without a note
- Fixed
Avoid floating-point step errors by scaling value/step/min to exact decimal integers before the remainder check
- Fixed
Accept explicit
undefinedas the default value
- Fixed
4.0.0 – 4.1.116 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.