@neovici/cosmoz-utils
Advanced tools
Comparing version 5.28.0 to 5.29.0
@@ -7,1 +7,2 @@ export declare function array(): []; | ||
export declare const without: <E, L = E>(exclude: E | E[], predicate?: <T extends E | L>(value: T) => unknown) => <T_1 extends L = L>(list: T_1 | T_1[]) => T_1[]; | ||
export declare const chunk: <T>(list: T[], size: number) => T[][]; |
@@ -24,1 +24,2 @@ import { identity } from './function'; | ||
}; | ||
export const chunk = (list, size) => [...Array(Math.ceil(list.length / size)).keys()].map((i) => list.slice(i * size, (i + 1) * size)); |
{ | ||
"name": "@neovici/cosmoz-utils", | ||
"version": "5.28.0", | ||
"version": "5.29.0", | ||
"description": "Date, money and template management functions commonly needed in Cosmoz views.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
101531
1973