opentok-node
opentok-node copied to clipboard
Update dependency express
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| express (source) | dependencies | minor | ~4.12.2 -> ~4.15.5 |
| express (source) | dependencies | major | ^3.5.0 -> ^4.0.0 |
By merging this PR, the issue #275 will be automatically resolved and closed:
| Severity | CVE | |
|---|---|---|
High |
7.5 | CVE-2017-16119 |
By merging this PR, the issue #272 will be automatically resolved and closed:
| Severity | CVE | |
|---|---|---|
High |
9.1 | WS-2018-0111 |
Release Notes
expressjs/express
v4.15.5
===================
- deps: [email protected]
- deps: finalhandler@~1.0.6
- deps: [email protected]
- deps: parseurl@~1.3.2
- deps: [email protected]
- Fix handling of modified headers with invalid dates
- perf: improve ETag match loop
- perf: improve
If-None-Matchtoken parsing
- deps: [email protected]
- Fix handling of modified headers with invalid dates
- deps: [email protected]
- deps: etag@~1.8.1
- deps: [email protected]
- perf: improve
If-Matchtoken parsing
- deps: [email protected]
- deps: parseurl@~1.3.2
- deps: [email protected]
- perf: improve slash collapsing
v4.15.4
===================
- deps: [email protected]
- deps: depd@~1.1.1
- Remove unnecessary
Bufferloading
- Remove unnecessary
- deps: finalhandler@~1.0.4
- deps: [email protected]
- deps: proxy-addr@~1.1.5
- Fix array argument being altered
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- deps: depd@~1.1.1
- deps: http-errors@~1.6.2
- deps: [email protected]
- deps: [email protected]
v4.15.3
===================
- Fix error when
res.setcannot add charset toContent-Type - deps: [email protected]
- Fix
DEBUG_MAX_ARRAY_LENGTH - deps: [email protected]
- Fix
- deps: finalhandler@~1.0.3
- Fix missing
</html>in HTML document - deps: [email protected]
- Fix missing
- deps: proxy-addr@~1.1.4
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- deps: [email protected]
- deps: type-is@~1.6.15
- deps: mime-types@~2.1.15
- deps: vary@~1.1.1
- perf: hoist regular expression
v4.15.2
===================
- deps: [email protected]
- Fix regression parsing keys starting with
[
- Fix regression parsing keys starting with
v4.15.1
===================
- deps: [email protected]
- Fix issue when
Date.parsedoes not returnNaNon invalid date - Fix strict violation in broken environments
- Fix issue when
- deps: [email protected]
- Fix issue when
Date.parsedoes not returnNaNon invalid date - deps: [email protected]
- Fix issue when
v4.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
v4.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
v4.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 improvements
- 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 concatenation 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 contiguous
- 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
v4.13.4
===================
- deps: [email protected]
- perf: enable strict mode
- deps: [email protected]
- Throw on invalid values provided to
serialize
- Throw on invalid values provided to
- deps: depd@~1.1.0
- Support web browser loading
- perf: enable strict mode
- deps: escape-html@~1.0.3
- perf: enable strict mode
- perf: optimize string replacement
- perf: use faster string coercion
- deps: [email protected]
- deps: escape-html@~1.0.3
- deps: [email protected]
- perf: enable strict mode
- deps: methods@~1.1.2
- perf: enable strict mode
- deps: parseurl@~1.3.1
- perf: enable strict mode
- deps: proxy-addr@~1.0.10
- deps: [email protected]
- perf: enable strict mode
- deps: range-parser@~1.0.3
- perf: enable strict mode
- deps: [email protected]
- deps: depd@~1.1.0
- deps: destroy@~1.0.4
- deps: escape-html@~1.0.3
- deps: range-parser@~1.0.3
- deps: serve-static@~1.10.2
- deps: escape-html@~1.0.3
- deps: parseurl@~1.3.0
- deps: [email protected]
v4.13.3
===================
- Fix infinite loop condition using
mergeParams: true - Fix inner numeric indices incorrectly altering parent
req.params
v4.13.2
===================
- deps: accepts@~1.2.12
- deps: mime-types@~2.1.4
- deps: [email protected]
- perf: enable strict mode
- deps: [email protected]
- Fix regression with escaped round brackets and matching groups
- deps: type-is@~1.6.6
- deps: mime-types@~2.1.4
v4.13.1
===================
- deps: accepts@~1.2.10
- deps: mime-types@~2.1.2
- deps: [email protected]
- Fix dropping parameters like
hasOwnProperty - Fix various parsing edge cases
- Fix dropping parameters like
- deps: type-is@~1.6.4
- deps: mime-types@~2.1.2
- perf: enable strict mode
- perf: remove argument reassignment
v4.13.0
===================
- Add settings to debug output
- Fix
res.formaterror when onlydefaultprovided - Fix issue where
next('route')inapp.paramwould incorrectly skip values - Fix hiding platform issues with
decodeURIComponent- Only
URIErrors are a 400
- Only
- Fix using
*before params in routes - Fix using capture groups before params in routes
- Simplify
res.cookieto callres.append - Use
array-flattenmodule for flattening arrays - deps: accepts@~1.2.9
- deps: mime-types@~2.1.1
- perf: avoid argument reassignment & argument slice
- perf: avoid negotiator recursive construction
- perf: enable strict mode
- perf: remove unnecessary bitwise operator
- deps: [email protected]
- perf: deduce the scope of try-catch deopt
- perf: remove argument reassignments
- deps: [email protected]
- deps: etag@~1.7.0
- Always include entity length in ETags for hash length extensions
- Generate non-Stats ETags using MD5 only (no longer CRC32)
- Improve stat performance by removing hashing
- Improve support for JXcore
- Remove base64 padding in ETags to shorten
- Support "fake" stats objects in environments without fs
- Use MD5 instead of MD4 in weak ETags over 1KB
- deps: [email protected]
- Fix a false-positive when unpiping in Node.js 0.8
- Support
statusCodeproperty onErrorobjects - Use
unpipemodule for unpiping requests - deps: [email protected]
- deps: on-finished@~2.3.0
- perf: enable strict mode
- perf: remove argument reassignment
- deps: [email protected]
- Add weak
ETagmatching support
- Add weak
- deps: on-finished@~2.3.0
- Add defined behavior for HTTP
CONNECTrequests - Add defined behavior for HTTP
Upgraderequests - deps: [email protected]
- Add defined behavior for HTTP
- deps: [email protected]
- deps: [email protected]
- Allow Node.js HTTP server to set
Dateresponse header - Fix incorrectly removing
Content-Locationon 304 response - Improve the default redirect response headers
- Send appropriate headers on default error response
- Use
http-errorsfor standard emitted errors - Use
statusesinstead ofhttpmodule for status messages - deps: [email protected]
- deps: etag@~1.7.0
- deps: [email protected]
- deps: on-finished@~2.3.0
- perf: enable strict mode
- perf: remove unnecessary array allocations
- Allow Node.js HTTP server to set
- deps: serve-static@~1.10.0
- Add
fallthroughoption - Fix reading options from options prototype
- Improve the default redirect response headers
- Malformed URLs now
next()instead of 400 - deps: [email protected]
- deps: [email protected]
- perf: enable strict mode
- perf: remove argument reassignment
- Add
- deps: type-is@~1.6.3
- deps: mime-types@~2.1.1
- perf: reduce try block size
- perf: remove bitwise operations
- perf: enable strict mode
- perf: isolate
app.rendertry block - perf: remove argument reassignments in application
- perf: remove argument reassignments in request prototype
- perf: remove argument reassignments in response prototype
- perf: remove argument reassignments in routing
- perf: remove argument reassignments in
View - perf: skip attempting to decode zero length string
- perf: use saved reference to
http.STATUS_CODES
v4.12.4
===================
- deps: accepts@~1.2.7
- deps: mime-types@~2.0.11
- deps: [email protected]
- deps: debug@~2.2.0
- deps: [email protected]
- deps: depd@~1.0.1
- deps: etag@~1.6.0
- Improve support for JXcore
- Support "fake" stats objects in environments without
fs
- deps: [email protected]
- deps: debug@~2.2.0
- deps: on-finished@~2.2.1
- deps: on-finished@~2.2.1
- Fix
isFinished(req)when data buffered
- Fix
- deps: proxy-addr@~1.0.8
- deps: [email protected]
- deps: [email protected]
- Fix allowing parameters like
constructor
- deps: [email protected]
- deps: debug@~2.2.0
- deps: depd@~1.0.1
- deps: etag@~1.6.0
- deps: [email protected]
- deps: on-finished@~2.2.1
- deps: serve-static@~1.9.3
- deps: [email protected]
- deps: type-is@~1.6.2
- deps: mime-types@~2.0.11
v4.12.3
===================
- deps: accepts@~1.2.5
- deps: mime-types@~2.0.10
- deps: debug@~2.1.3
- Fix high intensity foreground color for bold
- deps: [email protected]
- deps: [email protected]
- deps: debug@~2.1.3
- deps: proxy-addr@~1.0.7
- deps: [email protected]
- deps: [email protected]
- Fix error when parameter
hasOwnPropertyis present
- Fix error when parameter
- deps: [email protected]
- Throw errors early for invalid
extensionsorindexoptions - deps: debug@~2.1.3
- Throw errors early for invalid
- deps: serve-static@~1.9.2
- deps: [email protected]
- deps: type-is@~1.6.1
- deps: mime-types@~2.0.10
- [ ] If you want to rebase/retry this PR, click this checkbox.
High