[Snyk] Upgrade: bcrypt, body-parser, crypto-js, express, express-mongo-sanitize, helmet, maskdata, mongoose, multer, password-validator #309
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.0 to 5.1.1 | 3 versions ahead of your current version | a year ago
on 2023-08-16
body-parser
from 1.19.0 to 1.20.2 | 5 versions ahead of your current version | 2 years ago
on 2023-02-22
crypto-js
from 4.0.0 to 4.2.0 | 3 versions ahead of your current version | a year ago
on 2023-10-24
express
from 4.17.1 to 4.19.2 | 9 versions ahead of your current version | 6 months ago
on 2024-03-25
express-mongo-sanitize
from 2.0.2 to 2.2.0 | 2 versions ahead of your current version | 3 years ago
on 2022-01-14
helmet
from 4.4.1 to 4.6.0 | 3 versions ahead of your current version | 3 years ago
on 2021-05-02
maskdata
from 1.1.4 to 1.3.3 | 16 versions ahead of your current version | a month ago
on 2024-08-10
mongoose
from 5.11.11 to 5.13.22 | 48 versions ahead of your current version | 8 months ago
on 2024-01-02
multer
from 1.4.2 to 1.4.4 | 3 versions ahead of your current version | 3 years ago
on 2021-12-07
password-validator
from 5.1.1 to 5.3.0 | 4 versions ahead of your current version | 2 years ago
on 2022-05-15
Issues fixed by the recommended upgrade:
SNYK-JS-ANSIREGEX-1583908
SNYK-JS-CRYPTOJS-6028119
SNYK-JS-LODASHSET-1320032
SNYK-JS-MONGOOSE-2961688
SNYK-JS-MONGOOSE-5777721
SNYK-JS-MQUERY-1089718
SNYK-JS-QS-3153490
SNYK-JS-TAR-1536528
SNYK-JS-TAR-1536531
SNYK-JS-TAR-1579147
SNYK-JS-TAR-1579152
SNYK-JS-TAR-1579155
SNYK-JS-TAR-6476909
SNYK-JS-MINIMATCH-3050818
SNYK-JS-EXPRESS-6474509
SNYK-JS-MONGODB-5871303
SNYK-JS-MONGOOSE-1086688
SNYK-JS-MPATH-1577289
SNYK-JS-TAR-1536758
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.0It is uncommon but it's a bug nevertheless. Previous attempts to fix the bug
was unsuccessful.
node-pre-gyp
to 0.15.0Package name: body-parser
strict
eval
usage withFunction
constructorprocess
to check for listeners__proto__
keyspb
) supportthrow
on invalid typePackage name: crypto-js
No content.
No content.
No content.
No content.
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.Fixed
Updated
Package name: helmet
4.6.0
4.5.0
v4.5.0-rc.1
4.4.1
Package name: maskdata
fix the readme.md link
Package name: mongoose
Package name: multer
version: 1.4.4
version: 1.4.3
version: 1.4.2
Package name: password-validator
5.3.0
5.2.1
5.2.0
5.1.2