@thi.ng/transducers-binary 2.1.29 → 2.1.31

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**: 2022-11-23T22:46:54Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
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/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![transducers-binary](https://media.thi.ng/umbrella/banners-20220914/thing-transducers-binary.svg?56c93de8)
3
+ # ![@thi.ng/transducers-binary](https://media.thi.ng/umbrella/banners-20220914/thing-transducers-binary.svg?56c93de8)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/transducers-binary.svg)](https://www.npmjs.com/package/@thi.ng/transducers-binary)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/transducers-binary.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](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.
@@ -28,7 +28,7 @@ This project is part of the
28
28
 
29
29
  ## About
30
30
 
31
- Binary data related transducers & reducers. This is a support package for [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers).
31
+ Binary data related transducers & reducers
32
32
 
33
33
  Like the transducers and reducers defined in
34
34
  [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers),
@@ -63,14 +63,11 @@ ES module import:
63
63
 
64
64
  For Node.js REPL:
65
65
 
66
- ```text
67
- # with flag only for < v16
68
- node --experimental-repl-await
69
-
70
- > const transducersBinary = await import("@thi.ng/transducers-binary");
66
+ ```js
67
+ const transducersBinary = await import("@thi.ng/transducers-binary");
71
68
  ```
72
69
 
73
- Package sizes (gzipped, pre-treeshake): ESM: 2.87 KB
70
+ Package sizes (brotli'd, pre-treeshake): ESM: 2.58 KB
74
71
 
75
72
  ## Dependencies
76
73
 
@@ -306,7 +303,7 @@ tx.transduce(tx.comp(txb.base64Decode(), txb.utf8Decode()), tx.str(), buf);
306
303
 
307
304
  ## Authors
308
305
 
309
- Karsten Schmidt
306
+ - [Karsten Schmidt](https://thi.ng)
310
307
 
311
308
  If this project contributes to an academic publication, please cite it as:
312
309
 
@@ -321,4 +318,4 @@ If this project contributes to an academic publication, please cite it as:
321
318
 
322
319
  ## License
323
320
 
324
- &copy; 2018 - 2022 Karsten Schmidt // Apache Software License 2.0
321
+ &copy; 2018 - 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export declare type Type = "i8" | "i8a" | "u8" | "u8a" | "i16" | "i16a" | "u16" | "u16a" | "i24" | "i24a" | "u24" | "u24a" | "i32" | "i32a" | "u32" | "u32a" | "f32" | "f32a" | "f64" | "f64a" | "str";
2
- export declare type BinStructItem = ["i8", number] | ["i8a", ArrayLike<number>] | ["u8", number] | ["u8a", ArrayLike<number>] | ["i16", number, boolean?] | ["i16a", ArrayLike<number>, boolean?] | ["u16", number, boolean?] | ["u16a", ArrayLike<number>, boolean?] | ["i24", number, boolean?] | ["i24a", ArrayLike<number>, boolean?] | ["u24", number, boolean?] | ["u24a", ArrayLike<number>, boolean?] | ["i32", number, boolean?] | ["i32a", ArrayLike<number>, boolean?] | ["u32", number, boolean?] | ["u32a", ArrayLike<number>, boolean?] | ["f32", number, boolean?] | ["f32a", ArrayLike<number>, boolean?] | ["f64", number, boolean?] | ["f64a", ArrayLike<number>, boolean?] | ["str", string];
1
+ export type Type = "i8" | "i8a" | "u8" | "u8a" | "i16" | "i16a" | "u16" | "u16a" | "i24" | "i24a" | "u24" | "u24a" | "i32" | "i32a" | "u32" | "u32a" | "f32" | "f32a" | "f64" | "f64a" | "str";
2
+ export type BinStructItem = ["i8", number] | ["i8a", ArrayLike<number>] | ["u8", number] | ["u8a", ArrayLike<number>] | ["i16", number, boolean?] | ["i16a", ArrayLike<number>, boolean?] | ["u16", number, boolean?] | ["u16a", ArrayLike<number>, boolean?] | ["i24", number, boolean?] | ["i24a", ArrayLike<number>, boolean?] | ["u24", number, boolean?] | ["u24a", ArrayLike<number>, boolean?] | ["i32", number, boolean?] | ["i32a", ArrayLike<number>, boolean?] | ["u32", number, boolean?] | ["u32a", ArrayLike<number>, boolean?] | ["f32", number, boolean?] | ["f32a", ArrayLike<number>, boolean?] | ["f64", number, boolean?] | ["f64a", ArrayLike<number>, boolean?] | ["str", string];
3
3
  export interface HexDumpOpts {
4
4
  /**
5
5
  * Number of bytes per line.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/transducers-binary",
3
- "version": "2.1.29",
3
+ "version": "2.1.31",
4
4
  "description": "Binary data related transducers & reducers",
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 <k+npm@thi.ng>",
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/binary": "^3.3.11",
38
- "@thi.ng/compose": "^2.1.19",
39
- "@thi.ng/errors": "^2.2.4",
40
- "@thi.ng/hex": "^2.3.0",
41
- "@thi.ng/random": "^3.3.16",
42
- "@thi.ng/transducers": "^8.3.24"
37
+ "@thi.ng/binary": "^3.3.13",
38
+ "@thi.ng/compose": "^2.1.21",
39
+ "@thi.ng/errors": "^2.2.6",
40
+ "@thi.ng/hex": "^2.3.2",
41
+ "@thi.ng/random": "^3.3.18",
42
+ "@thi.ng/transducers": "^8.3.26"
43
43
  },
44
44
  "devDependencies": {
45
- "@microsoft/api-extractor": "^7.33.5",
46
- "@thi.ng/testament": "^0.3.5",
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.20",
50
- "typescript": "^4.8.4"
49
+ "typedoc": "^0.23.22",
50
+ "typescript": "^4.9.4"
51
51
  },
52
52
  "keywords": [
53
53
  "array",
@@ -112,5 +112,5 @@
112
112
  ],
113
113
  "year": 2018
114
114
  },
115
- "gitHead": "75ec32ff7f1b7b5e72e7a04ace24732cd5d6c774\n"
115
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
116
116
  }