@stacksjs/arrays 0.40.0 → 0.41.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare function flattenArrayable<T>(array?: Nullable<Arrayable<T | Array
|
|
|
22
22
|
* @category Array
|
|
23
23
|
*/
|
|
24
24
|
export declare function mergeArrayable<T>(...args: Nullable<Arrayable<T>>[]): Array<T>;
|
|
25
|
-
export
|
|
25
|
+
export type PartitionFilter<T> = (i: T, idx: number, arr: readonly T[]) => any;
|
|
26
26
|
/**
|
|
27
27
|
* Divide an array into two parts by a filter function
|
|
28
28
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/arrays",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.41.1",
|
|
5
5
|
"packageManager": "pnpm@7.16.0",
|
|
6
6
|
"description": "The Stacks array utilities.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"pnpm": ">=7.16.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"mkdist": "^0.
|
|
43
|
-
"typescript": "^4.
|
|
42
|
+
"mkdist": "^1.0.0",
|
|
43
|
+
"typescript": "^4.9.3"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
46
|
"build": "mkdist -d",
|