require-from-url
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -6,3 +6,3 @@ var parse = require("url").parse; | ||
module.exports = function() { | ||
var _url = [].concat(arguments.length===1 ? arguments[0] : arguments), | ||
var _url = Array.from(arguments), | ||
_len = _url.length, | ||
@@ -15,3 +15,3 @@ values = Array(_len); | ||
if(!--_len) { | ||
for(var i=0; i<values.length; i++) { | ||
for(var i=0; i<values.length; i++) | ||
if(values[i] instanceof Error) { | ||
@@ -21,3 +21,2 @@ next('Rejected', values[i]); | ||
} | ||
} | ||
next('Resolved', values); | ||
@@ -24,0 +23,0 @@ } |
{ | ||
"name": "require-from-url", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Require module from URL", | ||
@@ -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
3498
77