@stacksjs/arrays 0.41.0 → 0.42.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/README.md +2 -2
- package/dist/index.d.ts +1 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ Please see our [releases](https://github.com/stacksjs/stacks/releases) page for
|
|
|
40
40
|
|
|
41
41
|
## 💪🏼 Contributing
|
|
42
42
|
|
|
43
|
-
Please
|
|
43
|
+
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
44
44
|
|
|
45
45
|
## 🏝 Community
|
|
46
46
|
|
|
@@ -50,7 +50,7 @@ For help, discussion about best practices, or any other conversation that would
|
|
|
50
50
|
|
|
51
51
|
For casual chit-chat with others using this package:
|
|
52
52
|
|
|
53
|
-
[Join the
|
|
53
|
+
[Join the Stacks Discord Server](https://discord.ow3.org)
|
|
54
54
|
|
|
55
55
|
## 📄 License
|
|
56
56
|
|
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,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/arrays",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.42.1",
|
|
5
|
+
"packageManager": "pnpm@7.17.0",
|
|
6
6
|
"description": "The Stacks array utilities.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -36,11 +36,12 @@
|
|
|
36
36
|
],
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=v18.12.1",
|
|
39
|
-
"pnpm": ">=7.
|
|
39
|
+
"pnpm": ">=7.17.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"mkdist": "^1.0.0",
|
|
43
|
-
"typescript": "^4.
|
|
43
|
+
"typescript": "^4.9.3",
|
|
44
|
+
"@stacksjs/testing": "0.42.1"
|
|
44
45
|
},
|
|
45
46
|
"scripts": {
|
|
46
47
|
"build": "mkdist -d",
|