Packages

validator

13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed

Your version

12.0.0

major27 Oct 2019Where it was published

12.2.0 is the newest release of 12.x.

In short

7 new2 changed

Security

4 advisories affect 12.0.0; 13.15.22 fixes them

Release note

  • Added isOctal() validator

  • Added isSlug() validator

  • Added isBIC() validator for bank identification codes

  • Allow uppercase chars in isHash()

  • Allow additional prefixes in isHexadecimal()

  • Allow additional separators in isMACAddress()

  • Better defaults for isLength()

  • Bug fixes

  • New and improved locales
    (#1059,
    #1060,
    #1069,
    #1073,
    #1082,
    #1092,
    #1121,
    #1125,
    #1132,
    #1152,
    #1165,
    #1166,
    #1174)