Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

proxy-chain

Package Overview
Dependencies
Maintainers
4
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxy-chain - npm Package Compare versions

Comparing version 0.1.35 to 0.2.1

7

build/run_locally.js

@@ -50,4 +50,7 @@ 'use strict';

server.on('requestFailed', function (err) {
console.error('Request failed: ' + (err.stack || err));
server.on('requestFailed', function (_ref) {
var err = _ref.err,
request = _ref.request;
console.error('Request failed (' + (request ? request.url : 'N/A') + '): ' + (err.stack || err));
});

@@ -54,0 +57,0 @@

@@ -104,4 +104,4 @@ 'use strict';

* Represents the proxy server.
* It emits 'requestFailed' event on unexpected request errors.
* It emits 'connectionClosed' event when connection to proxy server is closed.
* It emits the 'requestFailed' event on unexpected request errors, with the following parameter `{ error, request }`.
* It emits the 'connectionClosed' event when connection to proxy server is closed, with parameter `{ connectionId, stats }`.
*/

@@ -432,3 +432,3 @@

this.sendResponse(request.socket, 500, null, 'Internal error in proxy server');
this.emit('requestFailed', err);
this.emit('requestFailed', { err: err, request: request });
}

@@ -435,0 +435,0 @@

@@ -0,1 +1,5 @@

0.2.1 / 2018-06-19
===================
- BREAKING: The 'requestFailed' event now emits object `{ request, error }` instead of just `error`
0.1.35 / 2018-06-12

@@ -2,0 +6,0 @@ ===================

{
"name": "proxy-chain",
"version": "0.1.35",
"version": "0.2.1",
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc