@thi.ng/transducers-binary 2.1.193 → 2.1.195

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/README.md +2 -2
  2. package/bytes.js +2 -2
  3. package/package.json +13 -12
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 213 standalone projects, maintained as part
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.50 KB
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 { unsupported } from "@thi.ng/errors/unsupported";
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
- unsupported(`invalid struct item: ${x[0]}`);
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.193",
3
+ "version": "2.1.195",
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,17 +40,17 @@
39
40
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
41
  },
41
42
  "dependencies": {
42
- "@thi.ng/binary": "^3.6.1",
43
- "@thi.ng/compose": "^3.0.49",
44
- "@thi.ng/errors": "^2.6.1",
45
- "@thi.ng/hex": "^2.4.5",
46
- "@thi.ng/random": "^4.1.37",
47
- "@thi.ng/strings": "^3.9.33",
48
- "@thi.ng/transducers": "^9.6.21"
43
+ "@thi.ng/binary": "^3.6.3",
44
+ "@thi.ng/compose": "^3.0.51",
45
+ "@thi.ng/errors": "^2.6.3",
46
+ "@thi.ng/hex": "^2.4.7",
47
+ "@thi.ng/random": "^4.1.39",
48
+ "@thi.ng/strings": "^3.9.35",
49
+ "@thi.ng/transducers": "^9.6.23"
49
50
  },
50
51
  "devDependencies": {
51
- "esbuild": "^0.27.0",
52
- "typedoc": "^0.28.14",
52
+ "esbuild": "^0.27.2",
53
+ "typedoc": "^0.28.16",
53
54
  "typescript": "^5.9.3"
54
55
  },
55
56
  "keywords": [
@@ -116,5 +117,5 @@
116
117
  ],
117
118
  "year": 2018
118
119
  },
119
- "gitHead": "deb511294f7a120091b654af0ff7e8a399a465b3\n"
120
+ "gitHead": "4bd1b9d8ae52ba32b90a1b9a55d329c708ca7865\n"
120
121
  }