Packages

validator

13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed

Upgrading validator From 5.2.0 to 5.7.0

5 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 5.2.0Clears its 3 advisories13.15.22Latest13.15.35
0
changes to make
0
advisories fixed
13
new
3
fixes

Security

Release by release

  1. 5.7.0

    11 Sep 20165 new
    • new

      Added support for IPv6 in isURL()

    • new

      Added support for urls without a host (e.g. file:///foo.txt) in isURL()

    • new

      Added support for regular expressions in the isURL() host whitelist and blacklist

    • new

      Added support for MasterCard 2-Series BIN

    • new

      New locales (#575, #552)

  2. 5.6.0

    1 Sep 20162 new · 1 fix
    • new

      Added an isMD5() validator

    • new

      New locales (#559, #568, #571, #573)

    • fixed

      Fixed an exceptional case in isDate()

  3. 5.5.0

    21 Jul 20162 new · 2 fixes
    • new

      Added an Algerian locale to isMobilePhone()

    • new

      Added a Polish locale to isMobilePhone()

    • fixed

      Fixed a regex denial of service in trim() and rtrim()

    • fixed

      Fixed the Hungarian locale in isAlpha() and isAlphanumeric()

  4. 5.4.0

    9 Jun 20162 new
    • new

      Added Danish locale to isMobilePhone()

    • new

      Added Hungarian locales to isAlpha(), isAlphanumeric() and isMobilePhone()

  5. 5.3.0

    28 May 20162 new
    • new

      Added an allow_leading_zeroes option to isInt()

    • new

      Added a Canadian locale to isMobilePhone()

2 other lines we could not sort, mostly version bumps
  • Accept Union Pay credit cards in isCreditCard()

    5.4.0
  • Adjust Chinese mobile phone validation

    5.3.0