[Doppins] Upgrade dependency express to ~4.16.1
Hi!
A new version was just released of express, so Doppins
has upgraded your project's dependency ranges.
Make sure that it doesn't break anything, and happy merging! :shipit:
Upgraded express from ~4.13.4 to ~4.15.2
Changelog:
Version 5.0.0-alpha.4
This is the fourth Express 5.0 alpha release, based off 4.15.0 and includes changes from 5.0.0-alpha.3.
- remove:
- Remove Express 3.x middleware error stubs
- deps: router@~1.3.0
- Add
next("router")to exit from router - Fix case where
router.useskipped requests routes did not - Skip routing when
req.urlis not set - Use
%oin path debug to tell types apart - deps: [email protected]
- deps: [email protected]
- perf: add fast match path for
*route
- Add
Version 4.15.0
- Add debug message when loading view engine
- Add
next("router")to exit from router - Fix case where
router.useskipped requests routes did not - Remove usage of
res._headersprivate field- Improves compatibility with Node.js 8 nightly
- Skip routing when
req.urlis not set - Use
%oin path debug to tell types apart - Use
Object.createto setup request & response prototypes - Use
setprototypeofmodule to replace__proto__setting - Use
statusesinstead ofhttpmodule for status messages - deps: [email protected]
- Allow colors in workers
- Deprecated
DEBUG_FDenvironment variable set to3or higher - Fix error when running under React Native
- Use same color for same namespace
- deps: [email protected]
- deps: etag@~1.8.0
- Use SHA1 instead of MD5 for ETag hashing
- Works with FIPS 140-2 OpenSSL configuration
- deps: finalhandler@~1.0.0
- Fix exception when
errcannot be converted to a string - Fully URL-encode the pathname in the 404
- Only include the pathname in the 404 message
- Send complete HTML document
- Set
Content-Security-Policy: default-src 'self'header - deps: [email protected]
- Fix exception when
- deps: [email protected]
- Fix false detection of
no-cacherequest directive - Fix incorrect result when
If-None-Matchhas both*and ETags - Fix weak
ETagmatching to match spec - perf: delay reading header values until needed
- perf: enable strict mode
- perf: hoist regular expressions
- perf: remove duplicate conditional
- perf: remove unnecessary boolean coercions
- perf: skip checking modified time if ETag check failed
- perf: skip parsing
If-None-Matchwhen noETagheader - perf: use
Date.parseinstead ofnew Date
- Fix false detection of
- deps: [email protected]
- Fix array parsing from skipping empty values
- Fix compacting nested arrays
- deps: [email protected]
- Fix false detection of
no-cacherequest directive - Fix incorrect result when
If-None-Matchhas both*and ETags - Fix weak
ETagmatching to match spec - Remove usage of
res._headersprivate field - Support
If-MatchandIf-Unmodified-Sinceheaders - Use
res.getHeaderNames()when available - Use
res.headersSentwhen available - deps: [email protected]
- deps: etag@~1.8.0
- deps: [email protected]
- deps: http-errors@~1.6.1
- Fix false detection of
- deps: [email protected]
- Fix false detection of
no-cacherequest directive - Fix incorrect result when
If-None-Matchhas both*and ETags - Fix weak
ETagmatching to match spec - Remove usage of
res._headersprivate field - Send complete HTML document in redirect response
- Set default CSP header in redirect response
- Support
If-MatchandIf-Unmodified-Sinceheaders - Use
res.getHeaderNames()when available - Use
res.headersSentwhen available - deps: [email protected]
- Fix false detection of
- perf: add fast match path for
*route - perf: improve
req.ipsperformance
Version 5.0.0-alpha.3
This is the third Express 5.0 alpha release, based off 4.14.1 and includes changes from 5.0.0-alpha.2.
- remove:
-
res.json(status, obj)signature - useres.status(status).json(obj) -
res.jsonp(status, obj)signature - useres.status(status).jsonp(obj) -
res.vary()(no arguments) -- provide a field name as an argument
-
- deps: [email protected]
- deps: [email protected]
- deps: router@~1.1.5
- deps: [email protected]
- deps: methods@~1.1.2
- deps: parseurl@~1.3.1
- deps: [email protected]
Version 4.14.1
- deps: [email protected]
- deps: [email protected]
- Fix exception when
err.headersis not an object - deps: statuses@~1.3.1
- perf: hoist regular expressions
- perf: remove duplicate validation path
- Fix exception when
- deps: proxy-addr@~1.1.3
- deps: [email protected]
- deps: [email protected]
- deps: http-errors@~1.5.1
- deps: [email protected]
- deps: statuses@~1.3.1
- deps: serve-static@~1.11.2
- deps: [email protected]
- deps: type-is@~1.6.14
- deps: mime-types@~2.1.13
Version 4.14.0
- Add
acceptRangesoption tores.sendFile/res.sendfile - Add
cacheControloption tores.sendFile/res.sendfile - Add
optionsargument toreq.range- Includes the
combineoption
- Includes the
- Encode URL in
res.location/res.redirectif not already encoded - Fix some redirect handling in
res.sendFile/res.sendfile - Fix Windows absolute path check using forward slashes
- Improve error with invalid arguments to
req.get() - Improve performance for
res.json/res.jsonpin most cases - Improve
Rangeheader handling inres.sendFile/res.sendfile - deps: accepts@~1.3.3
- Fix including type extensions in parameters in
Acceptparsing - Fix parsing
Acceptparameters with quoted equals - Fix parsing
Acceptparameters with quoted semicolons - Many performance improvments
- deps: mime-types@~2.1.11
- deps: [email protected]
- Fix including type extensions in parameters in
- deps: content-type@~1.0.2
- perf: enable strict mode
- deps: [email protected]
- Add
sameSiteoption - Fix cookie
Max-Ageto never be a floating point number - Improve error message when
encodeis not a function - Improve error message when
expiresis not aDate - Throw better error for invalid argument to parse
- Throw on invalid values provided to
serialize - perf: enable strict mode
- perf: hoist regular expression
- perf: use for loop in parse
- perf: use string concatination for serialization
- Add
- deps: [email protected]
- Change invalid or non-numeric status code to 500
- Overwrite status message to match set status code
- Prefer
err.statusCodeiferr.statusis invalid - Set response headers from
err.headersobject - Use
statusesinstead ofhttpmodule for status messages
- deps: proxy-addr@~1.1.2
- Fix accepting various invalid netmasks
- Fix IPv6-mapped IPv4 validation edge cases
- IPv4 netmasks must be contingous
- IPv6 addresses cannot be used as a netmask
- deps: [email protected]
- deps: [email protected]
- Add
decoderoption inparsefunction
- Add
- deps: range-parser@~1.2.0
- Add
combineoption to combine overlapping ranges - Fix incorrectly returning -1 when there is at least one valid range
- perf: remove internal function
- Add
- deps: [email protected]
- Add
acceptRangesoption - Add
cacheControloption - Attempt to combine multiple ranges into single range
- Correctly inherit from
Streamclass - Fix
Content-Rangeheader in 416 responses when usingstart/endoptions - Fix
Content-Rangeheader missing from default 416 responses - Fix redirect error when
pathcontains raw non-URL characters - Fix redirect when
pathstarts with multiple forward slashes - Ignore non-byte
Rangeheaders - deps: http-errors@~1.5.0
- deps: range-parser@~1.2.0
- deps: statuses@~1.3.0
- perf: remove argument reassignment
- Add
- deps: serve-static@~1.11.1
- Add
acceptRangesoption - Add
cacheControloption - Attempt to combine multiple ranges into single range
- Fix redirect error when
req.urlcontains raw non-URL characters - Ignore non-byte
Rangeheaders - Use status code 301 for redirects
- deps: [email protected]
- Add
- deps: type-is@~1.6.13
- Fix type error when given invalid type to match against
- deps: mime-types@~2.1.11
- deps: vary@~1.1.0
- Only accept valid field names in the
fieldargument
- Only accept valid field names in the
- perf: use strict equality when possible
Version 5.0.0-alpha.2
This is the second Express 5.0 alpha release, based off 4.13.1 and includes changes from 5.0.0-alpha.1.
- remove:
-
app.param(fn) -
req.param()-- usereq.params,req.body, orreq.queryinstead
-
- change:
-
res.rendercallback is always async, even for sync view engines - The leading
:character innameforapp.param(name, fn)is no longer removed - Use
routermodule for routing - Use
path-is-absolutemodule for absolute path detection
-
Version 5.0.0-alpha.1
- remove:
-
app.del- useapp.delete -
req.acceptsCharset- usereq.acceptsCharsets -
req.acceptsEncoding- usereq.acceptsEncodings -
req.acceptsLanguage- usereq.acceptsLanguages -
res.json(obj, status)signature - useres.json(status, obj) -
res.jsonp(obj, status)signature - useres.jsonp(status, obj) -
res.send(body, status)signature - useres.send(status, body) -
res.send(status)signature - useres.sendStatus(status) -
res.sendfile- useres.sendFileinstead -
express.querymiddleware
-
- change:
-
req.hostnow returns host (hostname:port) - usereq.hostnamefor only hostname -
req.queryis now a getter instead of a plain property
-
- add:
-
app.routeris a reference to the base router
-
An additional new version was just released of express, so we've added an
extra commit upgrading your range to ~4.15.3.
Hope that's alright! — Doppins
An additional new version was just released of express, so we've added an
extra commit upgrading your range to ~4.15.4.
Hope that's alright! — Doppins
An additional new version was just released of express, so we've added an
extra commit upgrading your range to ~4.15.5.
Hope that's alright! — Doppins
An additional new version was just released of express, so we've added an
extra commit upgrading your range to ~4.16.0.
Hope that's alright! — Doppins
An additional new version was just released of express, so we've added an
extra commit upgrading your range to ~4.16.1.
Hope that's alright! — Doppins