Add node modules and compiled JavaScript from main (#57)
Co-authored-by: Oliver King <oking3@uncc.edu>
This commit is contained in:
committed by
GitHub
parent
d893f27da9
commit
7f7e5ba5ea
16
node_modules/p-each-series/index.js
generated
vendored
Normal file
16
node_modules/p-each-series/index.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
const pEachSeries = async (iterable, iterator) => {
|
||||
let index = 0;
|
||||
|
||||
for (const value of iterable) {
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
await iterator(await value, index++);
|
||||
}
|
||||
|
||||
return iterable;
|
||||
};
|
||||
|
||||
module.exports = pEachSeries;
|
||||
// TODO: Remove this for the next major release
|
||||
module.exports.default = pEachSeries;
|
||||
Reference in New Issue
Block a user