@stacksjs/arrays 0.46.4 → 0.47.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 +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export declare function move<T>(arr: T[], from: number, to: number): T[];
|
|
|
82
82
|
*
|
|
83
83
|
* @category Array
|
|
84
84
|
*/
|
|
85
|
-
export declare function clampArrayRange(n: number, arr: readonly unknown[]):
|
|
85
|
+
export declare function clampArrayRange(n: number, arr: readonly unknown[]): any;
|
|
86
86
|
/**
|
|
87
87
|
* Get random items from an array
|
|
88
88
|
*
|
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.47.1",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks array utilities.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
],
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=v18.12.1",
|
|
39
|
-
"pnpm": ">=7.
|
|
39
|
+
"pnpm": ">=7.21.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@stacksjs/utils": "0.
|
|
42
|
+
"@stacksjs/utils": "0.47.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"mkdist": "^1.0.0",
|
|
46
46
|
"typescript": "^4.9.4",
|
|
47
|
-
"@stacksjs/testing": "0.
|
|
47
|
+
"@stacksjs/testing": "0.47.1"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "mkdist -d",
|