Update dependency express to v3.11.0 #324
Open
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.5.1
->3.11.0
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
expressjs/express
v3.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
==================