validator
13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed
Your version
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
- HighValidator is Vulnerable to Incomplete Filtering of One or More Instances of Special ElementsGHSA-vghf-hv5q-vc2g · 27 Nov 2025Fixed in 13.15.22
- Moderatevalidator.js has a URL validation bypass vulnerability in its isURL functionGHSA-9965-vmph-33xx · 30 Sep 2025Fixed in 13.15.20
- ModerateInefficient Regular Expression Complexity in Validator.jsGHSA-xx4c-jj58-r7x6 · 19 Nov 2021Fixed in 13.7.0
- ModerateInefficient Regular Expression Complexity in validator.jsGHSA-qgmg-gppg-76g5 · 3 Nov 2021Fixed in 13.7.0
Release note
Added an
isIMEI()validatorAdded an
isDate()validatorAdded an
isTaxID()validatorAdded 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 charsFixed 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)