proxy-check
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -16,7 +16,7 @@ const http = require('http'); | ||
if (typeOf p === 'object') { | ||
if (typeof p === 'object') { | ||
if (Array.isArray(p)) { | ||
if (typeOf p[0] === 'object') { | ||
if (typeof p[0] === 'object') { | ||
proxy = p[0]; | ||
} else if (typeOf p === 'string') { | ||
} else if (typeof p === 'string') { | ||
p = p[0]; | ||
@@ -29,3 +29,3 @@ } else { | ||
if (typeOf p === 'string') { | ||
if (typeof p === 'string') { | ||
if (p.indexOf('@') + 1) { | ||
@@ -32,0 +32,0 @@ proxy.proxyAuth = p.split('@')[0]; |
{ | ||
"name": "proxy-check", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Check proxy for NodeJS", | ||
@@ -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