get-url-proxy
Advanced tools
Comparing version 1.0.0 to 1.0.1
module.exports = function normalizeProtocols(protocol) { | ||
var prot = protocol.trim().toUpperCase().replace(/[\:\/]+$/, ''); | ||
var prot = String(protocol || 'HTTP').trim().toUpperCase().replace(/[\:\/]+$/, ''); | ||
switch (prot) { | ||
@@ -4,0 +4,0 @@ case 'HTTP': return ['HTTP', 'HTTPS']; |
{ | ||
"name": "get-url-proxy", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "get-url-proxy will return the applicable proxy to use for a given URL based on NO_PROXY and PROT_PROXY environment variables", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
4997