Comparing version 1.0.2 to 1.1.0
@@ -25,3 +25,3 @@ 'use strict'; | ||
var uriProtocol = opts.protocol === 'https' ? 'https' : 'http'; | ||
var proxyProtocol = proxy.protocol === 'https' ? 'Https' : 'Http'; | ||
var proxyProtocol = proxy.protocol === 'https:' ? 'Https' : 'Http'; | ||
var port = proxy.port || (proxyProtocol === 'Https' ? 443 : 80); | ||
@@ -28,0 +28,0 @@ var method = [uriProtocol, proxyProtocol].join('Over'); |
{ | ||
"name": "caw", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "Construct HTTP/HTTPS agents for tunneling proxies", | ||
@@ -13,3 +13,3 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "xo && tap test.js -t2" | ||
"test": "xo && tap test/test.js -t2" | ||
}, | ||
@@ -35,2 +35,4 @@ "engines": { | ||
"devDependencies": { | ||
"proxyquire": "^1.6.0", | ||
"sinon": "^1.15.4", | ||
"tap": "^1.3.1", | ||
@@ -37,0 +39,0 @@ "xo": "*" |
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
3421
4