fix(deps): update dependency validator to v13.12.0 #354
+18
−12
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.12.0
13.7.17
->13.12.2
Release Notes
validatorjs/validator.js (validator)
v13.12.0
Compare Source
New Features / Validators
isAbaRouting
@songyuewFixes, New Locales and Enhancements
isLicensePlate
add Pakistanien-PK
locale @anasshakilisPort
fix invalid leading zeros @anasshakilisTaxID
added Argentinaes-AR
locale @estefrareisDate
timezone offset fix @tomaspanekisPassportNumber
addedZA
locale @GMorris-professionalisMobilePhone
:en-MW
locale @SimranSiddiquiam-AM
locale @AlexKrupkoisPostalAddress
fixNL
locale @RobinvanderVlietisISO4217
addSLE
currency @urgisStrongPassword
fix symbolRegex to include\
@nandavikasisVAT
fixedKZ
locale @MatthieuLemoineisAlpha
,isAlphanumeric
addedeo
locale @RobinvanderVlietisIBAN
add AlgeriaDZ
locale @thibault-lrisVAT
improveAU
locale @matthewberrymanisUUID
add support for v7 @rusconisTaxID
add Ukraineuk-UA
locale @arttigerisDate
disallow hiphen before year @Sumit-tech-joshiv13.11.0
Compare Source
New Features / Validators
isFreightContainerID
: for shipping containers IDs @songyuewisMailtoURI
@uksarkarFixes, New Locales and Enhancements
isIBAN
addMA
locale @lroudgeisCreditCard
refactor @pano9000isLocale
add support for more language tags @kwahomeisVAT
forCU
@jimmyorpheusisJWT
@Prathamesh061IsFQDN
test enhancements @aalekhpatel07isAlpha
,isAlphanumeric
forkk-KZ
@BekStar7isEmail
supportallow_underscores
@guspowerisDate
enhance Date declaration compatibility across multiple environments @CiprianSisIBAN
add white and blacklist options to the isIBAN validator @edilsonisEmail
do not allow non-breaking space in user part @jeremy21212121isMobilePhone
:so-SO
@ohersifr-CF
@cheboies-CU
@klaframboisepl-PL
@czerwony03fr-WF
@aidos42ar-SD
@Hussienmav13.9.0
Compare 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_whitelist
option @poor-coder#1939
isFQDN
: fixallow_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
: fixignore_max_length
for 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_wildcard
option @fasenderosisRFC3339
: Disallow prepended and appended strings to RFC 3339 date-time @jmacmahonIBAN
export list of country codes that implement IBAN @dror-heller @fedeciisBoolean
: addloose
option @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_fragments
andallow_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 fornull
version 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 ofv1
andv2
@theteladrasisEmail
: addhost_blacklist
option @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:
isHSL
andisEmail
@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 @fedeciisSlug
andrtrim
@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_underscore
option @gibson042isEmail
: character blacklisting @rubiinisURL
: addedrequire_port
option @yshanliisEmail
: respectignore_max_length
option @evantahlerisDate
: add strictMode and prevent mixed delimiters @tux-tnisAlpha
: supportignore
option @mum-never-proudNew and Improved locales:
isAlpha
,isAlphanumeric
:id-ID
and docs update @bekicotth-TH
@ipiranhaafa-IR
@fakhripaz-AZ
@saidfaganisMobilePhone
:ar-MA
@artpumpkinde-LU
,it-SM
,sq-AL
andga-IE
@firlusen-HN
@jehielmartinezar-LB
,es-PE
,ka-GE
@rubiines-DO
@devraseces-BO
@rubiines-AR
@csrgtpt-BR
@viniciushvsilvaisPostalCode
:CN
@httpsbaoIR
@masoudDaliriyanSG
,MY
@stranger26TH
@ipiranhaaBY
@rubiinDO
andHT
@yomedisPassportNumber
:BY
@zenbyRU
@dkochetkov— this release is dedicated to @dbnandaa 🧒
13.1.17
New features:
Fixes and chores:
isURL
@heanzyzabalaisBase32
andisBase64
to validate empty strings properly @AberDerBartisTaxId
@dspinellisvalidate_length
option 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)
isCreditCard()
(#1177)
isCurrency()
(#1306)
isFQDN()
handling of certain special chars(#1091)
isSlug()
(#1338)
(#1112,
#1167,
#1198,
#1199,
#1273,
#1279,
#1281,
#1293,
#1294,
#1311,
#1312,
#1313,
#1314,
#1315,
#1317,
#1322,
#1324,
#1330,
#1337)
13.0.0
isEthereumAddress()
validatorto validate Ethereum addresses
(#1117)
isBtcAddress()
validatorto validate Bitcoin addresses
(#1163)
isIBAN()
validatorto validate International Bank Account Numbers
(#1243)
isEAN()
validatorto validate International Article Numbers
(#1244)
isSemVer()
validatorto validate Semantic Version Numbers
(#1246)
isPassportNumber()
validator(#1250)
isRgbColor()
validator(#1141)
isHSL()
validator(#1159)
isLocale()
validator(#1072)
isIP()
validator(#1211)
isMACAddress()
validator(#1267)
(#1238,
#1265)
12.2.0
(#1233)
toFloat()
sanitizer(#1227)
(#1200,
#1207,
#1213,
#1217,
#1234)
12.1.0
(#1015)
isIP()
to accept scoped IPv6 addresses(#1160)
(#1162,
#1183,
#1187,
#1191)
12.0.0
isOctal()
validator(#1153)
isSlug()
validator(#1096)
isBIC()
validator for bank identification codes(#1071)
isHash()
(#1062)
isHexadecimal()
(#1147)
isMACAddress()
(#1065)
isLength()
(#1070)
(#1074)
(#1059,
#1060,
#1069,
#1073,
#1082,
#1092,
[#1121](https://redirect.github.com/va
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.