@thi.ng/transducers-binary 2.1.114 → 2.1.115
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 +7 -1
- package/README.md +10 -4
- package/base64.js +1 -1
- package/bytes.d.ts +1 -1
- package/package.json +10 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-
|
|
3
|
+
- **Last updated**: 2024-04-08T14:59:30Z
|
|
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.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [2.1.115](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-binary@2.1.115) (2024-04-08)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update reducer handling due to updates in [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/main/packages/transducers) pkg ([907c961](https://github.com/thi-ng/umbrella/commit/907c961))
|
|
17
|
+
|
|
12
18
|
### [2.1.109](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-binary@2.1.109) (2024-03-18)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 191 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -58,7 +58,13 @@ iterable for direct use.
|
|
|
58
58
|
yarn add @thi.ng/transducers-binary
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
|
|
61
|
+
ESM import:
|
|
62
|
+
|
|
63
|
+
```ts
|
|
64
|
+
import * as txb from "@thi.ng/transducers-binary";
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Browser ESM import:
|
|
62
68
|
|
|
63
69
|
```html
|
|
64
70
|
<script type="module" src="https://cdn.skypack.dev/@thi.ng/transducers-binary"></script>
|
|
@@ -69,10 +75,10 @@ ES module import:
|
|
|
69
75
|
For Node.js REPL:
|
|
70
76
|
|
|
71
77
|
```js
|
|
72
|
-
const
|
|
78
|
+
const txb = await import("@thi.ng/transducers-binary");
|
|
73
79
|
```
|
|
74
80
|
|
|
75
|
-
Package sizes (brotli'd, pre-treeshake): ESM: 2.
|
|
81
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 2.50 KB
|
|
76
82
|
|
|
77
83
|
## Dependencies
|
|
78
84
|
|
package/base64.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { compR } from "@thi.ng/transducers/compr";
|
|
2
|
-
import { iterator, iterator1
|
|
2
|
+
import { __iter, iterator, iterator1 } from "@thi.ng/transducers/iterator";
|
|
3
3
|
import { isReduced, reduced } from "@thi.ng/transducers/reduced";
|
|
4
4
|
const B64_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
5
5
|
const B64_SAFE = B64_CHARS.substring(0, 62) + "-_";
|
package/bytes.d.ts
CHANGED
|
@@ -44,6 +44,6 @@ export declare const str: (x: string) => BinStructItem;
|
|
|
44
44
|
*/
|
|
45
45
|
export declare function asBytes(): Transducer<BinStructItem, number>;
|
|
46
46
|
export declare function asBytes(src: Iterable<BinStructItem>): Iterable<number>;
|
|
47
|
-
export declare function bytes(cap?: number): Reducer<
|
|
47
|
+
export declare function bytes(cap?: number): Reducer<BinStructItem, Uint8Array>;
|
|
48
48
|
export declare function bytes(cap: number, src: Iterable<BinStructItem>): Uint8Array;
|
|
49
49
|
//# sourceMappingURL=bytes.d.ts.map
|
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.115",
|
|
4
4
|
"description": "Binary data related transducers & reducers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/binary": "^3.4.
|
|
40
|
-
"@thi.ng/compose": "^
|
|
41
|
-
"@thi.ng/errors": "^2.5.
|
|
42
|
-
"@thi.ng/hex": "^2.3.
|
|
43
|
-
"@thi.ng/random": "^3.7.
|
|
44
|
-
"@thi.ng/strings": "^3.7.
|
|
45
|
-
"@thi.ng/transducers": "^
|
|
39
|
+
"@thi.ng/binary": "^3.4.21",
|
|
40
|
+
"@thi.ng/compose": "^3.0.0",
|
|
41
|
+
"@thi.ng/errors": "^2.5.3",
|
|
42
|
+
"@thi.ng/hex": "^2.3.42",
|
|
43
|
+
"@thi.ng/random": "^3.7.2",
|
|
44
|
+
"@thi.ng/strings": "^3.7.29",
|
|
45
|
+
"@thi.ng/transducers": "^9.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
108
|
"thi.ng": {
|
|
109
|
+
"alias": "txb",
|
|
109
110
|
"parent": "@thi.ng/transducers",
|
|
110
111
|
"related": [
|
|
111
112
|
"binary",
|
|
@@ -114,5 +115,5 @@
|
|
|
114
115
|
],
|
|
115
116
|
"year": 2018
|
|
116
117
|
},
|
|
117
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
|
|
118
119
|
}
|