Update dependency express to v3.21.0 #53
Merged
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.
This PR contains the following updates:
3.0.0
->3.21.0
This PR resolves the vulnerability described in Issue #16
Version 3.0.0
Version 3.21.0
Version 3.21.2
Mend ensures you have the greatest risk reduction ("Recommended Fix"-highlighted in green) by removing as many vulnerabilities as possible. Click to see how we calculate risk reduction.
Release Notes
expressjs/express
v3.21.0
Compare Source
===================
ETag
matching supportDate
response headerContent-Location
on 304 responsehttp-errors
for standard emitted errorsstatuses
instead ofhttp
module for status messagesv3.20.3
Compare Source
===================
v3.20.2
Compare Source
===================
extensions
orindex
optionsv3.20.1
Compare Source
===================
req.host
when using "trust proxy" hops countreq.protocol
/req.secure
when using "trust proxy" hops countv3.20.0
Compare Source
===================
"trust proxy"
setting to inherit when app is mountedETag
s for all request responsesGET
andHEAD
requestscontent-type
to parseContent-Type
headerscontent-type
to parseContent-Type
headersoptions
v3.19.2
Compare Source
===================
v3.19.1
Compare Source
===================
v3.19.0
Compare Source
===================
OPTIONS
responses to include theHEAD
method propertyreadline
for prompt inexpress(1)
v3.18.6
Compare Source
===================
req.fresh
/req.stale
without response headersv3.18.5
Compare Source
===================
v3.18.4
Compare Source
===================
v3.18.3
Compare Source
===================
v3.18.2
Compare Source
===================
://
in the pathv3.18.1
Compare Source
===================
utils.merge
deprecation warningsv3.18.0
Compare Source
===================
content-disposition
module forres.attachment
/res.download
Content-Disposition
headeretag
module to generateETag
headershttp-errors
module for creating errorsutils-merge
module for merging objectsDEBUG_FD
env variable supportv3.17.8
Compare Source
===================
v3.17.7
Compare Source
===================
logger
v3.17.6
Compare Source
===================
v3.17.5
Compare Source
===================
forwarded
npm modulev3.17.4
Compare Source
===================
v3.17.3
Compare Source
===================
v3.17.2
Compare Source
===================
crc
instead ofbuffer-crc32
for speedv3.17.1
Compare Source
===================
req.subdomains
on empty hostv3.17.0
Compare Source
===================
X-Forwarded-Host
inreq.subdomains
req.subdomains
lastModified
optionetag
to generateETag
headerVary
header string asfield
v3.16.10
Compare Source
====================
root
v3.16.9
Compare Source
===================
v3.16.8
Compare Source
===================
v3.16.7
Compare Source
===================
v3.16.6
Compare Source
===================
fd
leak in Node.js 0.10 forfs.ReadStream
v3.16.5
Compare Source
===================
logger
v3.16.4
Compare Source
===================
res.location
query
middleware breaking with argumentv3.16.3
Compare Source
===================
v3.16.2
Compare Source
===================
v3.16.1
Compare Source
====================
root
v3.16.0
Compare Source
===================
extensions
optionv3.15.3
Compare Source
===================
res.sendfile
regression for serving directory index filesv3.15.2
Compare Source
===================
v3.15.1
Compare Source
===================
Error.stackTraceLimit
is too lowv3.15.0
Compare Source
===================
req.protocol
for proxy-direct connectionsres.sendfile
tosend
TRACE_DEPRECATION
environment variable--no-deprecation
argument--trace-deprecation
argumentRegExp
dotfiles
optionmaxAge
value to 1 yearv3.14.0
Compare Source
===================
res.redirect(url, status)
-- useres.redirect(status, url)
insteadres.send(status, num)
to sendnum
as json (not error)res.jsonp
returns JSON responseCONNECT
v3.13.0
Compare Source
===================
app.configure
req.auth
basic-auth
to parseAuthorization
headermaxage
(converted byms
)v3.12.1
Compare Source
===================
v3.12.0
Compare Source
===================
media-typer
to alter content-type charsetconnect(middleware)
-- useapp.use(middleware)
insteadconnect.createServer()
-- useconnect()
insteadres.setHeader()
patch to work with get -> append -> set patternv3.11.0
Compare Source
===================
depd
moduleverify
option tojson
-- usebody-parser
npm module insteadverify
option tourlencoded
-- usebody-parser
npm module insteaddepd
modulefinalhandler
for final response handlingmedia-typer
to parsecontent-type
for charsetv3.10.5
Compare Source
===================
escape-html
for HTML escapingv3.10.4
Compare Source
===================
v3.10.3
Compare Source
===================
vary
module forres.vary
v3.10.2
Compare Source
===================
v3.10.1
Compare Source
===================
v3.10.0
Compare Source
===================
methodOverride()
-- usemethod-override
npm module insteadmax-age
inCache-Control
in correct formatv3.9.0
Compare Source
==================
app.set('etag', val)
app.set('etag', function(body, encoding){ return '"etag"' })
custom etag generationapp.set('etag', 'weak')
weak tagapp.set('etag', 'strong')
strong etagapp.set('etag', false)
turn offapp.set('etag', true)
standard etagres.send
ETag as weak and reduce collisionsv3.8.1
Compare Source
==================
v3.8.0
Compare Source
==================
Content-Type
forres.jsonp
charset
inContent-Type
forres.send
res.charset
appending charset whencontent-type
has onev3.7.0
Compare Source
==================
app.set('trust proxy', trust)
app.set('trust proxy', 1)
trust first hopapp.set('trust proxy', 'loopback')
trust loopback addressesapp.set('trust proxy', '10.0.0.1')
trust single IPapp.set('trust proxy', '10.0.0.1/16')
trust subnetapp.set('trust proxy', '10.0.0.1, 10.0.0.2')
trust listapp.set('trust proxy', false)
turn offapp.set('trust proxy', true)
trust everythingres.headerSent
-- useres.headersSent
res.on("header")
-- use on-headers module insteadres.appendHeader
that would append in wrong orderv3.6.0
Compare Source
==================
app.del()
-- useapp.delete()
insteadres.json(obj, status)
-- useres.json(status, obj)
insteadres.json(status, num)
requiresres.status(status).json(num)
res.jsonp(obj, status)
-- useres.jsonp(status, obj)
insteadres.jsonp(status, num)
requiresres.status(status).jsonp(num)
app.purge
router.purge
app.all
res.appendHeader
res.headerSent
to return Booleanres.headersSent
for node.js 0.8enable()
methodv3.5.3
Compare Source
==================
req.host
for IPv6 literalsres.jsonp
error if callback param is objectv3.5.2
Compare Source
==================
v3.5.1
Compare Source
==================
v3.5.0
Compare Source
==================
v3.4.8
Compare Source
==================
v3.4.7
Compare Source
==================
v3.4.6
Compare Source
==================
v3.4.5
Compare Source
==================
v3.4.4
Compare Source
==================
v3.4.3
Compare Source
==================
v3.4.2
Compare Source
==================
v3.4.1
Compare Source
==================
v3.4.0
Compare Source
==================
v3.3.8
Compare Source
==================
v3.3.7
Compare Source
==================
v3.3.6
Compare Source
==================
v3.3.5
Compare Source
v3.3.4
Compare Source
==================
v3.3.3
Compare Source
==================
v3.3.2
Compare Source
==================
v3.3.1
Compare Source
==================
v3.3.0
Compare Source
==================
v3.2.6
Compare Source
==================
v3.2.5
Compare Source
==================
v3.2.4
Compare Source
==================
req.subdomains
when no Host is presentreq.host
when no Host is present, return undefinedv3.2.3
Compare Source
==================
v3.2.2
Compare Source
==================
v3.2.1
Compare Source
==================
v3.2.0
Compare Source
==================
v3.1.2
Compare Source
==================
v3.1.1
Compare Source
==================
req.host
v3.1.0
Compare Source
==================
res.set()
req.subdomains
res.location(url)
implementingres.redirect()
-like setting of Locationreq.auth
v3.0.6
Compare Source
==================
res.cookie()
options objectv3.0.5
Compare Source
==================
v3.0.4
Compare Source
==================
res.send()
Etagsres.redirect()
for old browsers interpreting as html
v3.0.3
Compare Source
==================
v3.0.2
Compare Source
==================
v3.0.1
==================