[Snyk] Upgrade: body-parser, chai, cookie-parser, express, express-session, express-validator, jquery, koa, mocha, moment, mongoose, passport, passport-local-mongoose, prettier, pug #64
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
chai
from 4.3.4 to 4.5.0 | 9 versions ahead of your current version | 2 months ago
on 2024-07-25
cookie-parser
from 1.4.5 to 1.4.6 | 1 version ahead of your current version | 3 years ago
on 2021-11-16
express
from 4.17.1 to 4.19.2 | 9 versions ahead of your current version | 6 months ago
on 2024-03-25
express-session
from 1.17.2 to 1.18.0 | 2 versions ahead of your current version | 8 months ago
on 2024-01-28
express-validator
from 6.12.1 to 6.15.0 | 7 versions ahead of your current version | 2 years ago
on 2023-02-16
jquery
from 3.6.0 to 3.7.1 | 6 versions ahead of your current version | a year ago
on 2023-08-28
koa
from 2.13.1 to 2.15.2 | 9 versions ahead of your current version | 6 months ago
on 2024-03-21
mocha
from 9.1.1 to 9.2.2 | 6 versions ahead of your current version | 3 years ago
on 2022-03-11
moment
from 2.29.1 to 2.30.1 | 5 versions ahead of your current version | 9 months ago
on 2023-12-27
mongoose
from 5.13.0 to 5.13.22 | 22 versions ahead of your current version | 8 months ago
on 2024-01-02
passport
from 0.4.1 to 0.7.0 | 6 versions ahead of your current version | 10 months ago
on 2023-11-27
passport-local-mongoose
from 6.1.0 to 6.3.0 | 4 versions ahead of your current version | 3 years ago
on 2022-03-12
prettier
from 2.3.2 to 2.8.8 | 18 versions ahead of your current version | a year ago
on 2023-04-23
pug
from 3.0.2 to 3.0.3 | 2 versions ahead of your current version | 4 months ago
on 2024-05-24
Issues fixed by the recommended upgrade:
SNYK-JS-GETFUNCNAME-5923417
SNYK-JS-QS-3153490
SNYK-JS-MOMENT-2440688
SNYK-JS-MOMENT-2944238
SNYK-JS-MONGOOSE-2961688
SNYK-JS-MONGOOSE-5777721
SNYK-JS-EXPRESS-6474509
SNYK-JS-VALIDATOR-1090600
SNYK-JS-MONGODB-5871303
SNYK-JS-MPATH-1577289
SNYK-JS-NANOID-2332193
SNYK-JS-PASSPORT-2840631
Release notes
Package name: body-parser
strict
eval
usage withFunction
constructorprocess
to check for listeners__proto__
keyspb
) supportthrow
on invalid typePackage name: chai
v4.4.1...v4.5.0
What's Changed
Full Changelog: v4.4.1...v4.5.0
What's Changed
??
for node compat by @ 43081j in #1574Full Changelog: v4.4.0...v4.4.1
What's Changed
Full Changelog: v4.3.10...v4.4.0
Package name: cookie-parser
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-session
partitioned
tocookie
optionspriority
tocookie
optionssecret
thatcrypto.createHmac
supportsexpires
option to reject invalid datesres.end
patch to always commit headersPackage name: express-validator
What's Changed
Full Changelog: v6.14.3...v6.15.0
What's Changed
*
(#1205)New Contributors
Full Changelog: v6.14.2...v6.14.3
What's Changed
.matches
when passing regex object by @ tonysamperi in #1156New Contributors
Full Changelog: v6.14.1...v6.14.2
What's Changed
validationResult()
for schema validation example by @ daenamkim in #1120SK
postal code - #1144New Contributors
Full Changelog: v6.14.0...v6.14.1
What's Changed
validator
to13.7
by @ fedeci in #1115Full Changelog: v6.13.0...v6.14.0
What's Changed
New Contributors
Full Changelog: v6.12.2...v6.13.0
Fixes:
checkSchema
function return