@thi.ng/arrays 2.4.4 → 2.4.5
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/CHANGELOG.md +1 -1
- package/README.md +7 -10
- package/api.d.ts +2 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/arrays)
|
|
6
6
|

|
|
7
|
-
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
This project is part of the
|
|
10
10
|
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
@@ -20,7 +20,7 @@ This project is part of the
|
|
|
20
20
|
|
|
21
21
|
## About
|
|
22
22
|
|
|
23
|
-
Array / Arraylike utilities
|
|
23
|
+
Array / Arraylike utilities
|
|
24
24
|
|
|
25
25
|
## Status
|
|
26
26
|
|
|
@@ -44,11 +44,8 @@ ES module import:
|
|
|
44
44
|
|
|
45
45
|
For Node.js REPL:
|
|
46
46
|
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
node --experimental-repl-await
|
|
50
|
-
|
|
51
|
-
> const arrays = await import("@thi.ng/arrays");
|
|
47
|
+
```js
|
|
48
|
+
const arrays = await import("@thi.ng/arrays");
|
|
52
49
|
```
|
|
53
50
|
|
|
54
51
|
Package sizes (brotli'd, pre-treeshake): ESM: 2.40 KB
|
|
@@ -122,7 +119,7 @@ bsGT(binarySearch(src, 40), src.length)
|
|
|
122
119
|
|
|
123
120
|
## Authors
|
|
124
121
|
|
|
125
|
-
Karsten Schmidt
|
|
122
|
+
- [Karsten Schmidt](https://thi.ng)
|
|
126
123
|
|
|
127
124
|
If this project contributes to an academic publication, please cite it as:
|
|
128
125
|
|
|
@@ -137,4 +134,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
137
134
|
|
|
138
135
|
## License
|
|
139
136
|
|
|
140
|
-
© 2018 - 2022 Karsten Schmidt // Apache
|
|
137
|
+
© 2018 - 2022 Karsten Schmidt // Apache License 2.0
|
package/api.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { Fn3, TypedArray } from "@thi.ng/api";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type AnyArray = any[] | TypedArray;
|
|
3
|
+
export type SwapFn = Fn3<AnyArray, number, number, void>;
|
|
4
4
|
//# sourceMappingURL=api.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/arrays",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
4
4
|
"description": "Array / Arraylike utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://patreon.com/thing_umbrella"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"author": "Karsten Schmidt
|
|
24
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "yarn clean && tsc --declaration",
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/compare": "^2.1.
|
|
40
|
-
"@thi.ng/equiv": "^2.1.
|
|
41
|
-
"@thi.ng/errors": "^2.2.
|
|
42
|
-
"@thi.ng/random": "^3.3.
|
|
37
|
+
"@thi.ng/api": "^8.6.0",
|
|
38
|
+
"@thi.ng/checks": "^3.3.5",
|
|
39
|
+
"@thi.ng/compare": "^2.1.19",
|
|
40
|
+
"@thi.ng/equiv": "^2.1.15",
|
|
41
|
+
"@thi.ng/errors": "^2.2.6",
|
|
42
|
+
"@thi.ng/random": "^3.3.18"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@microsoft/api-extractor": "^7.33.
|
|
46
|
-
"@thi.ng/testament": "^0.3.
|
|
45
|
+
"@microsoft/api-extractor": "^7.33.7",
|
|
46
|
+
"@thi.ng/testament": "^0.3.7",
|
|
47
47
|
"rimraf": "^3.0.2",
|
|
48
48
|
"tools": "^0.0.1",
|
|
49
|
-
"typedoc": "^0.23.
|
|
50
|
-
"typescript": "^4.
|
|
49
|
+
"typedoc": "^0.23.22",
|
|
50
|
+
"typescript": "^4.9.4"
|
|
51
51
|
},
|
|
52
52
|
"keywords": [
|
|
53
53
|
"aos",
|
|
@@ -153,5 +153,5 @@
|
|
|
153
153
|
"thi.ng": {
|
|
154
154
|
"year": 2018
|
|
155
155
|
},
|
|
156
|
-
"gitHead": "
|
|
156
|
+
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
|
|
157
157
|
}
|