validator
13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed
Upgrading validator From 8.0.0 to 8.2.0
2 releases in betweenevery note read
Reading releases, release notes and advisories…
Security
3 advisories still affect 8.2.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
Added an
isLatLong()andisPostalCode()validator - new
Allow comma in email display names
- new
Add missing string to
unescape() - new
New locales
- fixed
Fix
require('validator/lib/isIS8601')calls - fixed
Fix
isMobilePhone()with Node <= 6.x
- new
1 other line we could not sort, mostly version bumps
- 8.2.0
Control decimal places in
isCurrency()