Comparing version 0.0.9 to 0.1.0
@@ -409,5 +409,5 @@ /** | ||
if (item.attachment && is(item.value).a(String)) { | ||
if (does(value).contain('http://') || does(value).contain('https://')) { | ||
if (does(item.value).contain('http://') || does(item.value).contain('https://')) { | ||
item.value = Unirest.require(item.value); | ||
} else if (does(value).contain('://')) { | ||
} else if (does(item.value).contain('://')) { | ||
item.value = fs.createReadStream(item.value); | ||
@@ -414,0 +414,0 @@ } else { |
{ | ||
"name": "unirest", | ||
"version": "0.0.9", | ||
"version": "0.1.0", | ||
"description": "Lightweight HTTP Request library.", | ||
@@ -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
45532