@saulx/utils
Advanced tools
Comparing version 2.3.2 to 2.4.0
@@ -15,1 +15,2 @@ import deepCopy from './deepCopy'; | ||
export * from './getType'; | ||
export * from './parseQuery'; |
@@ -40,2 +40,3 @@ "use strict"; | ||
__exportStar(require("./getType"), exports); | ||
__exportStar(require("./parseQuery"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -10,3 +10,3 @@ "use strict"; | ||
let x = ''; | ||
for (let arg of args) { | ||
for (const arg of args) { | ||
if (arg !== undefined) { | ||
@@ -43,3 +43,3 @@ if (typeof arg === 'object') { | ||
const drain = () => { | ||
for (let key in listeners) { | ||
for (const key in listeners) { | ||
if (keysInProgress.size === opts.concurrency) { | ||
@@ -53,3 +53,3 @@ break; | ||
promiseFn(...l.args) | ||
.then(v => { | ||
.then((v) => { | ||
delete listeners[key]; | ||
@@ -62,3 +62,3 @@ keysInProgress.delete(key); | ||
}) | ||
.catch(err => { | ||
.catch((err) => { | ||
delete listeners[key]; | ||
@@ -65,0 +65,0 @@ keysInProgress.delete(key); |
@@ -29,3 +29,3 @@ "use strict"; | ||
if (await options.itemMatchFn(item)) { | ||
await itemFn(item.ref, { name, path, type }); | ||
itemFn(item.ref, { name, path, type }); | ||
} | ||
@@ -32,0 +32,0 @@ if (await options.recurseFn(item)) { |
{ | ||
"name": "@saulx/utils", | ||
"main": "./dist/index.js", | ||
"version": "2.3.2", | ||
"version": "2.4.0", | ||
"scripts": { | ||
@@ -6,0 +6,0 @@ "build": "tsc", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
52737
48
769