[Snyk] Upgrade validator from 13.5.2 to 13.12.0 #92
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 was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade validator from 13.5.2 to 13.12.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 5 versions ahead of your current version.
The recommended version was released on a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-VALIDATOR-1090599
SNYK-JS-VALIDATOR-1090600
SNYK-JS-VALIDATOR-1090601
SNYK-JS-VALIDATOR-1090602
Release notes
Package name: validator
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
Full Changelog: 13.11.0...13.12.0
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
@ HussienmaNew Contributors 🎉
Full Changelog: 13.9.0...13.11.0
13.9.0
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
,