[Snyk] Upgrade: bcrypt, cookie-parser, ejs, express, express-mongo-sanitize, express-rate-limit, mongoose, multer, validator, xss-clean #49
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.
bcrypt
from 5.0.1 to 5.1.1 | 2 versions ahead of your current version | a year ago
on 2023-08-16
cookie-parser
from 1.4.5 to 1.4.6 | 1 version ahead of your current version | 3 years ago
on 2021-11-16
ejs
from 3.1.6 to 3.1.10 | 4 versions ahead of your current version | 5 months ago
on 2024-04-12
express
from 4.17.1 to 4.19.2 | 9 versions ahead of your current version | 5 months ago
on 2024-03-25
express-mongo-sanitize
from 2.1.0 to 2.2.0 | 1 version ahead of your current version | 3 years ago
on 2022-01-14
express-rate-limit
from 5.4.1 to 5.5.1 | 2 versions ahead of your current version | 3 years ago
on 2021-11-06
mongoose
from 5.13.10 to 5.13.22 | 12 versions ahead of your current version | 8 months ago
on 2024-01-02
multer
from 1.4.3 to 1.4.4 | 2 versions ahead of your current version | 3 years ago
on 2021-12-07
validator
from 13.6.0 to 13.12.0 | 4 versions ahead of your current version | 4 months ago
on 2024-05-09
xss-clean
from 0.1.1 to 0.1.4 | 3 versions ahead of your current version | a year ago
on 2023-06-02
Issues fixed by the recommended upgrade:
SNYK-JS-ANSIREGEX-1583908
SNYK-JS-EJS-2803307
SNYK-JS-MONGOOSE-2961688
SNYK-JS-MONGOOSE-5777721
SNYK-JS-QS-3153490
SNYK-JS-NODEFETCH-2342118
SNYK-JS-TAR-6476909
SNYK-JS-EJS-6689533
SNYK-JS-EXPRESS-6474509
SNYK-JS-MINIMATCH-3050818
SNYK-JS-VALIDATOR-1090600
Release notes
Package name: bcrypt
What's Changed
New Contributors
Full Changelog: v5.1.0...v5.1.1
What's Changed
New Contributors
Full Changelog: v5.0.1...v5.1.0
Update
node-pre-gyp
to 1.0.0Package name: cookie-parser
Package name: ejs
Version 3.1.10
Version 3.1.9
Version 3.1.8
Version 3.1.7
Version 3.1.6
Package 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: express-mongo-sanitize
Added
config
option:allowDots
boolean: if set, allows dots in the user-supplied data #41Fixed
dryRun
option #88Added
config
options:onSanitize
callback: this will be called after the request's value was sanitized, with two named parameters: thekey
that was sanitized, and the rawreq
object.dryRun
boolean: if set, sanitization will not take place. Useful when combined withonSanitize
to report on the keys which would have been sanitized.Package name: express-rate-limit
5.5.1
5.5.0
5.4.1
Package name: mongoose
Package name: multer
version: 1.4.4
version: 1.4.3
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-joshi