@thi.ng/transducers-binary 2.1.152 → 2.1.153
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/hex-dump.d.ts +1 -1
- package/package.json +11 -11
- package/random-bits.d.ts +1 -1
- package/utf8.d.ts +2 -1
package/CHANGELOG.md
CHANGED
package/hex-dump.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { HexDumpOpts } from "./api.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Transforms bytes into a sequence of hexdump lines with configurable number of
|
|
5
5
|
* `columns` and `address` offset. Uses
|
|
6
|
-
* [`partition
|
|
6
|
+
* [`partition`](https://docs.thi.ng/umbrella/transducers/functions/partition.html)
|
|
7
7
|
* internally, so new lines are only produced once filled. If the input hasn't
|
|
8
8
|
* an exact multiple of `cols` bytes, the last line will be padded with zeroes.
|
|
9
9
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/transducers-binary",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.153",
|
|
4
4
|
"description": "Binary data related transducers & reducers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/binary": "^3.4.
|
|
43
|
-
"@thi.ng/compose": "^3.0.
|
|
44
|
-
"@thi.ng/errors": "^2.5.
|
|
45
|
-
"@thi.ng/hex": "^2.3.
|
|
46
|
-
"@thi.ng/random": "^4.1.
|
|
47
|
-
"@thi.ng/strings": "^3.9.
|
|
48
|
-
"@thi.ng/transducers": "^9.2.
|
|
42
|
+
"@thi.ng/binary": "^3.4.43",
|
|
43
|
+
"@thi.ng/compose": "^3.0.23",
|
|
44
|
+
"@thi.ng/errors": "^2.5.26",
|
|
45
|
+
"@thi.ng/hex": "^2.3.64",
|
|
46
|
+
"@thi.ng/random": "^4.1.11",
|
|
47
|
+
"@thi.ng/strings": "^3.9.5",
|
|
48
|
+
"@thi.ng/transducers": "^9.2.18"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"esbuild": "^0.
|
|
52
|
-
"typedoc": "^0.27.
|
|
51
|
+
"esbuild": "^0.25.0",
|
|
52
|
+
"typedoc": "^0.27.7",
|
|
53
53
|
"typescript": "^5.7.3"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
],
|
|
117
117
|
"year": 2018
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "9a0b33253fef092aaf301decf6ecd54317874d4c\n"
|
|
120
120
|
}
|
package/random-bits.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IRandom } from "@thi.ng/random";
|
|
2
2
|
/**
|
|
3
3
|
* Returns an iterator of random bits, with 1's occurring w/ given probability
|
|
4
|
-
* `prob` (in the [0,1] interval). If `num` is given, only that many bits will
|
|
4
|
+
* `prob` (in the `[0,1]` interval). If `num` is given, only that many bits will
|
|
5
5
|
* be produced.
|
|
6
6
|
*
|
|
7
7
|
* By default, uses system PRNG, but a custom
|
package/utf8.d.ts
CHANGED
|
@@ -30,7 +30,8 @@ export declare function utf8Decode(src: Iterable<number>): string;
|
|
|
30
30
|
export declare function utf8Encode(): Transducer<string, number>;
|
|
31
31
|
export declare function utf8Encode(src: string): Uint8Array;
|
|
32
32
|
/**
|
|
33
|
-
* Re-export of
|
|
33
|
+
* Re-export of
|
|
34
|
+
* [`utf8Length`](https://docs.thi.ng/umbrella/strings/functions/utf8Length.html).
|
|
34
35
|
*
|
|
35
36
|
* @deprecated migrated to thi.ng/strings pkg
|
|
36
37
|
*/
|