@thi.ng/transducers-binary 2.1.175 → 2.1.177
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/base64.d.ts +1 -1
- package/bytes.d.ts +2 -2
- package/package.json +11 -11
- package/utf8.d.ts +1 -1
- package/utf8.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-
|
|
3
|
+
- **Last updated**: 2025-08-04T09:13:01Z
|
|
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.
|
|
@@ -11,6 +11,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
11
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
12
12
|
and/or version bumps of transitive dependencies.
|
|
13
13
|
|
|
14
|
+
### [2.1.177](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-binary@2.1.177) (2025-08-04)
|
|
15
|
+
|
|
16
|
+
#### ♻️ Refactoring
|
|
17
|
+
|
|
18
|
+
- add required typedarray generics (TS5.9) ([e394ce8](https://github.com/thi-ng/umbrella/commit/e394ce8))
|
|
19
|
+
|
|
14
20
|
### [2.1.121](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-binary@2.1.121) (2024-06-21)
|
|
15
21
|
|
|
16
22
|
#### ♻️ Refactoring
|
package/base64.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { Transducer } from "@thi.ng/transducers";
|
|
|
4
4
|
* Supports URL safe & unsafe flavors.
|
|
5
5
|
*/
|
|
6
6
|
export declare function base64Decode(): Transducer<string, number>;
|
|
7
|
-
export declare function base64Decode(src: string): Uint8Array
|
|
7
|
+
export declare function base64Decode(src: string): Uint8Array<ArrayBuffer>;
|
|
8
8
|
export interface Base64EncodeOpts {
|
|
9
9
|
safe: boolean;
|
|
10
10
|
buffer: number;
|
package/bytes.d.ts
CHANGED
|
@@ -46,6 +46,6 @@ export declare const str: (x: string) => BinStructItem;
|
|
|
46
46
|
*/
|
|
47
47
|
export declare function asBytes(): Transducer<BinStructItem, number>;
|
|
48
48
|
export declare function asBytes(src: Iterable<BinStructItem>): Iterable<number>;
|
|
49
|
-
export declare function bytes(cap?: number): Reducer<BinStructItem, Uint8Array
|
|
50
|
-
export declare function bytes(cap: number, src: Iterable<BinStructItem>): Uint8Array
|
|
49
|
+
export declare function bytes(cap?: number): Reducer<BinStructItem, Uint8Array<ArrayBuffer>>;
|
|
50
|
+
export declare function bytes(cap: number, src: Iterable<BinStructItem>): Uint8Array<ArrayBuffer>;
|
|
51
51
|
//# 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.177",
|
|
4
4
|
"description": "Binary data related transducers & reducers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,18 +39,18 @@
|
|
|
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.6.
|
|
42
|
+
"@thi.ng/binary": "^3.4.59",
|
|
43
|
+
"@thi.ng/compose": "^3.0.38",
|
|
44
|
+
"@thi.ng/errors": "^2.5.41",
|
|
45
|
+
"@thi.ng/hex": "^2.3.79",
|
|
46
|
+
"@thi.ng/random": "^4.1.26",
|
|
47
|
+
"@thi.ng/strings": "^3.9.21",
|
|
48
|
+
"@thi.ng/transducers": "^9.6.6"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"esbuild": "^0.25.8",
|
|
52
|
-
"typedoc": "^0.28.
|
|
53
|
-
"typescript": "^5.
|
|
52
|
+
"typedoc": "^0.28.9",
|
|
53
|
+
"typescript": "^5.9.2"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|
|
56
56
|
"array",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
],
|
|
117
117
|
"year": 2018
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "0bcedf8d1dd4f30cd06bb2c668599628f2f0141e\n"
|
|
120
120
|
}
|
package/utf8.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export declare function utf8Decode(src: Iterable<number>): string;
|
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
30
|
export declare function utf8Encode(): Transducer<string, number>;
|
|
31
|
-
export declare function utf8Encode(src: string): Uint8Array
|
|
31
|
+
export declare function utf8Encode(src: string): Uint8Array<ArrayBuffer>;
|
|
32
32
|
/**
|
|
33
33
|
* Re-export of
|
|
34
34
|
* [`utf8Length`](https://docs.thi.ng/umbrella/strings/functions/utf8Length.html).
|
package/utf8.js
CHANGED