@thi.ng/transducers-binary 2.1.100 → 2.1.102

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-02-22T23:15:26Z
3
+ - **Last updated**: 2024-02-25T14:07:53Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/bytes.d.ts CHANGED
@@ -28,6 +28,11 @@ export declare const str: (x: string) => BinStructItem;
28
28
  *
29
29
  * @example
30
30
  * ```ts
31
+ * import {
32
+ * asBytes, f32, i16, str, u32,
33
+ * hexDumpString
34
+ * } from "@thi.ng/transducers-binary";
35
+ *
31
36
  * hexDumpString({}, asBytes([
32
37
  * str("hello!"),
33
38
  * u32(0xdecafbad),
package/hex-dump.d.ts CHANGED
@@ -13,6 +13,8 @@ import type { HexDumpOpts } from "./api.js";
13
13
  *
14
14
  * @example
15
15
  * ```ts
16
+ * import { hexDump } from "@thi.ng/transducers-binary";
17
+ *
16
18
  * src = [65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 33, 48, 49, 50, 51, 126, 122, 121, 120]
17
19
  *
18
20
  * [...hexDump({ cols: 8, address: 0x400 }, src)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/transducers-binary",
3
- "version": "2.1.100",
3
+ "version": "2.1.102",
4
4
  "description": "Binary data related transducers & reducers",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,13 +35,13 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/binary": "^3.4.14",
39
- "@thi.ng/compose": "^2.1.64",
38
+ "@thi.ng/binary": "^3.4.15",
39
+ "@thi.ng/compose": "^2.1.65",
40
40
  "@thi.ng/errors": "^2.4.18",
41
41
  "@thi.ng/hex": "^2.3.37",
42
- "@thi.ng/random": "^3.6.32",
43
- "@thi.ng/strings": "^3.7.16",
44
- "@thi.ng/transducers": "^8.9.6"
42
+ "@thi.ng/random": "^3.6.33",
43
+ "@thi.ng/strings": "^3.7.18",
44
+ "@thi.ng/transducers": "^8.9.7"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@microsoft/api-extractor": "^7.40.1",
@@ -113,5 +113,5 @@
113
113
  ],
114
114
  "year": 2018
115
115
  },
116
- "gitHead": "16f2b92b5410bd35dcde6c2971c8e62783ebc472\n"
116
+ "gitHead": "190d68e7f7524631b333cfdbf32c6a23be27c166\n"
117
117
  }
package/utf8.d.ts CHANGED
@@ -12,6 +12,9 @@ export declare function utf8Decode(src: Iterable<number>): string;
12
12
  *
13
13
  * @example
14
14
  * ```ts
15
+ * import { hexDump, utf8Encode } from "@thi.ng/transducers-binary";
16
+ * import { comp, str, transduce } from "@thi.ng/transducers";
17
+ *
15
18
  * transduce(
16
19
  * comp(utf8Encode(), hexDump()),
17
20
  * str("\n"),