curlrequest
Advanced tools
Comparing version 0.1.9 to 0.2.0
@@ -262,5 +262,6 @@ var child = require('child_process') | ||
if (arguments.length === 3) { | ||
var len = input.length, pos = 0; | ||
for (var i = 0; i < concurrency; i++) { | ||
(function exec() { | ||
fn(input.shift(), function () { | ||
fn(pos >= len ? null : input[pos++], function () { | ||
process.nextTick(exec); | ||
@@ -271,2 +272,4 @@ }); | ||
} else { | ||
fn = concurrency; | ||
concurrency = input; | ||
for (var i = 0; i < concurrency; i++) { | ||
@@ -273,0 +276,0 @@ (function exec() { |
{ "name" : "curlrequest", | ||
"description" : "A curl wrapper for node", | ||
"version" : "0.1.9", | ||
"version" : "0.2.0", | ||
"homepage" : "https://github.com/chriso/curlrequest", | ||
@@ -5,0 +5,0 @@ "author" : "Chris O'Hara <cohara87@gmail.com>", |
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
11516
261