Socket
Socket
Sign inDemoInstall

pac-proxy-agent

Package Overview
Dependencies
55
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 2.0.0

9

History.md
2.0.0 / 2017-06-13
==================
* [BREAKING] drop support for Node < 4
* update "socks-proxy-agent" to v3
* use `Object.assign()`
* add 'use strict'
* update dependencies
1.1.0 / 2017-06-11

@@ -3,0 +12,0 @@ ==================

7

index.js

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

'use strict';
/**

@@ -27,3 +29,2 @@ * Module exports.

var format = require('url').format;
var extend = require('extend');
var Agent = require('agent-base');

@@ -200,3 +201,3 @@ var HttpProxyAgent = require('http-proxy-agent');

}
url = format(extend({}, opts, {
url = format(Object.assign({}, opts, {
protocol: secure ? 'https:' : 'http:',

@@ -254,3 +255,3 @@ pathname: path,

var proxyURL = ('HTTPS' === type ? 'https' : 'http') + '://' + parts[1];
var proxy = extend({}, self.proxy, parse(proxyURL));
var proxy = Object.assign({}, self.proxy, parse(proxyURL));
if (secure) {

@@ -257,0 +258,0 @@ agent = new HttpsProxyAgent(proxy);

{
"name": "pac-proxy-agent",
"version": "1.1.0",
"version": "2.0.0",
"description": "A PAC file proxy `http.Agent` implementation for HTTP",

@@ -30,11 +30,10 @@ "main": "index.js",

"dependencies": {
"agent-base": "2",
"debug": "2",
"extend": "3",
"get-uri": "2",
"http-proxy-agent": "1",
"https-proxy-agent": "1",
"pac-resolver": "~2.0.0",
"socks-proxy-agent": "2",
"raw-body": "2"
"agent-base": "^2.1.1",
"debug": "^2.6.8",
"get-uri": "^2.0.0",
"http-proxy-agent": "^1.0.0",
"https-proxy-agent": "^1.0.0",
"pac-resolver": "^3.0.0",
"raw-body": "^2.2.0",
"socks-proxy-agent": "^3.0.0"
},

@@ -41,0 +40,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc