Comparing version 4.12.0 to 4.12.1
@@ -31,4 +31,4 @@ /** | ||
mixin(app, proto); | ||
mixin(app, EventEmitter.prototype); | ||
mixin(app, EventEmitter.prototype, false); | ||
mixin(app, proto, false); | ||
@@ -35,0 +35,0 @@ app.request = { __proto__: req, app: app }; |
@@ -271,3 +271,3 @@ /** | ||
if (!trust(this.connection.remoteAddress)) { | ||
if (!trust(this.connection.remoteAddress, 0)) { | ||
return proto; | ||
@@ -382,3 +382,3 @@ } | ||
if (!host || !trust(this.connection.remoteAddress)) { | ||
if (!host || !trust(this.connection.remoteAddress, 0)) { | ||
host = this.get('Host'); | ||
@@ -385,0 +385,0 @@ } |
@@ -952,3 +952,3 @@ /*! | ||
var err = new Error('Request aborted'); | ||
err.code = 'ECONNABORT'; | ||
err.code = 'ECONNABORTED'; | ||
callback(err); | ||
@@ -988,2 +988,3 @@ } | ||
function onfinish(err) { | ||
if (err && err.code === 'ECONNRESET') return onaborted(); | ||
if (err) return onerror(err); | ||
@@ -990,0 +991,0 @@ if (done) return; |
{ | ||
"name": "express", | ||
"description": "Fast, unopinionated, minimalist web framework", | ||
"version": "4.12.0", | ||
"version": "4.12.1", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -40,2 +40,3 @@ "contributors": [ | ||
"fresh": "0.2.4", | ||
"merge-descriptors": "1.0.0", | ||
"methods": "~1.1.1", | ||
@@ -53,3 +54,2 @@ "on-finished": "~2.2.0", | ||
"cookie": "0.1.2", | ||
"merge-descriptors": "0.0.2", | ||
"utils-merge": "1.0.0" | ||
@@ -65,3 +65,2 @@ }, | ||
"supertest": "~0.15.0", | ||
"hjs": "~0.0.6", | ||
"body-parser": "~1.12.0", | ||
@@ -68,0 +67,0 @@ "connect-redis": "~2.2.0", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
173796
16
3102
+ Addedmerge-descriptors@1.0.0(transitive)
- Removedmerge-descriptors@0.0.2(transitive)
Updatedmerge-descriptors@1.0.0