[Snyk] Upgrade: body-parser, express, passport, passport-jwt, validator #7
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 multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together.ℹ️ 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.
body-parser
from 1.19.0 to 1.20.2 | 5 versions ahead of your current version | 2 years ago
on 2023-02-22
express
from 4.17.1 to 4.19.2 | 9 versions ahead of your current version | 5 months ago
on 2024-03-25
passport
from 0.4.1 to 0.7.0 | 6 versions ahead of your current version | 9 months ago
on 2023-11-27
passport-jwt
from 4.0.0 to 4.0.1 | 1 version ahead of your current version | 2 years ago
on 2022-12-24
validator
from 13.0.0 to 13.12.0 | 11 versions ahead of your current version | 4 months ago
on 2024-05-09
Issues fixed by the recommended upgrade:
SNYK-JS-QS-3153490
SNYK-JS-EXPRESS-6474509
SNYK-JS-PASSPORT-2840631
SNYK-JS-VALIDATOR-1090599
SNYK-JS-VALIDATOR-1090600
SNYK-JS-VALIDATOR-1090601
SNYK-JS-VALIDATOR-1090602
Release notes
Package name: body-parser
strict
eval
usage withFunction
constructorprocess
to check for listeners__proto__
keyspb
) supportthrow
on invalid typePackage name: express
What's Changed
Full Changelog: 4.19.0...4.19.1
What's Changed
New Contributors
Full Changelog: 4.18.3...4.19.0
Main Changes
Other Changes
New Contributors
Full Changelog: 4.18.2...4.18.3
res.download
options
withoutfilename
inres.download
res.status
null
/undefined
asmaxAge
inres.cookie
Object.prototype
values in settings throughapp.set
/app.get
default
with same arguments as types inres.format
res.send
http-errors
forres.format
errorstrict
priority
optionexpires
option to reject invalid dateseval
usage withFunction
constructorprocess
to check for listeners425 Unordered Collection
to standard425 Too Early
__proto__
keysundefined
inres.jsonp
undefined
when"json escape"
is enabledRegExp
sres.jsonp(obj, status)
deprecation messageres.is
JSDocmaxAge
option to reject invalid valuesreq.socket
over deprecatedreq.connection
Package name: passport
0.7.0
0.6.0
0.5.3
0.5.2
0.5.1
0.5.0
0.4.1
Package name: passport-jwt
vulnerability CVE-2022-3517
[Developer facing]
Fixes #147 - Vulnerability due to dependency on jsonwebtoken 7.x.x
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