@thi.ng/transducers 8.3.2 → 8.3.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/choices.d.ts +1 -1
- package/package.json +14 -14
- package/permutations.d.ts +1 -1
- package/range-nd.d.ts +1 -1
package/CHANGELOG.md
CHANGED
package/choices.d.ts
CHANGED
|
@@ -15,5 +15,5 @@ import type { IRandom } from "@thi.ng/random";
|
|
|
15
15
|
* @param choices -
|
|
16
16
|
* @param weights -
|
|
17
17
|
*/
|
|
18
|
-
export declare const choices: <T>(choices: ArrayLike<T> & Iterable<T>, weights?: ArrayLike<number
|
|
18
|
+
export declare const choices: <T>(choices: ArrayLike<T> & Iterable<T>, weights?: ArrayLike<number>, rnd?: IRandom) => IterableIterator<T>;
|
|
19
19
|
//# sourceMappingURL=choices.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/transducers",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.5",
|
|
4
4
|
"description": "Lightweight transducer implementations for ES6 / TypeScript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,22 +34,22 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.3.
|
|
38
|
-
"@thi.ng/arrays": "^2.2.
|
|
39
|
-
"@thi.ng/checks": "^3.1
|
|
40
|
-
"@thi.ng/compare": "^2.1.
|
|
41
|
-
"@thi.ng/compose": "^2.1.
|
|
42
|
-
"@thi.ng/errors": "^2.1.
|
|
43
|
-
"@thi.ng/math": "^5.3.
|
|
44
|
-
"@thi.ng/random": "^3.2
|
|
37
|
+
"@thi.ng/api": "^8.3.7",
|
|
38
|
+
"@thi.ng/arrays": "^2.2.5",
|
|
39
|
+
"@thi.ng/checks": "^3.2.1",
|
|
40
|
+
"@thi.ng/compare": "^2.1.7",
|
|
41
|
+
"@thi.ng/compose": "^2.1.7",
|
|
42
|
+
"@thi.ng/errors": "^2.1.7",
|
|
43
|
+
"@thi.ng/math": "^5.3.3",
|
|
44
|
+
"@thi.ng/random": "^3.3.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@microsoft/api-extractor": "^7.
|
|
48
|
-
"@thi.ng/testament": "^0.2.
|
|
47
|
+
"@microsoft/api-extractor": "^7.25.0",
|
|
48
|
+
"@thi.ng/testament": "^0.2.8",
|
|
49
49
|
"rimraf": "^3.0.2",
|
|
50
50
|
"tools": "^0.0.1",
|
|
51
|
-
"typedoc": "^0.22.
|
|
52
|
-
"typescript": "^4.
|
|
51
|
+
"typedoc": "^0.22.17",
|
|
52
|
+
"typescript": "^4.7.3"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
55
55
|
"2d",
|
|
@@ -567,5 +567,5 @@
|
|
|
567
567
|
],
|
|
568
568
|
"year": 2016
|
|
569
569
|
},
|
|
570
|
-
"gitHead": "
|
|
570
|
+
"gitHead": "ab0188234419f2d9f471de80871df930e5555bd6\n"
|
|
571
571
|
}
|
package/permutations.d.ts
CHANGED
|
@@ -52,5 +52,5 @@ export declare function permutations(...src: Iterable<any>[]): IterableIterator<
|
|
|
52
52
|
* @param m -
|
|
53
53
|
* @param offsets -
|
|
54
54
|
*/
|
|
55
|
-
export declare const permutationsN: (n: number, m?: number, offsets?: number[]
|
|
55
|
+
export declare const permutationsN: (n: number, m?: number, offsets?: number[]) => IterableIterator<number[]>;
|
|
56
56
|
//# sourceMappingURL=permutations.d.ts.map
|
package/range-nd.d.ts
CHANGED
|
@@ -32,5 +32,5 @@ import type { ArrayLikeIterable } from "@thi.ng/api";
|
|
|
32
32
|
*
|
|
33
33
|
* @param vec -
|
|
34
34
|
*/
|
|
35
|
-
export declare const rangeNd: (min: ArrayLikeIterable<number>, max?: ArrayLikeIterable<number>
|
|
35
|
+
export declare const rangeNd: (min: ArrayLikeIterable<number>, max?: ArrayLikeIterable<number>) => IterableIterator<any[]>;
|
|
36
36
|
//# sourceMappingURL=range-nd.d.ts.map
|