Packages

validator

13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed

Your version

13.1.0

10 Jun 2020Where it was published

13.15.35 is the newest release of 13.x.

In short

10 new2 fixed

Security

4 advisories affect 13.1.0; 13.15.22 fixes them

Release note

  • Added an isIMEI() validator

  • Added an isDate() validator

  • Added an isTaxID() validator

  • Added DMS support to isLatLong()

  • Added support for URL-safe base64 validation

  • Added support for primitives in isJSON()

  • Added support for case-insensitive matching to contains()

  • Support additional cards in isCreditCard()

  • Support additional currencies in isCurrency()

  • Fixed isFQDN() handling of certain special chars

  • Fixed a bug in isSlug()

  • New and improved locales
    (#1112,
    #1167,
    #1198,
    #1199,
    #1273,
    #1279,
    #1281,
    #1293,
    #1294,
    #1311,
    #1312,
    #1313,
    #1314,
    #1315,
    #1317,
    #1322,
    #1324,
    #1330,
    #1337)