Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

validator

Package Overview
Dependencies
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

validator - npm Package Versions

23
22

13.12.0

Diff

profnandaa
published 13.11.0 •

Changelog

Source

13.11.0

New Features / Validators

  • #2144 isFreightContainerID: for shipping containers IDs @songyuew
  • #2188 isMailtoURI @uksarkar

Fixes, New Locales and Enhancements

  • #2025 isIBAN add MA locale @lroudge
  • #2117 isCreditCard refactor @pano9000
  • #2189 isLocale add support for more language tags @kwahome
  • #2203 isVAT for CU @jimmyorpheus
  • #2217 isJWT @Prathamesh061
  • #2222 IsFQDN test enhancements @aalekhpatel07
  • #2226 isAlpha, isAlphanumeric for kk-KZ @BekStar7
  • #2229 isEmail support allow_underscores @guspower
  • #2231 isDate enhance Date declaration compatibility across multiple environments @CiprianS
  • #2235 isIBAN add white and blacklist options to the isIBAN validator @edilson
  • #2237 isEmail do not allow non-breaking space in user part @jeremy21212121
  • isMobilePhone:
profnandaa
published 13.9.0 •

Changelog

Source

13.9.0

New Features / Validators

  • #1892 isISO6391: add ISO 639-1 validator @braaar
  • #1974 isLuhnNumber @ST-DDT

Fixes and Enhancements

  • #1865 isMACAddress: add EUI-validation @WikiRik @tux-tn

  • #1888 isBase32: add option for Crockford's base32 alternative @BigOsvaap

  • #1916 isDataURI: fix mediaType format @temoffey

  • #1920 isEmail: add host_whitelist option @poor-coder

  • #1939 isFQDN: fix allow_numeric_tld option @BigOsvaap

  • #1962 isIP: refactor @UnKnoWn-Consortium

  • #1967 isLength @ikkyu-3

  • #1992 isMagnetURI @Rhilip @tux-tn

  • #1995 isURL: fix check for host @mortbauer

  • #2008 isCreditCard @brianwhaley

  • #2075 isAfter: allow usage of option object @WikiRik

  • #2114 isRgbColor @pano9000

  • #2122 isDataURI: fix MIME types with underscores @pano9000

  • #2148 isStrongPassword @sandmule

  • #2157 isISBN: allow usage of option object @WikiRik

  • #2170 isEmail: fix ignore_max_length for FQDN @sakhmedbayev

  • #2020 isFloat: fix comma(,) passing as float @frederike-ramin

  • Documentation fixes:

  • Code Refactors:

New and Improved Locales

  • isAlpha, isAlphanumeric:

  • isBIC:

  • isIdentityCard:

  • isMobilePhone:

  • isLicensePlate:

  • isPassportNumber:

  • isPostalCode:

  • isTaxID:

    • #1867 en-CA, @boonya
    • #1989 'AT', 'BE', 'BG', 'HR', 'CY', 'CZ', 'DK', 'EE', 'FI', 'FR', 'DE', 'EL', 'HU', 'IE', 'LV', 'LT', 'LU', 'MT', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'AL', 'MK', 'AU', 'BY', 'CA', 'IS', 'IN', 'ID', 'IL', 'KZ', 'NZ', 'NG', 'NO', 'PH', 'RU', 'SM', 'SA', 'RS', 'CH', 'TR', 'UA', 'UZ', 'AR', 'BO', 'BR', 'CL', 'CO', 'CR', 'EC', 'SV', 'GT', 'HN', 'MX', 'NI', 'PA', 'PY', 'PE', 'DO', 'UY', 'VE' @Dev1lDragon
profnandaa
published 13.7.0 •

Changelog

Source

13.7.0

New Features

  • #1706 isISO4217, currency code validator @jpaya17

Fixes and Enhancements

  • #1647 isFQDN: add allow_wildcard option @fasenderos
  • #1654 isRFC3339: Disallow prepended and appended strings to RFC 3339 date-time @jmacmahon
  • #1658 maintenance: increase code coverage @tux-tn
  • #1669 IBAN export list of country codes that implement IBAN @dror-heller @fedeci
  • #1676 isBoolean: add loose option @brybrophy
  • #1697 maintenance: fix npm installation error @rubiin
  • #1708 isISO31661Alpha3: perf @jpaya17
  • #1711 isDate: allow users to strictly validate dates with . as delimiter @flymans
  • #1715 isCreditCard: fix for Union Pay cards @shreyassai123
  • #1718 isEmail: replace all dots in GMail length validation @DasDingGehtNicht
  • #1721 isURL: add allow_fragments and allow_query_components @cowboy-bebug
  • #1724 isISO31661Alpha2: perf @jpaya17
  • #1730 isMagnetURI @tux-tn
  • #1738 rtrim: remove regex to prevent ReDOS attack @tux-tn
  • #1747 maintenance: run scripts in parallel for build and clean @sachinraja
  • #1748 isURL: higher priority to whitelist @deepanshu2506
  • #1751 isURL: allow url with colon and no port @MatteoPierro
  • #1777 isUUID: fix for null version argument @theteladras
  • #1799 isFQDN: check more special chars @MatteoPierro
  • #1833 isURL: allow URL with an empty user @MiguelSavignano
  • #1835 unescape: fixed bug where intermediate string contains escaped @Marcholio
  • #1836 contains: can check that string contains seed multiple times @Marcholio
  • #1844 docs: add CDN instructions @luiscobits
  • #1848 isUUID: add support for validation of v1 and v2 @theteladras
  • #1941 isEmail: add host_blacklist option @fedeci

New and Improved Locales

  • isAlpha, isAlphanumeric:

  • isPassportNumber:

  • isPostalCode:

  • isIdentityCard:

    • #1657 TH @tithanayut
    • #1745 PL @wiktorwojcik112 @fedeci @tux-tn
    • #1786 LK @nimanthadilz @tux-tn
    • #1838 FI @Marcholio
  • isMobilePhone:

  • isLicensePlate:

  • isVAT:

profnandaa
published 13.6.0 •

profnandaa
published 13.5.2 •

profnandaa
published 13.5.1 •

Changelog

Source

~~13.5.0~~ 13.5.1

  • New features:

    • isVAT #1463 @ CodingNagger
    • isTaxID #1446 @tplessas
    • isBase58 #1445 @ezkemboi
    • isStrongPassword #1348 @door-bell
  • Fixes and Enhancements:

    • #1486 isISO8601: add strictSeparator @brostone51
    • #1474 isFQDN: make more strict @CristhianMotoche
    • #1469 isFQDN: allow_underscore option @gibson042
    • #1449 isEmail: character blacklisting @rubiin
    • #1436 isURL: added require_port option @yshanli
    • #1435 isEmail: respect ignore_max_length option @evantahler
    • #1402 isDate: add strictMode and prevent mixed delimiters @tux-tn
    • #1286 isAlpha: support ignore option @mum-never-proud
  • New and Improved locales:

    • isAlpha, isAlphanumeric:
    • isMobilePhone:
      • #1521 ar-MA @artpumpkin
      • #1492 de-LU,it-SM, sq-AL and ga-IE @firlus
      • #1487 en-HN @jehielmartinez
      • #1473 ar-LB, es-PE, ka-GE @rubiin
      • #1470 es-DO @devrasec
      • #1460 es-BO @rubiin
      • #1444 es-AR @csrgt
      • #1407 pt-BR @viniciushvsilva
    • isPostalCode:
    • isPassportNumber:

<sub>— this release is dedicated to @dbnandaa 🧒</sub>

profnandaa
published 13.5.0 •

Changelog

Source

~~13.5.0~~ 13.5.1

  • New features:

    • isVAT #1463 @ CodingNagger
    • isTaxID #1446 @tplessas
    • isBase58 #1445 @ezkemboi
    • isStrongPassword #1348 @door-bell
  • Fixes and Enhancements:

    • #1486 isISO8601: add strictSeparator @brostone51
    • #1474 isFQDN: make more strict @CristhianMotoche
    • #1469 isFQDN: allow_underscore option @gibson042
    • #1449 isEmail: character blacklisting @rubiin
    • #1436 isURL: added require_port option @yshanli
    • #1435 isEmail: respect ignore_max_length option @evantahler
    • #1402 isDate: add strictMode and prevent mixed delimiters @tux-tn
    • #1286 isAlpha: support ignore option @mum-never-proud
  • New and Improved locales:

    • isAlpha, isAlphanumeric:
    • isMobilePhone:
      • #1521 ar-MA @artpumpkin
      • #1492 de-LU,it-SM, sq-AL and ga-IE @firlus
      • #1487 en-HN @jehielmartinez
      • #1473 ar-LB, es-PE, ka-GE @rubiin
      • #1470 es-DO @devrasec
      • #1460 es-BO @rubiin
      • #1444 es-AR @csrgt
      • #1407 pt-BR @viniciushvsilva
    • isPostalCode:
    • isPassportNumber:

<sub>— this release is dedicated to @dbnandaa 🧒</sub>

profnandaa
published 13.1.17 •

Changelog

Source

13.1.17

  • New features:

    • None
  • Fixes and chores:

    • #1425 fix validation for userinfo part for isURL @heanzyzabala
    • #1419 fix isBase32 and isBase64 to validate empty strings properly @AberDerBart
    • #1408 tests for isTaxId @dspinellis
    • #1397 added validate_length option for isURL @tomgrossman
    • #1383 #1428 doc typos @0xflotus @timgates42
    • #1376 add missing tests and switch to Coverall @tux-tn
    • #1373 improve code coverage @ezkemboi
    • #1357 add Node v6 on build pipeline @profnandaa
  • New and Improved locales:

    • isMobilePhone:
    • isPostalCode:
    • isAlpha, isAlphanumeric:
      • #1411 fa-AF, fa-IR @stinkymonkeyph
      • #1371 vi-VN @rubiin
    • isBAN:
      • #1394 EG, SV @heanzyzabala
    • isIdentityCard:
cohara87
published 13.1.1 •

Changelog

Source

13.1.1

  • Hotfix for a regex incompatibility in some browsers (#1355
23
22
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc