Bump validator from 13.7.0 to 13.15.20 #7545
Open
+3
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
13.7.0->13.15.20Warning
Some dependencies could not be looked up. Check the warning logs for more information.
For further information on security, please refer to the Confluence page link
Release Notes
validatorjs/validator.js (validator)
v13.15.20Compare Source
Fixes, New Locales and Enhancements
isMobilePhone: addar-QAlocale @WardKhaddourisAlpha/isAlphanuneric: add Indic locales (ta-IN,te-IN,kn-IN,ml-IN,gu-IN,pa-IN,or-IN) @avadootharajeshisBase64: improve padding regex @KrayzeeKevisVAT: improveFRlocale @iamAmerisURL: improve protocol detection. Resolves CVE-2025-56200 @theofidryv13.15.15Compare Source
Fixes, New Locales and Enhancements
isMobilePhoneel-CYlocale @rezk2llpt-AOlocale @renaldodevar-OMlocale @tomcastroisIP: allow usage of option object @pixelbucket-devisPassportNumber: improveCAlocale @evanbechtolisBase64: improve validation based on RFC4648 @aseyfpourisPostalCode: improveFRlocale @Rajput-BalramisBefore: allow usage of option object @pixelbucket-devisRgbColor: allow second digit in rgba alpha value @contrololisIP: improve IPv6 regex @ShreySinha02isPostalCode: addPKlocale @mateeni-devisPostalCode: improveTWlocale @CrocsxisPassportNumber: improveUSlocale @yitzchak-schechterisUUID: addlooseoption @bc-misPostalCode: addBDlocale @tanvirrbisLicensePlate: improvept-PTlocale @castrosuv13.15.0Compare Source
New Features / Validators
isISO31661Numeric@RobinvanderVlietisULID@arafatknisISO15924@xDivisionByZeroxFixes, New Locales and Enhancements
isMobilePhonees-GTlocale @ignaciosuarezquilisen-GBlocale @ihmpaveluk-UAlocale @arttigerky-KGlocale @sadralieven-ZMlocale @sonikishanen-GHlocale @NanaAb-116mk-MKlocale @eshward95sq-ALlocale @nichoolaisBtcAddresssupport all address formats and testnets @madokeisIBANimproveVGregex @ST-DDTisISO4217update currency codes @cbodtorfisIdentityCardaddPKlocale @Daniyal-QureshiisEmailfix blacklist_chars @keshavlingalaisInt/isFloathandle undefined and null values @Daniyal-QureshiisPostalCodeaddCOlocale @jorgevrgsisPassportNumberexportpassportNumberLocales@derekparnellisRgbColoraddallowSpacesoption @a-h-iisUUIDrequire valid variant field and require RFC9562 UUID in versionall@broofaisURLaddmax_allowed_lengthoption @pinkieskyisEmailreject starting with double quotes @code0emperorisLicensePlateadden-SGlocale @Sabarinathan07normalizeEmailaddyandex_convert_yandexruoption @AayushGHisDatereturn false instead of Error in certain cases @pano9000isLengthadddiscreteLengthsoption @Suven-pisDatedisallow mismatching length instrictMode@sonikishanisISO6346set check digit to 0 if remainder is 10 @joelcuyisPostalCodeimproveBRlocale @ticmaisdevisEmailallow regexp inhost_whitelistandhost_blacklist@weikangchiaisIBANimproveIE/PSregex @Tarasz57v13.12.0Compare Source
New Features / Validators
isAbaRouting@songyuewFixes, New Locales and Enhancements
isLicensePlateadd Pakistanien-PKlocale @anasshakilisPortfix invalid leading zeros @anasshakilisTaxIDadded Argentinaes-ARlocale @estefrareisDatetimezone offset fix @tomaspanekisPassportNumberaddedZAlocale @GMorris-professionalisMobilePhone:en-MWlocale @SimranSiddiquiam-AMlocale @AlexKrupkoisPostalAddressfixNLlocale @RobinvanderVlietisISO4217addSLEcurrency @urgisStrongPasswordfix symbolRegex to include\@nandavikasisVATfixedKZlocale @MatthieuLemoineisAlpha,isAlphanumericaddedeolocale @RobinvanderVlietisIBANadd AlgeriaDZlocale @thibault-lrisVATimproveAUlocale @matthewberrymanisUUIDadd support for v7 @rusconisTaxIDadd Ukraineuk-UAlocale @arttigerisDatedisallow hiphen before year @Sumit-tech-joshiv13.11.0Compare Source
New Features / Validators
isFreightContainerID: for shipping containers IDs @songyuewisMailtoURI@uksarkarFixes, New Locales and Enhancements
isIBANaddMAlocale @lroudgeisCreditCardrefactor @pano9000isLocaleadd support for more language tags @kwahomeisVATforCU@jimmyorpheusisJWT@Prathamesh061IsFQDNtest enhancements @aalekhpatel07isAlpha,isAlphanumericforkk-KZ@BekStar7isEmailsupportallow_underscores@guspowerisDateenhance Date declaration compatibility across multiple environments @CiprianSisIBANadd white and blacklist options to the isIBAN validator @edilsonisEmaildo not allow non-breaking space in user part @jeremy21212121isMobilePhone:so-SO@ohersifr-CF@cheboies-CU@klaframboisepl-PL@czerwony03fr-WF@aidos42ar-SD@Hussienmav13.9.0Compare Source
New Features / Validators
isISO6391: add ISO 639-1 validator @braaarisLuhnNumber@ST-DDTFixes 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: addhost_whitelistoption @poor-coder#1939
isFQDN: fixallow_numeric_tldoption @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: fixignore_max_lengthfor FQDN @sakhmedbayev#2020
isFloat: fix comma(,) passing as float @frederike-raminDocumentation fixes:
Code Refactors:
New and Improved Locales
isAlpha,isAlphanumeric:bn-BD@rak810si-LK@melkorCBAja-JP@starcharlesko-KR@DongkyuuuuisBIC:XK@import-brainisIdentityCard:hk-HK@DongkyuuuuisMobilePhone:my-MM, @ferdousulhaquede-DE, @thomaschaafen-LS, @DevilsAutumnel-CY, @ikerasiotises-NI, @ajGingrichaz-AZ, @shaanaliyevir-IR, @ArashST79ky-KG, @arsalanfirooziar-YE,ar-EH,fa-AF, @Mustafiz04ro-MD, @mik7upar-YE,en-BS, @savannahvaithka-GE, @avkvakpt-BR, @jhcaiafa @matheusnascgomeses-HN, @ademyan05nl-AW, @adida948en-JM, @ademyan05mn-MN, @rksp25fr-BJ, @rkuma552 @rksp25mg-MG, @ShivangiRai1310en-PG, @kai2128en-AG, @jiaweilowen-AI, @elaine1129en-KN, @Eelyneeefr-CD, @coolbeatz71en-SS, @cheboidv-MV, @pano9000en-HN, @WikiRikar-KW, @Yazan-KE @WikiRikel-GR, @pano9000en-BM, @pano9000ms-MY, @pano9000ro-RO, @pano9000isLicensePlate:sv-SE, @elmaxehu-HU, @szabolcstarnaien-NI, @NishantJSde-DE, @bennetfabiande-DE, @bennetfabianes-AR, @alvarocastroisPassportNumber:JM,KZ,LI,NZ@JuanFMLTH@TonPC64 @braaarAZ@djeks922PH,PK@digambar-t7isPostalCode:BA, @matheusnascgomesBY, @pano9000IR, @pano9000isTaxID:en-CA, @boonya'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'@Dev1lDragon13.7.0
New Features
isISO4217, currency code validator @jpaya17Fixes and Enhancements
isFQDN: addallow_wildcardoption @fasenderosisRFC3339: Disallow prepended and appended strings to RFC 3339 date-time @jmacmahonIBANexport list of country codes that implement IBAN @dror-heller @fedeciisBoolean: addlooseoption @brybrophyisISO31661Alpha3: perf @jpaya17isDate: allow users to strictly validate dates with.as delimiter @flymansisCreditCard: fix for Union Pay cards @shreyassai123isEmail: replace all dots in GMail length validation @DasDingGehtNichtisURL: addallow_fragmentsandallow_query_components@cowboy-bebugisISO31661Alpha2: perf @jpaya17isMagnetURI@tux-tnrtrim: remove regex to prevent ReDOS attack @tux-tnisURL: higher priority towhitelist@deepanshu2506isURL: allow url with colon and no port @MatteoPierroisUUID: fix fornullversion argument @theteladrasisFQDN: check more special chars @MatteoPierroisURL: allow URL with an empty user @MiguelSavignanounescape: fixed bug where intermediate string contains escaped @Marcholiocontains: can check that string contains seed multiple times @MarcholioisUUID: add support for validation ofv1andv2@theteladrasisEmail: addhost_blacklistoption @fedeciNew and Improved Locales
isAlpha,isAlphanumeric:hi-IN@MiKr13fi-FI@MarcholioisPassportNumber:ID@rubiinCN@anirudhgiriPL@RonqnRU@Theta-DevisPostalCode:LK@nimanthadilzisIdentityCard:TH@tithanayutPL@wiktorwojcik112 @fedeci @tux-tnLK@nimanthadilz @tux-tnFI@MarcholioisMobilePhone:de-DE@AnnaMariaJansenvi-VN@luisrivaszh-CN@laulujan @yisibles-VE@islasjuanpnl-BE@divikshrivastavaes-CU@pasagedeves-SV, @herejear-PS, @brendan-cen-BM@HackProAITdz-BT@lakshayr003en-BW, @mgndolanfr-CM@beckettnormingtonen-PK@ammad20120 @tux-tntk-TM, @Husan-Eshonquloven-GY, @mfkrausesi-LK@Madhavi96fr-PF, @herejeen-KI, @c-tannerhu-HU@danielTiringerfr-BF,en-NA@lakshayr003tg-TJ@mgnssisLicensePlate:cs-CZ@filiptronicekfi-FI@MarcholioisVAT:NL@zeno4ever13.6.1
New features:
isLicensePlate@firlusFixes and Enhancements:
isHSLandisEmail@tux-tnisURL: Allow URLs to have only a username in the userinfo subcomponent @jbuchmann-coostoisISIN: optimization @bmacnaughtonisIP: improved pattern for IPv4 and IPv6 @ognjenjevremovic[A-z]regex range on some validators @bmacnaughtonisMacAddress: improve regexes and options @fedeciisSlugandrtrim@fedeciisIPRange: add support for IPv6 @neilimeisEAN: add support for EAN-14 @varsubham @tux-tnisStrongPassword: add@as a valid symbol @stingallemanisBtcAddress: add base58 @ezkemboiisFQDN: numeric domain names @tux-tnNew and Improved locales:
isIdentityCard,isPassportNumber:IR@mhf-ir @fedeciar-LY@asghaier76 @tux-tnMY@stranger26 @tux-tnisMobilePhone:zh-CN@Akira0705lv-LV@AntonLukicheven-GH@ankorGHmz-MZ@salmento @tux-tnvi-VN@kyled7en-SG@liliwei25de-CH,fr-CH,it-CH@dinfektedes-CO@ezkemboi @tux-tnar-OM@dev-snapt-AO@AdilsonFuxeisPostalCode:KR@greatSuminiisTaxID:pt-BR@mschunkeel-GR@dspinellisisVAT:IT@fedeci13.5.013.5.1New features:
isVAT#1463 @ CodingNaggerisTaxID#1446 @tplessasisBase58#1445 @ezkemboiisStrongPassword#1348 @door-bellFixes and Enhancements:
isISO8601: addstrictSeparator@brostone51isFQDN: make more strict @CristhianMotocheisFQDN:allow_underscoreoption @gibson042isEmail: character blacklisting @rubiinisURL: addedrequire_portoption @yshanliisEmail: respectignore_max_lengthoption @evantahlerisDate: add strictMode and prevent mixed delimiters @tux-tnisAlpha: supportignoreoption @mum-never-proudNew and Improved locales:
isAlpha,isAlphanumeric:id-IDand docs update @bekicotth-TH@ipiranhaafa-IR@fakhripaz-AZ@saidfaganisMobilePhone:ar-MA@artpumpkinde-LU,it-SM,sq-ALandga-IE@firlusen-HN@jehielmartinezar-LB,es-PE,ka-GE@rubiines-DO@devraseces-BO@rubiines-AR@csrgtpt-BR@viniciushvsilvaisPostalCode:CN@httpsbaoIR@masoudDaliriyanSG,MY@stranger26TH@ipiranhaaBY@rubiinDOandHT@yomedisPassportNumber:BY@zenbyRU@dkochetkov— this release is dedicated to @dbnandaa 🧒
13.1.17
New features:
Fixes and chores:
isURL@heanzyzabalaisBase32andisBase64to validate empty strings properly @AberDerBartisTaxId@dspinellisvalidate_lengthoption forisURL@tomgrossmanNew and Improved locales:
isMobilePhone:az-AZ@saidfaganuz-Uz@icyice0217de-DE@heanzyzabalaen-PH@stinkymonkeyphes-ES@rubiinbs-BA@MladenZeljiczh-CN@heathcliff-huisPostalCode:AZ@saidfaganES@rubiinIL@rubiinisAlpha,isAlphanumeric:fa-AF,fa-IR@stinkymonkeyphvi-VN@rubiinisBAN:EG,SV@heanzyzabalaisIdentityCard:IT@lorenzodb113.1.1
(#1355
13.1.0
isIMEI()validator(#1346)
isDate()validator(#1270)
isTaxID()validator(#1336)
isLatLong()(#1340)
(#1277)
isJSON()(#1328)
contains()(#1334)
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.