@randajan/jet-core
Advanced tools
Comparing version 4.0.7 to 4.0.8
@@ -80,3 +80,3 @@ import { | ||
const _each = !options.paralelAwait ? _eachSerial : _eachParalel; | ||
const prom = !options.paralelAwait ? void 0 : new Promise((res) => { | ||
const prom = !options.paralelAwait || !options.stopable ? void 0 : new Promise((res) => { | ||
root.onStop(res); | ||
@@ -100,2 +100,3 @@ }); | ||
var find = (any, fce, options = {}) => { | ||
options.stopable = true; | ||
return each(any, async (val, ctx) => { | ||
@@ -122,3 +123,2 @@ val = await fce(val, ctx); | ||
delete options.init; | ||
options.stopable = true; | ||
const set = (ctx, key, val) => { | ||
@@ -125,0 +125,0 @@ if (!ctx) { |
@@ -83,2 +83,3 @@ import { | ||
var find = (any, fce, options = {}) => { | ||
options.stopable = true; | ||
return each(any, (val, ctx) => { | ||
@@ -105,3 +106,2 @@ val = fce(val, ctx); | ||
delete options.init; | ||
options.stopable = true; | ||
const set = (ctx, key, val) => { | ||
@@ -108,0 +108,0 @@ if (!ctx) { |
{ | ||
"name": "@randajan/jet-core", | ||
"version": "4.0.7", | ||
"version": "4.0.8", | ||
"description": "Ecosystem of types and related usefull tools.", | ||
@@ -5,0 +5,0 @@ "repository": "randajan/jet-core", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
319720