pac-proxy-agent
Advanced tools
Comparing version 0.1.2 to 0.2.0
0.2.0 / 2014-11-10 | ||
================== | ||
* index: add reference link for Chrome's "HTTPS" support | ||
* index: throw an error for unknown proxy types (#2, @michaelansel) | ||
* index: support HTTPS proxies (#2, @michaelansel) | ||
* package: alloy any "debug" v2 | ||
0.1.2 / 2014-04-04 | ||
@@ -3,0 +11,0 @@ ================== |
@@ -244,5 +244,11 @@ | ||
agent = ProxyAgent('http://' + parts[1], secure); | ||
} else if ('HTTPS' == type) { | ||
// use an HTTPS proxy | ||
// http://dev.chromium.org/developers/design-documents/secure-web-proxy | ||
agent = ProxyAgent('https://' + parts[1], secure); | ||
} else if ('SOCKS' == type) { | ||
// use a SOCKS proxy | ||
agent = ProxyAgent('socks://' + parts[1], secure); | ||
} else { | ||
throw new Error('Unknown proxy type: ' + type); | ||
} | ||
@@ -249,0 +255,0 @@ if (agent) agent.callback(req, opts, fn); |
{ | ||
"name": "pac-proxy-agent", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "A PAC file proxy `http.Agent` implementation for HTTP", | ||
@@ -36,3 +36,3 @@ "main": "index.js", | ||
"stream-to-array": "~1.0.0", | ||
"debug": "~0.8.0" | ||
"debug": "2" | ||
}, | ||
@@ -39,0 +39,0 @@ "devDependencies": { |
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
12981
236
- Removeddebug@0.8.1(transitive)
Updateddebug@2