Packages

validator

13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed

Your version

4.7.0

4 Feb 2016Where it was published

4.9.0 is the newest release of 4.x.

In short

2 new1 changed

Security

3 advisories affect 4.7.0; 13.15.22 fixes them

Release note

  • Print a deprecation warning if validator input is not a string
    (1f67e1e).
    Note that this will be an error in v5.

  • Added a German locale to isMobilePhone(), isAlpha() and isAlphanumeric()

  • Added a Finnish locale to isMobilePhone()