Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

asyncbox

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asyncbox - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

49

lib/es5/main.js

@@ -21,2 +21,5 @@ "use strict";

}},
parallel: {get: function() {
return parallel;
}},
__esModule: {value: true}

@@ -206,2 +209,46 @@ });

}
function parallel(promises) {
var done,
results,
$__2,
$__3;
return $traceurRuntime.asyncWrap(function($ctx) {
while (true)
switch ($ctx.state) {
case 0:
done = Q.defer();
results = [];
for ($__2 = promises[Symbol.iterator](); !($__3 = $__2.next()).done; ) {
try {
throw undefined;
} catch (p) {
{
p = $__3.value;
{
p.then(function(res) {
results.push(res);
if (results.length === promises.length) {
done.resolve(results);
}
}, function(err) {
done.reject(err);
});
}
}
}
}
$ctx.state = 5;
break;
case 5:
$ctx.returnValue = done.promise;
$ctx.state = 2;
break;
case 2:
$ctx.state = -2;
break;
default:
return $ctx.end();
}
}, this);
}
function nodeify(promisey, cb) {

@@ -259,2 +306,2 @@ promisey.then((function(res) {

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1haW4uanMiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvNyIsIkB0cmFjZXVyL2dlbmVyYXRlZC9UZW1wbGF0ZVBhcnNlci81IiwiQHRyYWNldXIvZ2VuZXJhdGVkL1RlbXBsYXRlUGFyc2VyLzIiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMyIsIkB0cmFjZXVyL2dlbmVyYXRlZC9UZW1wbGF0ZVBhcnNlci82IiwiQHRyYWNldXIvZ2VuZXJhdGVkL1RlbXBsYXRlUGFyc2VyLzEiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQY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0eC5wb3BUcnkoKTsiLCJcbiAgICAgICAgICAgICAgJGN0eC5wb3BUcnkoKTtcbiAgICAgICAgICAgICAgJF9fcGxhY2Vob2xkZXJfXzAgPSAkY3R4LnN0b3JlZEV4Y2VwdGlvbjsiLCJcbiAgICAgICAgZm9yICh2YXIgJF9fcGxhY2Vob2xkZXJfXzAgPVxuICAgICAgICAgICAgICAgICAkX19wbGFjZWhvbGRlcl9fMVtTeW1ib2wuaXRlcmF0b3JdKCksXG4gICAgICAgICAgICAgICAgICRfX3BsYWNlaG9sZGVyX18yO1xuICAgICAgICAgICAgICEoJF9fcGxhY2Vob2xkZXJfXzMgPSAkX19wbGFjZWhvbGRlcl9fNC5uZXh0KCkpLmRvbmU7ICkge1xuICAgICAgICAgICRfX3BsYWNlaG9sZGVyX181O1xuICAgICAgICAgICRfX3BsYWNlaG9sZGVyX182O1xuICAgICAgICB9IiwiXG4gICAgICAgICAgICBmb3IgKHZhciAkX19wbGFjZWhvbGRlcl9fMCA9IFtdLCAkX19wbGFjZWhvbGRlcl9fMSA9IDA7XG4gICAgICAgICAgICAgICAgICRfX3BsYWNlaG9sZGVyX18yIDwgYXJndW1lbnRzLmxlbmd0aDsgJF9fcGxhY2Vob2xkZXJfXzMrKylcbiAgICAgICAgICAgICAgJF9fcGxhY2Vob2xkZXJfXzRbJF9fcGxhY2Vob2xkZXJfXzVdID0gYXJndW1lbnRzWyRfX3BsYWNlaG9sZGVyX182XTsiXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1haW4uanMiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvNyIsIkB0cmFjZXVyL2dlbmVyYXRlZC9UZW1wbGF0ZVBhcnNlci81IiwiQHRyYWNldXIvZ2VuZXJhdGVkL1RlbXBsYXRlUGFyc2VyLzIiLCJAdHJhY2V1ci9nZW5lcmF0ZWQ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AgICAgICAgICBmb3IgKHZhciAkX19wbGFjZWhvbGRlcl9fMCA9IFtdLCAkX19wbGFjZWhvbGRlcl9fMSA9IDA7XG4gICAgICAgICAgICAgICAgICRfX3BsYWNlaG9sZGVyX18yIDwgYXJndW1lbnRzLmxlbmd0aDsgJF9fcGxhY2Vob2xkZXJfXzMrKylcbiAgICAgICAgICAgICAgJF9fcGxhY2Vob2xkZXJfXzRbJF9fcGxhY2Vob2xkZXJfXzVdID0gYXJndW1lbnRzWyRfX3BsYWNlaG9sZGVyX182XTsiXSwic291cmNlUm9vdCI6Ii9zb3VyY2UvIn0=

@@ -44,2 +44,18 @@ import Q from 'q';

async function parallel (promises) {
let done = Q.defer();
let results = [];
for (let p of promises) {
p.then(function (res) {
results.push(res);
if (results.length === promises.length) {
done.resolve(results);
}
}, function (err) {
done.reject(err);
});
}
return done.promise;
}
function nodeify (promisey, cb) {

@@ -62,5 +78,7 @@ promisey.then(res => { cb(null, res); }, cb);

function asyncify (fn, ...args) {
fn.call(null, ...args).then((err) => { console.error(err.stack); }, () => {});
fn.call(null, ...args).then(() => {}, (err) => {
console.error(err.stack);
});
}
export { sleep, retry, nodeify, nodeifyAll, retryInterval, asyncify };
export { sleep, retry, nodeify, nodeifyAll, retryInterval, asyncify, parallel };

2

package.json

@@ -9,3 +9,3 @@ {

],
"version": "1.0.7",
"version": "1.0.8",
"author": "jlipps@gmail.com",

@@ -12,0 +12,0 @@ "licenses": [

@@ -15,3 +15,4 @@ "use strict";

nodeify = $__1.nodeify,
nodeifyAll = $__1.nodeifyAll;
nodeifyAll = $__1.nodeifyAll,
parallel = $__1.parallel;
describe('sleep', (function() {

@@ -482,3 +483,155 @@ it('should work like setTimeout', (function() {

}));
describe('parallel', (function() {
var asyncFn = (function(val) {
return $traceurRuntime.asyncWrap(function($ctx) {
while (true)
switch ($ctx.state) {
case 0:
Promise.resolve(sleep(30)).then($ctx.createCallback(3), $ctx.errback);
return;
case 3:
$ctx.returnValue = val;
$ctx.state = 5;
break;
case 5:
$ctx.state = -2;
break;
default:
return $ctx.end();
}
}, this);
});
var badAsyncFn = (function() {
return $traceurRuntime.asyncWrap(function($ctx) {
while (true)
switch ($ctx.state) {
case 0:
Promise.resolve(sleep(15)).then($ctx.createCallback(3), $ctx.errback);
return;
case 3:
throw new Error("boo");
$ctx.state = -2;
break;
default:
return $ctx.end();
}
}, this);
});
it('should perform tasks in parallel and return results', (function() {
var vals,
promises,
start,
$__2,
$__3,
res;
return $traceurRuntime.asyncWrap(function($ctx) {
while (true)
switch ($ctx.state) {
case 0:
vals = [1, 2, 3];
promises = [];
start = Date.now();
for ($__2 = vals[Symbol.iterator](); !($__3 = $__2.next()).done; ) {
try {
throw undefined;
} catch (v) {
{
v = $__3.value;
{
promises.push(asyncFn(v));
}
}
}
}
$ctx.state = 5;
break;
case 5:
Promise.resolve(parallel(promises)).then($ctx.createCallback(2), $ctx.errback);
return;
case 2:
res = $ctx.value;
$ctx.state = 3;
break;
case 3:
(Date.now() - start).should.be.above(29);
(Date.now() - start).should.be.below(45);
res.sort().should.eql([1, 2, 3]);
$ctx.state = -2;
break;
default:
return $ctx.end();
}
}, this);
}));
it('should error with first response', (function() {
var vals,
promises,
start,
$__2,
$__3,
err,
res,
e;
return $traceurRuntime.asyncWrap(function($ctx) {
while (true)
switch ($ctx.state) {
case 0:
vals = [1, 2, 3];
promises = [];
start = Date.now();
for ($__2 = vals[Symbol.iterator](); !($__3 = $__2.next()).done; ) {
try {
throw undefined;
} catch (v) {
{
v = $__3.value;
{
promises.push(asyncFn(v));
}
}
}
}
promises.push(badAsyncFn());
err = null;
res = [];
$ctx.state = 14;
break;
case 14:
$ctx.pushTry(4, null);
$ctx.state = 7;
break;
case 7:
Promise.resolve(parallel(promises)).then($ctx.createCallback(2), $ctx.errback);
return;
case 2:
res = $ctx.value;
$ctx.state = 3;
break;
case 3:
$ctx.popTry();
$ctx.state = 9;
break;
case 4:
$ctx.popTry();
e = $ctx.storedException;
$ctx.state = 10;
break;
case 10:
err = e;
$ctx.state = 9;
break;
case 9:
(Date.now() - start).should.be.above(14);
(Date.now() - start).should.be.below(30);
should.exist(err);
res.should.eql([]);
$ctx.state = -2;
break;
default:
return $ctx.end();
}
}, this);
}));
}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNwZWNzLmpzIiwiQHRyYWNldXIvZ2VuZXJhdGVkL1RlbXBsYXRlUGFyc2VyLzEiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMTgiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMTIiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMTciLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMTUiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMTYiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMTQiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMTMiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMTkiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMjAiLCJAdHJhY2V1ci9nZW5lcmF0ZWQvVGVtcGxhdGVQYXJzZXIvMjEiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0E7Ozs7O0FDREEsQUFBQywyREFBb0IsQ0FBQSxPQUFNLEFBQUMsK0JBQWtCLENBQ3RDLENBQUEsNERBQXFCLHFFQUEyQixDQUFBLDREQUFxQixHQUFLLEVBQUMsT0FBTSwyREFBbUIsQ0FEOUQsQUFDK0QsQ0FBQztFREMxRyxDQUFBLEtBQUksRUFBSSxHQUFDO0FDRmIsQUFBQyxnQkFBb0IsQ0FBQSxPQUFNL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H0iLCJQcm9taXNlLnJlc29sdmUoJF9fcGxhY2Vob2xkZXJfXzApLnRoZW4oXG4gICAgICAgICAgICAgICRjdHguY3JlYXRlQ2FsbGJhY2soJF9fcGxhY2Vob2xkZXJfXzEpLCAkY3R4LmVycmJhY2spO1xuICAgICAgICAgIHJldHVybiIsInJldHVybiAkY3R4LmVuZCgpIiwiJGN0eC5yZXR1cm5WYWx1ZSA9ICRfX3BsYWNlaG9sZGVyX18wIiwiJGN0eC52YWx1ZSIsIiRjdHgucHVzaFRyeShcbiAgICAgICAgICAgICRfX3BsYWNlaG9sZGVyX18wLFxuICAgICAgICAgICAgJF9fcGxhY2Vob2xkZXJfXzEpOyIsIiRjdHgucG9wVHJ5KCk7IiwiXG4gICAgICAgICAgICAgICRjdHgucG9wVHJ5KCk7XG4gICAgICAgICAgICAgICRfX3BsYWNlaG9sZGVyX18wID0gJGN0eC5zdG9yZWRFeGNlcHRpb247IiwiXG4gICAgICAgIGZvciAodmFyICRfX3BsYWNlaG9sZGVyX18wID1cbiAgICAgICAgICAgICAgICAgJF9fcGxhY2Vob2xkZXJfXzFbU3ltYm9sLml0ZXJhdG9yXSgpLFxuICAgICAgICAgICAgICAgICAkX19wbGFjZWhvbGRlcl9fMjtcbiAgICAgICAgICAgICAhKCRfX3BsYWNlaG9sZGVyX18zID0gJF9fcGxhY2Vob2xkZXJfXzQubmV4dCgpKS5kb25lOyApIHtcbiAgICAgICAgICAkX19wbGFjZWhvbGRlcl9fNTtcbiAgICAgICAgICAkX19wbGFjZWhvbGRlcl9fNjtcbiAgICAgICAgfSJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ==

@@ -6,3 +6,4 @@ /* global describe:true, it:true */

import should from 'should';
import { sleep, retry, retryInterval, nodeify, nodeifyAll } from '../../lib/es5/main';
import { sleep, retry, retryInterval, nodeify, nodeifyAll,
parallel } from '../../lib/es5/main';

@@ -179,1 +180,44 @@ describe('sleep', () => {

});
describe('parallel', () => {
let asyncFn = async (val) => {
await sleep(30);
return val;
};
let badAsyncFn = async () => {
await sleep(15);
throw new Error("boo");
};
it('should perform tasks in parallel and return results', async () => {
let vals = [1, 2, 3];
let promises = [];
let start = Date.now();
for (let v of vals) {
promises.push(asyncFn(v));
}
let res = await parallel(promises);
(Date.now() - start).should.be.above(29);
(Date.now() - start).should.be.below(45);
res.sort().should.eql([1, 2, 3]);
});
it('should error with first response', async () => {
let vals = [1, 2, 3];
let promises = [];
let start = Date.now();
for (let v of vals) {
promises.push(asyncFn(v));
}
promises.push(badAsyncFn());
let err = null;
let res = [];
try {
res = await parallel(promises);
} catch (e) {
err = e;
}
(Date.now() - start).should.be.above(14);
(Date.now() - start).should.be.below(30);
should.exist(err);
res.should.eql([]);
});
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc