Socket
Socket
Sign inDemoInstall

validator

Package Overview
Dependencies
0
Maintainers
2
Versions
211
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345
22Next

13.1.0

Diff

Changelog

Source

13.1.0

  • Added an isIMEI() validator (#1346)
  • Added an isDate() validator (#1270)
  • Added an isTaxID() validator (#1336)
  • Added DMS support to isLatLong() (#1340)
  • Added support for URL-safe base64 validation (#1277)
  • Added support for primitives in isJSON() (#1328)
  • Added support for case-insensitive matching to contains() (#1334)
  • Support additional cards in isCreditCard() (#1177)
  • Support additional currencies in isCurrency() (#1306)
  • Fixed isFQDN() handling of certain special chars (#1091)
  • Fixed a bug in isSlug() (#1338)
  • New and improved locales (#1112, #1167, #1198, #1199, #1273, #1279, #1281, #1293, #1294, #1311, #1312, #1313, #1314, #1315, #1317, #1322, #1324, #1330, #1337)
cohara87
published 13.0.0 •

Changelog

Source

13.0.0

cohara87
published 12.2.0 •

Changelog

Source

12.2.0

cohara87
published 12.1.0 •

Changelog

Source

12.1.0

cohara87
published 12.0.0 •

Changelog

Source

12.0.0

cohara87
published 11.1.0 •

Changelog

Source

11.1.0

cohara87
published 11.0.0 •

Changelog

Source

11.0.0

  • Added a isBase32() validator (#1023)
  • Updated isEmail() to validate display names according to RFC2822 (#1004)
  • Updated isEmail() to check total email length (#1007)
  • The internal toString() util is no longer exported (0277eb)
  • New and improved locales (#999, #1010, #1017, #1022, #1031, #1032)
cohara87
published 10.11.0 •

Changelog

Source

10.11.0

  • Fix imports like import .. from "validator/lib/.." (#961)
  • New locale (#958)
cohara87
published 10.10.0 •

Changelog

Source

10.10.0

  • isISO8601() strict mode now works in the browser (#932)
  • New and improved locales (#931, #933, #947, #950)
cohara87
published 10.9.0 •

Changelog

Source

10.9.0

  • Added an option to isURL() to reject email-like URLs (#901)
  • Added a strict option to isISO8601() (#910)
  • Relaxed isJWT() signature requirements (#906)
  • New and improved locales (#899, #904, #913, #916, #925, #928)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc