@thi.ng/transducers-binary 2.1.108 → 2.1.110
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 +1 -1
- package/base64.js +1 -1
- package/package.json +5 -5
- package/utf8.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2024-03-
|
|
3
|
+
- **Last updated**: 2024-03-21T16:11:49Z
|
|
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.109](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-binary@2.1.109) (2024-03-18)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- remove obsolete spread ops ([04e5207](https://github.com/thi-ng/umbrella/commit/04e5207))
|
|
17
|
+
|
|
12
18
|
### [2.1.100](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-binary@2.1.100) (2024-02-22)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/README.md
CHANGED
package/base64.js
CHANGED
|
@@ -4,7 +4,7 @@ import { isReduced, reduced } from "@thi.ng/transducers/reduced";
|
|
|
4
4
|
const B64_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
5
5
|
const B64_SAFE = B64_CHARS.substring(0, 62) + "-_";
|
|
6
6
|
function base64Decode(src) {
|
|
7
|
-
return src ? new Uint8Array(
|
|
7
|
+
return src ? new Uint8Array(iterator1(base64Decode(), src)) : (rfn) => {
|
|
8
8
|
const r = rfn[2];
|
|
9
9
|
let bc = 0, bs = 0;
|
|
10
10
|
return compR(rfn, (acc, x) => {
|
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.110",
|
|
4
4
|
"description": "Binary data related transducers & reducers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@thi.ng/compose": "^2.1.70",
|
|
41
41
|
"@thi.ng/errors": "^2.5.1",
|
|
42
42
|
"@thi.ng/hex": "^2.3.40",
|
|
43
|
-
"@thi.ng/random": "^3.
|
|
44
|
-
"@thi.ng/strings": "^3.7.
|
|
45
|
-
"@thi.ng/transducers": "^8.9.
|
|
43
|
+
"@thi.ng/random": "^3.7.0",
|
|
44
|
+
"@thi.ng/strings": "^3.7.26",
|
|
45
|
+
"@thi.ng/transducers": "^8.9.15"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@microsoft/api-extractor": "^7.42.3",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
],
|
|
115
115
|
"year": 2018
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "da965520b2f3f8c259a791e8e8864308be2ba0be\n"
|
|
118
118
|
}
|
package/utf8.js
CHANGED
|
@@ -88,7 +88,7 @@ function utf8Decode(src) {
|
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
function utf8Encode(src) {
|
|
91
|
-
return src != null ? new Uint8Array(
|
|
91
|
+
return src != null ? new Uint8Array(iterator(utf8Encode(), src)) : (rfn) => {
|
|
92
92
|
const r = rfn[2];
|
|
93
93
|
return compR(rfn, (acc, x) => {
|
|
94
94
|
let u = x.charCodeAt(0), buf;
|