validator
13.15.35 · 2 Apr 2026MIT35M / weekRepositorynpmAtom feed
Upgrading validator From 11.1.0 to 12.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
The note of 12.0.0 lists no breaking change or deprecation, which is rare for a major.
- ?
- changes to make
- 0
- advisories fixed
- 7
- new
- 0
- fixes
Security
4 advisories still affect 12.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
- Inefficient Regular Expression Complexity in Validator.jsmoderate · GHSA-xx4c-jj58-r7x6
Upgrading to 13.15.22 clears them.
Release by release
- new
Added
isOctal()validator - new
Added
isSlug()validator - new
Added
isBIC()validator for bank identification codes - new
Allow uppercase chars in
isHash() - new
Allow additional prefixes in
isHexadecimal() - new
Allow additional separators in
isMACAddress() - new
- new
2 other lines we could not sort, mostly version bumps
- 12.0.0
Better defaults for
isLength() - 12.0.0
Bug fixes