@thi.ng/transducers-binary 2.1.119 → 2.1.120
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 +1 -1
- package/bytes.js +1 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
package/bytes.js
CHANGED
|
@@ -111,8 +111,7 @@ function bytes(cap = 1024, src) {
|
|
|
111
111
|
let view;
|
|
112
112
|
let pos = 0;
|
|
113
113
|
const ensure = (acc, size) => {
|
|
114
|
-
if (pos + size <= cap)
|
|
115
|
-
return acc;
|
|
114
|
+
if (pos + size <= cap) return acc;
|
|
116
115
|
cap *= 2;
|
|
117
116
|
const buf = new Uint8Array(cap);
|
|
118
117
|
buf.set(acc);
|
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.120",
|
|
4
4
|
"description": "Binary data related transducers & reducers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,19 +36,19 @@
|
|
|
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": "^3.0.
|
|
41
|
-
"@thi.ng/errors": "^2.5.
|
|
42
|
-
"@thi.ng/hex": "^2.3.
|
|
43
|
-
"@thi.ng/random": "^3.
|
|
44
|
-
"@thi.ng/strings": "^3.7.
|
|
45
|
-
"@thi.ng/transducers": "^9.0.
|
|
39
|
+
"@thi.ng/binary": "^3.4.25",
|
|
40
|
+
"@thi.ng/compose": "^3.0.4",
|
|
41
|
+
"@thi.ng/errors": "^2.5.7",
|
|
42
|
+
"@thi.ng/hex": "^2.3.46",
|
|
43
|
+
"@thi.ng/random": "^3.8.0",
|
|
44
|
+
"@thi.ng/strings": "^3.7.33",
|
|
45
|
+
"@thi.ng/transducers": "^9.0.5"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@microsoft/api-extractor": "^7.43.
|
|
49
|
-
"esbuild": "^0.
|
|
50
|
-
"typedoc": "^0.25.
|
|
51
|
-
"typescript": "^5.4.
|
|
48
|
+
"@microsoft/api-extractor": "^7.43.2",
|
|
49
|
+
"esbuild": "^0.21.1",
|
|
50
|
+
"typedoc": "^0.25.13",
|
|
51
|
+
"typescript": "^5.4.5"
|
|
52
52
|
},
|
|
53
53
|
"keywords": [
|
|
54
54
|
"array",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
],
|
|
115
115
|
"year": 2018
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n"
|
|
118
118
|
}
|