validator breaking changes
validator 13.15.35 (April 2, 2026) is its newest release with breaking changes, 2 of them. The first: Behavior changed isJSON. Every breaking API change we have recorded in validator on npm: 8 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 13.15.35, released April 2, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
validator 13.15.35 breaking changes
- Behavior changed
isJSON
isJSON now returns true for any valid JSON value, not only objects and arrays. Code that relied on it rejecting values like numbers or strings must be updated. github.com - Behavior changed
isSlug
isSlug now rejects strings containing characters outside the valid slug character set, so inputs that previously passed may now fail validation. github.com
validator 13.15.26 breaking changes
- Behavior changed
isURL
isURL was changed to handle possible bypasses using URL-encoded content, so some inputs it previously accepted may now be rejected. Review URL validation that depends on encoded input. github.com
validator 13.0.0 breaking changes
- Signature changed
default.isIP
Was function isIP(str: string, version?: '4' | '6'): boolean; now function isIP(str: string, version?: IPVersion): boolean. npmjs.com - Signature changed
default.isISBN
Was function isISBN(str: string, version?: '10' | '13'): boolean; now function isISBN(str: string, version?: ISBNVersion): boolean. npmjs.com - Signature changed
default.isUUID
Was function isUUID(str: string, version?: 3 | 4 | 5 | '3' | '4' | '5' | 'all'): boolean; now function isUUID(str: string, version?: UUIDVersion): boolean. npmjs.com
validator 11.0.0 breaking changes
- Removed
toString
The internal toString() util is no longer exported, so code importing it from the package will no longer get it. github.com - Behavior changed
isEmail
isEmail() now checks display names against RFC2822, so some inputs it previously accepted may now be rejected. Check email inputs that include display names. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.