proxy-chain
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -51,6 +51,6 @@ 'use strict'; | ||
server.on('requestFailed', function (_ref) { | ||
var err = _ref.err, | ||
var error = _ref.error, | ||
request = _ref.request; | ||
console.error('Request failed (' + (request ? request.url : 'N/A') + '): ' + (err.stack || err)); | ||
console.error('Request failed (' + (request ? request.url : 'N/A') + '): ' + (error.stack || error)); | ||
}); | ||
@@ -57,0 +57,0 @@ |
@@ -431,3 +431,3 @@ 'use strict'; | ||
this.sendResponse(request.socket, 500, null, 'Internal error in proxy server'); | ||
this.emit('requestFailed', { err: err, request: request }); | ||
this.emit('requestFailed', { error: err, request: request }); | ||
} | ||
@@ -434,0 +434,0 @@ |
@@ -0,1 +1,5 @@ | ||
0.2.3 / 2018-06-21 | ||
=================== | ||
- Bugfix: 'requestFailed' was emitting `{ request, err }` instead of `{ request, error }` | ||
0.2.2 / 2018-06-19 | ||
@@ -2,0 +6,0 @@ =================== |
{ | ||
"name": "proxy-chain", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Node.js implementation of a proxy server (think Squid) with support for SSL, authentication, upstream proxy chaining, and protocol tunneling.", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
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
116336