@randajan/jet-core
Advanced tools
Comparing version 3.2.9 to 3.2.10
@@ -1163,2 +1163,16 @@ var __defProp = Object.defineProperty; | ||
}, | ||
sliceMap: (arr, size, callback) => { | ||
if (!jet_default.isRunnable(callback)) { | ||
callback = (_) => _; | ||
} | ||
size = Math.max(1, size) || 1; | ||
const r = []; | ||
if (!Array.isArray(arr)) { | ||
return r; | ||
} | ||
for (let k = 0; k < arr.length; k += size) { | ||
r.push(callback(arr.slice(k, k + size), r.length, size, arr.length)); | ||
} | ||
return r; | ||
}, | ||
remap: (arr, mapper, ...orderBy) => { | ||
@@ -1165,0 +1179,0 @@ let result, stopped; |
{ | ||
"name": "@randajan/jet-core", | ||
"version": "3.2.9", | ||
"version": "3.2.10", | ||
"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
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
146556
1445