proxy-agent
Advanced tools
Comparing version 2.0.0 to 2.1.0
2.1.0 / 2017-07-20 | ||
================== | ||
* add `use strict` | ||
* drop "string" from error message | ||
* update pac-proxy-agent package | ||
* test modern Node.js versions with Travis-CI, drop older versions | ||
2.0.0 / 2015-07-15 | ||
@@ -3,0 +11,0 @@ ================== |
@@ -0,1 +1,2 @@ | ||
'use strict'; | ||
@@ -96,3 +97,3 @@ /** | ||
if (!protocol) { | ||
throw new TypeError('You must specify a string "protocol" for the ' + | ||
throw new TypeError('You must specify a "protocol" for the ' + | ||
'proxy type (' + types().join(', ') + ')'); | ||
@@ -99,0 +100,0 @@ } |
{ | ||
"name": "proxy-agent", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Maps proxy protocols to `http.Agent` implementations", | ||
@@ -35,3 +35,3 @@ "main": "index.js", | ||
"lru-cache": "~2.6.5", | ||
"pac-proxy-agent": "1", | ||
"pac-proxy-agent": "^2.0.0", | ||
"socks-proxy-agent": "2" | ||
@@ -38,0 +38,0 @@ }, |
@@ -123,3 +123,3 @@ | ||
return 'TypeError' === e.name && | ||
/must specify a string "protocol"/.test(e.message) && | ||
/must specify a "protocol"/.test(e.message) && | ||
/\bhttp\b/.test(e.message) && | ||
@@ -126,0 +126,0 @@ /\bhttps\b/.test(e.message) && |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
21417
400
4
+ Addedagent-base@4.3.0(transitive)
+ Addedco@4.6.0(transitive)
+ Addeddebug@3.1.03.2.7(transitive)
+ Addedes6-promise@4.2.8(transitive)
+ Addedes6-promisify@5.0.0(transitive)
+ Addedhttp-proxy-agent@2.1.0(transitive)
+ Addedhttps-proxy-agent@2.2.4(transitive)
+ Addedms@2.1.3(transitive)
+ Addedpac-proxy-agent@2.0.2(transitive)
+ Addedpac-resolver@3.0.0(transitive)
+ Addedsocks-proxy-agent@3.0.1(transitive)
- Removedco@3.0.6(transitive)
- Removedip@1.0.1(transitive)
- Removedpac-proxy-agent@1.1.0(transitive)
- Removedpac-resolver@2.0.0(transitive)
Updatedpac-proxy-agent@^2.0.0