---
title: "validator 13.15.35 Breaking Changes on npm | Since.dev"
description: "What each validator release removed, renamed or changed: 8 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/validator
last_updated: 2026-12-04
---

# 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

Latest version `13.15.35`, released April 2, 2026. [Source repository](https://github.com/chriso/validator.js)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [11.0.0](#v-11-0-0) to [13.15.35](#v-13-15-35): 6 breaking changes in 3 versions.

## validator 13.15.35 breaking changes

validator 13.15.35, released April 2, 2026: 2 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](https://github.com/validatorjs/validator.js/releases/tag/13.15.35)
- **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](https://github.com/validatorjs/validator.js/releases/tag/13.15.35)

## validator 13.15.26 breaking changes

validator 13.15.26, released December 18, 2025: 1 breaking change.

- **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](https://github.com/validatorjs/validator.js/releases/tag/13.15.26)

## validator 13.0.0 breaking changes

validator 13.0.0, released March 20, 2020: 3 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](https://www.npmjs.com/package/validator/v/13.0.0)
- **Signature changed** `default.isISBN`  

Was function isISBN(str: string, version?: '10' | '13'): boolean; now function isISBN(str: string, version?: ISBNVersion): boolean. [npmjs.com](https://www.npmjs.com/package/validator/v/13.0.0)
- **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](https://www.npmjs.com/package/validator/v/13.0.0)

## validator 11.0.0 breaking changes

validator 11.0.0, released May 23, 2019: 2 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](https://github.com/chriso/validator.js/blob/11.0.0/CHANGELOG.md)
- **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](https://github.com/chriso/validator.js/blob/11.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
