@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.
Files changed (3) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/bytes.js +1 -2
  3. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-04-23T07:02:18Z
3
+ - **Last updated**: 2024-05-08T18:24:32Z
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.
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.119",
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.24",
40
- "@thi.ng/compose": "^3.0.3",
41
- "@thi.ng/errors": "^2.5.6",
42
- "@thi.ng/hex": "^2.3.45",
43
- "@thi.ng/random": "^3.7.5",
44
- "@thi.ng/strings": "^3.7.32",
45
- "@thi.ng/transducers": "^9.0.4"
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.0",
49
- "esbuild": "^0.20.2",
50
- "typedoc": "^0.25.12",
51
- "typescript": "^5.4.3"
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": "aed3421c21044c005fbcb7cc37965ccf85a870d2\n"
117
+ "gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n"
118
118
  }