[Snyk] Upgrade validator from 13.7.0 to 13.15.0 #727
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.
Snyk has created this PR to upgrade validator from 13.7.0 to 13.15.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 4 versions ahead of your current version.
The recommended version was released 2 months ago.
Release notes
Package name: validator
13.15.0
New Features / Validators
isISO31661Numeric
@ RobinvanderVlietisULID
@ arafatknisISO15924
@ xDivisionByZeroxFixes, New Locales and Enhancements
isMobilePhone
es-GT
locale @ ignaciosuarezquilisen-GB
locale @ ihmpaveluk-UA
locale @ arttigerky-KG
locale @ sadralieven-ZM
locale @ sonikishanen-GH
locale @ NanaAb-116mk-MK
locale @ eshward95sq-AL
locale @ nichoolaisBtcAddress
support all address formats and testnets @ madokeisIBAN
improveVG
regex @ ST-DDTisISO4217
update currency codes @ cbodtorfisIdentityCard
addPK
locale @ Daniyal-QureshiisEmail
fix blacklist_chars @ keshavlingalaisInt
/isFloat
handle undefined and null values @ Daniyal-QureshiisPostalCode
addCO
locale @ jorgevrgsisPassportNumber
exportpassportNumberLocales
@ derekparnellisRgbColor
addallowSpaces
option @ a-h-iisUUID
require valid variant field and require RFC9562 UUID in versionall
@ broofaisURL
addmax_allowed_length
option @ pinkieskyisEmail
reject starting with double quotes @ code0emperorisLicensePlate
adden-SG
locale @ Sabarinathan07normalizeEmail
addyandex_convert_yandexru
option @ AayushGHisDate
return false instead of Error in certain cases @ pano9000isLength
adddiscreteLengths
option @ Suven-pisDate
disallow mismatching length instrictMode
@ sonikishanisISO6346
set check digit to 0 if remainder is 10 @ joelcuyisPostalCode
improveBR
locale @ ticmaisdevisEmail
allow regexp inhost_whitelist
andhost_blacklist
@ weikangchiaisIBAN
improveIE
/PS
regex @ Tarasz57New Contributors
Full Changelog: 13.12.0...13.15.0
What's Changed
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-joshiNew Contributors