validator
13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed
Upgrading validator From 9.4.1 to 10.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
The note of 10.0.0 lists no breaking change or deprecation, which is rare for a major.
Security
3 advisories still affect 10.0.0
- validator.js has a URL validation bypass vulnerability in its isURL functionmoderate · GHSA-9965-vmph-33xx
- Inefficient Regular Expression Complexity in validator.jsmoderate · GHSA-qgmg-gppg-76g5
- Validator is Vulnerable to Incomplete Filtering of One or More Instances of Special Elementshigh · GHSA-vghf-hv5q-vc2g
Upgrading to 13.15.22 clears them.
Release by release
- new
Allow floating points in
isNumeric() - new
Added an
isRFC3339()validator - new
Added a new Amex prefix to
isCreditCard() - new
New locales
- fixed
Fixed
isFloat()min/max/gt/lt filters when a locale with a comma decimal is used
- new
3 other lines we could not sort, mostly version bumps
- 10.0.0
Disallow GMail addresses with multiple consecutive dots, or leading/trailing dots
- 10.0.0
Reject domain parts longer than 63 octets in
isFQDN(),isURL()andisEmail() - 10.0.0
Normalize Yandex emails