@thi.ng/transducers-binary 2.1.3 → 2.1.6
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 +2 -2
- package/base64.js +1 -1
- package/package.json +21 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**:
|
|
3
|
+
- **Last updated**: 2022-04-07T14:17: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.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-binary@2.1.6) (2022-04-07)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- replace deprecated .substr() w/ .substring() ([0710509](https://github.com/thi-ng/umbrella/commit/0710509))
|
|
17
|
+
|
|
12
18
|
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/transducers-binary@2.1.0) (2021-11-17)
|
|
13
19
|
|
|
14
20
|
#### 🚀 Features
|
package/README.md
CHANGED
|
@@ -70,7 +70,7 @@ node --experimental-repl-await
|
|
|
70
70
|
> const transducersBinary = await import("@thi.ng/transducers-binary");
|
|
71
71
|
```
|
|
72
72
|
|
|
73
|
-
Package sizes (gzipped, pre-treeshake): ESM: 2.
|
|
73
|
+
Package sizes (gzipped, pre-treeshake): ESM: 2.87 KB
|
|
74
74
|
|
|
75
75
|
## Dependencies
|
|
76
76
|
|
|
@@ -321,4 +321,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
321
321
|
|
|
322
322
|
## License
|
|
323
323
|
|
|
324
|
-
© 2018 -
|
|
324
|
+
© 2018 - 2022 Karsten Schmidt // Apache Software License 2.0
|
package/base64.js
CHANGED
|
@@ -2,7 +2,7 @@ import { compR } from "@thi.ng/transducers/compr";
|
|
|
2
2
|
import { iterator, iterator1, __iter } from "@thi.ng/transducers/iterator";
|
|
3
3
|
import { isReduced, reduced } from "@thi.ng/transducers/reduced";
|
|
4
4
|
const B64_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
5
|
-
const B64_SAFE = B64_CHARS.
|
|
5
|
+
const B64_SAFE = B64_CHARS.substring(0, 62) + "-_";
|
|
6
6
|
export function base64Decode(src) {
|
|
7
7
|
return src
|
|
8
8
|
? new Uint8Array([...iterator1(base64Decode(), src)])
|
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.6",
|
|
4
4
|
"description": "Binary data related transducers & reducers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/binary": "^3.1
|
|
38
|
-
"@thi.ng/compose": "^2.1.
|
|
39
|
-
"@thi.ng/errors": "^2.1.
|
|
40
|
-
"@thi.ng/hex": "^2.1.
|
|
41
|
-
"@thi.ng/random": "^3.2.
|
|
42
|
-
"@thi.ng/transducers": "^8.1
|
|
37
|
+
"@thi.ng/binary": "^3.2.1",
|
|
38
|
+
"@thi.ng/compose": "^2.1.5",
|
|
39
|
+
"@thi.ng/errors": "^2.1.5",
|
|
40
|
+
"@thi.ng/hex": "^2.1.5",
|
|
41
|
+
"@thi.ng/random": "^3.2.5",
|
|
42
|
+
"@thi.ng/transducers": "^8.3.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@microsoft/api-extractor": "^7.19.
|
|
46
|
-
"@thi.ng/testament": "^0.2.
|
|
45
|
+
"@microsoft/api-extractor": "^7.19.4",
|
|
46
|
+
"@thi.ng/testament": "^0.2.5",
|
|
47
47
|
"rimraf": "^3.0.2",
|
|
48
48
|
"tools": "^0.0.1",
|
|
49
|
-
"typedoc": "^0.22.
|
|
50
|
-
"typescript": "^4.
|
|
49
|
+
"typedoc": "^0.22.13",
|
|
50
|
+
"typescript": "^4.6.2"
|
|
51
51
|
},
|
|
52
52
|
"keywords": [
|
|
53
53
|
"array",
|
|
@@ -76,31 +76,31 @@
|
|
|
76
76
|
],
|
|
77
77
|
"exports": {
|
|
78
78
|
".": {
|
|
79
|
-
"
|
|
79
|
+
"default": "./index.js"
|
|
80
80
|
},
|
|
81
81
|
"./api": {
|
|
82
|
-
"
|
|
82
|
+
"default": "./api.js"
|
|
83
83
|
},
|
|
84
84
|
"./base64": {
|
|
85
|
-
"
|
|
85
|
+
"default": "./base64.js"
|
|
86
86
|
},
|
|
87
87
|
"./bits": {
|
|
88
|
-
"
|
|
88
|
+
"default": "./bits.js"
|
|
89
89
|
},
|
|
90
90
|
"./bytes": {
|
|
91
|
-
"
|
|
91
|
+
"default": "./bytes.js"
|
|
92
92
|
},
|
|
93
93
|
"./hex-dump": {
|
|
94
|
-
"
|
|
94
|
+
"default": "./hex-dump.js"
|
|
95
95
|
},
|
|
96
96
|
"./partition-bits": {
|
|
97
|
-
"
|
|
97
|
+
"default": "./partition-bits.js"
|
|
98
98
|
},
|
|
99
99
|
"./random-bits": {
|
|
100
|
-
"
|
|
100
|
+
"default": "./random-bits.js"
|
|
101
101
|
},
|
|
102
102
|
"./utf8": {
|
|
103
|
-
"
|
|
103
|
+
"default": "./utf8.js"
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"thi.ng": {
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
],
|
|
113
113
|
"year": 2018
|
|
114
114
|
},
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "5ee1feb590dd935593b1dd4e7f38a3ed3ba64765\n"
|
|
116
116
|
}
|