NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1653 most downloaded on npm
String validation and sanitization
Last release 5 months ago
02 Apr 2026
Release timing varies
gaps range from 2 weeks to 1.3 years
Nearly every release is documented
notes for 58 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
16 years old
218 releases · first in 2011
Added an allow_leading_zeroes option to isInt()
One column per quarter.
Added a unescape() HTML function
unescape() HTML function
(#509)isMobilePhone()
(#507)isAlpha() and isAlphanumeric()
(#506)isAlpha(), isAlphanumeric() and isMobilePhone()
(#512)allow_underscores
(#510)Break the library up so that individual functions can be imported
Added a Russian locale to isAlpha() and isAlphanumeric()
Added Spanish, French, Portuguese and Dutch support for isAlpha() and isAlphanumeric()
Use node-depd to print deprecation notices
Print a deprecation warning if validator input is not a string (1f67e1e). Note that this will be an error in v5.
Fix coercion of objects: Object.toString() is [object Object] not ""
Object.toString() is [object Object] not ""
(a57f3c8)Added a Spanish locale to isMobilePhone()
Fix a timezone issue with short-form ISO 8601 dates, e.g. validator.isDate('2011-12-21')
validator.isDate('2011-12-21')
(#480)Make isLength() / isByteLength() accept {min, max} as options object.
isLength() / isByteLength() accept {min, max} as options object.
(#474)Add validation for Indian mobile phone numbers
Added isWhitelisted() validator
Support Ember CLI module definitions
Fix isDate() handling of RFC2822 timezones
isDate() handling of RFC2822 timezones
(#447)Fix isDate() handling of ISO8601 timezones
- General isDate() improvements (#431) - Tests now require node 4.0+
Added a Taiwan locale to isMobilePhone()
Fixed a denial of service vulnerability in the isEmail() regex
isEmail() regex
(#152)Reverted the leap year validation in isDate() as it introduced some regressions (#422, #423)
Added leap year validation to isDate()
isDate()
(#418)Fixed isDecimal() with an empty string
isDecimal() with an empty string
(#419)Fixed isByteLength() with certain strings
Simplified the isEmail() regex and fixed some edge cases
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →