@thi.ng/transducers-binary 2.1.194 → 2.1.197
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/README.md +2 -2
- package/bytes.js +2 -2
- package/package.json +11 -10
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 214 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -78,7 +78,7 @@ For Node.js REPL:
|
|
|
78
78
|
const txb = await import("@thi.ng/transducers-binary");
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
Package sizes (brotli'd, pre-treeshake): ESM: 2.
|
|
81
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 2.51 KB
|
|
82
82
|
|
|
83
83
|
## Dependencies
|
|
84
84
|
|
package/bytes.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
bytesF32,
|
|
6
6
|
bytesF64
|
|
7
7
|
} from "@thi.ng/binary/bytes";
|
|
8
|
-
import {
|
|
8
|
+
import { illegalArgs } from "@thi.ng/errors/illegal-arguments";
|
|
9
9
|
import { iterator } from "@thi.ng/transducers/iterator";
|
|
10
10
|
import { mapcat } from "@thi.ng/transducers/mapcat";
|
|
11
11
|
import { reduce } from "@thi.ng/transducers/reduce";
|
|
@@ -103,7 +103,7 @@ function asBytes(src) {
|
|
|
103
103
|
case "str":
|
|
104
104
|
return utf8Encode(x[1]);
|
|
105
105
|
default:
|
|
106
|
-
|
|
106
|
+
illegalArgs(`invalid struct item: ${x[0]}`);
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
}
|
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.197",
|
|
4
4
|
"description": "Binary data related transducers & reducers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/thi-ng/umbrella.git"
|
|
11
|
+
"url": "git+https://github.com/thi-ng/umbrella.git",
|
|
12
|
+
"directory": "packages/transducers-binary"
|
|
12
13
|
},
|
|
13
14
|
"homepage": "https://thi.ng/transducers-binary",
|
|
14
15
|
"funding": [
|
|
@@ -39,13 +40,13 @@
|
|
|
39
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
|
-
"@thi.ng/binary": "^3.6.
|
|
43
|
-
"@thi.ng/compose": "^3.0.
|
|
44
|
-
"@thi.ng/errors": "^2.6.
|
|
45
|
-
"@thi.ng/hex": "^2.4.
|
|
46
|
-
"@thi.ng/random": "^4.1.
|
|
47
|
-
"@thi.ng/strings": "^3.9.
|
|
48
|
-
"@thi.ng/transducers": "^9.6.
|
|
43
|
+
"@thi.ng/binary": "^3.6.4",
|
|
44
|
+
"@thi.ng/compose": "^3.0.52",
|
|
45
|
+
"@thi.ng/errors": "^2.6.4",
|
|
46
|
+
"@thi.ng/hex": "^2.4.8",
|
|
47
|
+
"@thi.ng/random": "^4.1.40",
|
|
48
|
+
"@thi.ng/strings": "^3.9.36",
|
|
49
|
+
"@thi.ng/transducers": "^9.6.25"
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|
|
51
52
|
"esbuild": "^0.27.2",
|
|
@@ -116,5 +117,5 @@
|
|
|
116
117
|
],
|
|
117
118
|
"year": 2018
|
|
118
119
|
},
|
|
119
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "8f50352caab9ec7757d645c0afa605dfb5427abe\n"
|
|
120
121
|
}
|