This commit is contained in:
2021-11-21 11:18:28 +01:00
parent 7a358eb836
commit 230b10b2a3
9339 changed files with 892519 additions and 62 deletions

12
node_modules/p-map-series/index.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
'use strict';
const pReduce = require('p-reduce');
module.exports = (iterable, iterator) => {
const ret = [];
return pReduce(iterable, (a, b, i) => {
return Promise.resolve(iterator(b, i)).then(val => {
ret.push(val);
});
}).then(() => ret);
};