Socket
Socket
Sign inDemoInstall

proxy-agent

Package Overview
Dependencies
100
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

7

History.md
1.1.0 / 2014-01-12
==================
* gitignore: ignore development test files
* index: use "pac-proxy-agent" for "pac+*" proxy URLs
* package: update "lru-cache" to v2.5.0
1.0.0 / 2013-11-21

@@ -3,0 +10,0 @@ ==================

@@ -10,2 +10,3 @@

var HttpsProxyAgent = require('https-proxy-agent');
var PacProxyAgent = require('pac-proxy-agent');
var SocksProxyAgent = require('socks-proxy-agent');

@@ -43,2 +44,6 @@

PacProxyAgent.protocols.forEach(function (protocol) {
exports.proxies['pac+' + protocol] = pacProxy;
});
/**

@@ -141,2 +146,14 @@ * Attempts to get an `http.Agent` instance based off of the given proxy URI

/**
* Default "pac+*" proxy URI handler.
*
* @api protected
*/
function pacProxy (proxy, secure) {
var agent = new PacProxyAgent(proxy, secure);
agent.secureEndpoint = secure;
return agent;
}
/**
* Returns an Array of supported protocol string names.

@@ -143,0 +160,0 @@ *

5

package.json
{
"name": "proxy-agent",
"version": "1.0.0",
"version": "1.1.0",
"description": "Maps proxy protocols to `http.Agent` implementations",

@@ -31,4 +31,5 @@ "main": "index.js",

"https-proxy-agent": "0",
"pac-proxy-agent": "0",
"socks-proxy-agent": "0",
"lru-cache": "~2.3.1"
"lru-cache": "~2.5.0"
},

@@ -35,0 +36,0 @@ "devDependencies": {

2

README.md

@@ -20,2 +20,3 @@ proxy-agent

| `socks` | [socks-proxy-agent][] | [socks-proxy-agent][] | `socks://some-socks-proxy.com:9050`
| `pac` | [pac-proxy-agent][] | [pac-proxy-agent][] | `pac+http://www.example.com/proxy.pac`

@@ -101,1 +102,2 @@

[socks-proxy-agent]: https://github.com/TooTallNate/node-socks-proxy-agent
[pac-proxy-agent]: https://github.com/TooTallNate/node-pac-proxy-agent

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc