Packages

validator

13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed

Your version

10.0.0

major3 May 2018Where it was published

10.11.0 is the newest release of 10.x.

In short

4 new1 fixed3 changed

Security

3 advisories affect 10.0.0; 13.15.22 fixes them

Release note

  • Allow floating points in isNumeric()

  • Disallow GMail addresses with multiple consecutive dots, or leading/trailing dots

  • Added an isRFC3339() validator

  • Reject domain parts longer than 63 octets in isFQDN(), isURL() and isEmail()

  • Added a new Amex prefix to isCreditCard()

  • Fixed isFloat() min/max/gt/lt filters when a locale with a comma decimal is used

  • Normalize Yandex emails

  • New locales