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

proxy-chain

Package Overview
Dependencies
Maintainers
2
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.13 to 0.1.14

4

build/handler_forward.js

@@ -95,3 +95,3 @@ 'use strict';

reqOpts.headers[headerName] = headerValue;
(0, _tools.addHeader)(reqOpts.headers, headerName, headerValue);
}

@@ -177,3 +177,3 @@

headers[headerName] = headerValue;
(0, _tools.addHeader)(headers, headerName, headerValue);
}

@@ -180,0 +180,0 @@

@@ -6,3 +6,3 @@ 'use strict';

});
exports.parseProxyAuthorizationHeader = exports.redactParsedUrl = exports.redactUrl = exports.parseUrl = exports.isInvalidHeader = exports.isHopByHopHeader = exports.parseHostHeader = undefined;
exports.addHeader = exports.parseProxyAuthorizationHeader = exports.redactParsedUrl = exports.redactUrl = exports.parseUrl = exports.isInvalidHeader = exports.isHopByHopHeader = exports.parseHostHeader = undefined;

@@ -174,2 +174,12 @@ var _url = require('url');

};
*/
*/
var addHeader = exports.addHeader = function addHeader(headers, name, value) {
if (headers[name] === undefined) {
headers[name] = value;
} else if (Array.isArray(headers[name])) {
headers[name].push(value);
} else {
headers[name] = [headers[name], value];
}
};

@@ -1,3 +0,7 @@

0.0.x / 2017-11-06
0.1.14 / 2017-12-19
==================
- added support for multiple headers with the same name (thx shershennm)
0.0.1 / 2017-11-06
==================
- Project created
{
"name": "proxy-chain",
"version": "0.1.13",
"version": "0.1.14",
"description": "Node.js implementation of a proxy server (think Squid) with support for SSL, authentication and upstream proxy chaining.",

@@ -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