@thi.ng/rstream 9.3.11 → 9.3.13

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/package.json +15 -14
  3. package/pubsub.js +4 -4
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
  >
@@ -215,7 +215,7 @@ For Node.js REPL:
215
215
  const rs = await import("@thi.ng/rstream");
216
216
  ```
217
217
 
218
- Package sizes (brotli'd, pre-treeshake): ESM: 6.34 KB
218
+ Package sizes (brotli'd, pre-treeshake): ESM: 6.37 KB
219
219
 
220
220
  ## Dependencies
221
221
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rstream",
3
- "version": "9.3.11",
3
+ "version": "9.3.13",
4
4
  "description": "Reactive streams & subscription primitives for constructing dataflow graphs / pipelines",
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/rstream"
12
13
  },
13
14
  "homepage": "https://thi.ng/rstream",
14
15
  "funding": [
@@ -43,19 +44,19 @@
43
44
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
44
45
  },
45
46
  "dependencies": {
46
- "@thi.ng/api": "^8.12.12",
47
- "@thi.ng/arrays": "^2.14.5",
48
- "@thi.ng/associative": "^7.1.24",
49
- "@thi.ng/atom": "^5.3.53",
50
- "@thi.ng/checks": "^3.8.2",
51
- "@thi.ng/errors": "^2.6.1",
52
- "@thi.ng/logger": "^3.2.11",
53
- "@thi.ng/transducers": "^9.6.21"
47
+ "@thi.ng/api": "^8.12.14",
48
+ "@thi.ng/arrays": "^2.14.7",
49
+ "@thi.ng/associative": "^7.1.26",
50
+ "@thi.ng/atom": "^5.3.55",
51
+ "@thi.ng/checks": "^3.8.4",
52
+ "@thi.ng/errors": "^2.6.3",
53
+ "@thi.ng/logger": "^3.2.13",
54
+ "@thi.ng/transducers": "^9.6.23"
54
55
  },
55
56
  "devDependencies": {
56
- "@types/node": "^24.10.1",
57
- "esbuild": "^0.27.0",
58
- "typedoc": "^0.28.14",
57
+ "@types/node": "^24.10.9",
58
+ "esbuild": "^0.27.2",
59
+ "typedoc": "^0.28.16",
59
60
  "typescript": "^5.9.3"
60
61
  },
61
62
  "keywords": [
@@ -222,5 +223,5 @@
222
223
  ],
223
224
  "year": 2017
224
225
  },
225
- "gitHead": "deb511294f7a120091b654af0ff7e8a399a465b3\n"
226
+ "gitHead": "4bd1b9d8ae52ba32b90a1b9a55d329c708ca7865\n"
226
227
  }
package/pubsub.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { EquivMap } from "@thi.ng/associative/equiv-map";
2
- import { unsupported } from "@thi.ng/errors/unsupported";
2
+ import { unsupportedOp } from "@thi.ng/errors/unsupported";
3
3
  import { __optsWithID } from "./idgen.js";
4
4
  import { LOGGER } from "./logger.js";
5
5
  import { Subscription, subscription } from "./subscription.js";
@@ -23,13 +23,13 @@ class PubSub extends Subscription {
23
23
  * Unsupported. Use {@link PubSub.subscribeTopic} instead.
24
24
  */
25
25
  subscribe() {
26
- return unsupported(`use subscribeTopic() instead`);
26
+ return unsupportedOp(`use subscribeTopic() instead`);
27
27
  }
28
28
  /**
29
29
  * Unsupported. Use {@link PubSub.subscribeTopic} instead.
30
30
  */
31
31
  transform() {
32
- return unsupported(`use subscribeTopic() instead`);
32
+ return unsupportedOp(`use subscribeTopic() instead`);
33
33
  }
34
34
  subscribeTopic(topicID, sub, opts) {
35
35
  let t = this.topics.get(topicID);
@@ -64,7 +64,7 @@ class PubSub extends Subscription {
64
64
  this.topics.clear();
65
65
  return super.unsubscribe();
66
66
  }
67
- return unsupported();
67
+ return unsupportedOp();
68
68
  }
69
69
  done() {
70
70
  for (const t of this.topics.values()) {