Socket
Socket
Sign inDemoInstall

proxy-agent

Package Overview
Dependencies
57
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.1.0

8

History.md
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 @@ ==================

3

index.js

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

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