Packages

validator

13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed

Your version

5.1.0

29 Feb 2016Where it was published

5.7.0 is the newest release of 5.x.

In short

5 new

Security

3 advisories affect 5.1.0; 13.15.22 fixes them

Release note

  • Added a unescape() HTML function

  • Added a Malaysian locale to isMobilePhone()

  • Added Polish locales to isAlpha() and isAlphanumeric()

  • Added Turkish locales to isAlpha(), isAlphanumeric() and isMobilePhone()

  • Allow >1 underscore in hostnames when using allow_underscores