[Snyk] Upgrade: body-parser, consolidate, csurf, dont-sniff-mimetype, express, express-session, marked, needle, underscore #17
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.18.3 to 1.20.2 | 6 versions ahead of your current version | 2 years ago
on 2023-02-22
consolidate
from 0.14.5 to 0.16.0 | 3 versions ahead of your current version | 4 years ago
on 2020-09-08
csurf
from 1.9.0 to 1.10.0 | 1 version ahead of your current version | 5 years ago
on 2019-04-23
dont-sniff-mimetype
from 1.0.0 to 1.1.0 | 1 version ahead of your current version | 5 years ago
on 2019-05-11
express
from 4.16.4 to 4.19.2 | 11 versions ahead of your current version | 6 months ago
on 2024-03-25
express-session
from 1.15.6 to 1.18.0 | 8 versions ahead of your current version | 8 months ago
on 2024-01-28
marked
from 0.3.5 to 0.8.2 | 23 versions ahead of your current version | 4 years ago
on 2020-03-22
needle
from 2.2.4 to 2.9.1 | 14 versions ahead of your current version | 3 years ago
on 2021-09-01
underscore
from 1.9.1 to 1.13.7 | 19 versions ahead of your current version | 2 months ago
on 2024-07-24
Issues fixed by the recommended upgrade:
npm:marked:20170907
npm:marked:20180225
npm:marked:20150520
npm:marked:20170112
npm:marked:20170815
SNYK-JS-QS-3153490
npm:marked:20170815-1
SNYK-JS-MARKED-174116
SNYK-JS-EXPRESS-6474509
SNYK-JS-UNDERSCORE-1080984
SNYK-JS-MARKED-451540
Release notes
Package name: body-parser
strict
eval
usage withFunction
constructorprocess
to check for listeners__proto__
keyspb
) supportthrow
on invalid typePackage name: consolidate
Package name: csurf
base64-url
dependencymessage
property enumerable forHttpError
snext()
instead of throwingnext()
instead of throwingsameSite
optionMax-Age
to never be a floating point numberexpires
is not aDate
serialize
tsscmp
module for timing-safe token verificationHttpError
export, forerr instanceof createError.HttpError
421 Misdirected Request
setprototypeof
module to replace__proto__
settingPackage name: dont-sniff-mimetype
v1.1.0
1.0.0
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 headersSameSite=None
supportcookie.originalMaxAge
when store returnsDate
data
option toCookie
constructorcookie.maxAge
value earliercookie.maxAge
to aDate
objectresave: false
may not save altered sessionsutils-merge
dependencysafe-buffer
for improved Buffer APISet-Cookie
as cookie header name for compatibilityeval
usage withFunction
constructorprocess
to check for listenersres.writeHead
patch missing return valueRegExp
=
Package name: marked
Fixes
Docs
Fixes
marked --help
#1588Breaking changes
Fixes
baseUrl
option #1526Docs
Dev Dependencies
Security
paragraph
andtext
tokens #1504Breaking Changes
sanitize
andsanitizer
options #1504fences
to CommonMark #1511tables
to GFM #1511tables
option #1511Fixes
Tests
Fixes
<em>
issue with mixed content #1451breaks: true
#1507Docs
DevOps