@thi.ng/rstream-query 2.1.139 → 2.1.140

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-08-18T14:11:34Z
3
+ - **Last updated**: 2024-08-20T11:41:56Z
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.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [2.1.140](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@2.1.140) (2024-08-20)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update internal close mode handling (33b1d16f34) ([adb89d5](https://github.com/thi-ng/umbrella/commit/adb89d5))
17
+
12
18
  ### [2.1.127](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@2.1.127) (2024-06-21)
13
19
 
14
20
  #### ♻️ Refactoring
package/README.md CHANGED
@@ -94,7 +94,7 @@ For Node.js REPL:
94
94
  const rsq = await import("@thi.ng/rstream-query");
95
95
  ```
96
96
 
97
- Package sizes (brotli'd, pre-treeshake): ESM: 2.60 KB
97
+ Package sizes (brotli'd, pre-treeshake): ESM: 2.58 KB
98
98
 
99
99
  ## Dependencies
100
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rstream-query",
3
- "version": "2.1.139",
3
+ "version": "2.1.140",
4
4
  "description": "@thi.ng/rstream based triple store & reactive query engine",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -43,8 +43,8 @@
43
43
  "@thi.ng/errors": "^2.5.15",
44
44
  "@thi.ng/logger": "^3.0.19",
45
45
  "@thi.ng/math": "^5.11.8",
46
- "@thi.ng/rstream": "^8.5.13",
47
- "@thi.ng/rstream-dot": "^3.0.89",
46
+ "@thi.ng/rstream": "^9.0.0",
47
+ "@thi.ng/rstream-dot": "^3.0.90",
48
48
  "@thi.ng/transducers": "^9.2.0"
49
49
  },
50
50
  "devDependencies": {
@@ -109,5 +109,5 @@
109
109
  "parent": "@thi.ng/rstream",
110
110
  "year": 2018
111
111
  },
112
- "gitHead": "bfbc227cf5ca2d3c2984b3d4713eebd6225cbd54\n"
112
+ "gitHead": "bb5006182c335294b5c53abf39663d42445c4880\n"
113
113
  }
package/store.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { IObjectOf, Maybe } from "@thi.ng/api";
2
+ import type { ISubscription } from "@thi.ng/rstream";
2
3
  import { type DotOpts, type IToDot } from "@thi.ng/rstream-dot";
3
- import { type ISubscription } from "@thi.ng/rstream/api";
4
4
  import { Stream } from "@thi.ng/rstream/stream";
5
5
  import type { Edit, PathPattern, Pattern, QuerySolution, QuerySpec, Triple, TripleIds, Triples } from "./api.js";
6
6
  export declare class TripleStore implements Iterable<Triple>, IToDot {
package/store.js CHANGED
@@ -4,7 +4,6 @@ import { assert } from "@thi.ng/errors/assert";
4
4
  import { illegalArgs } from "@thi.ng/errors/illegal-arguments";
5
5
  import { min3id } from "@thi.ng/math/interval";
6
6
  import { serialize } from "@thi.ng/rstream-dot";
7
- import { CloseMode } from "@thi.ng/rstream/api";
8
7
  import { __nextID } from "@thi.ng/rstream/idgen";
9
8
  import { Stream } from "@thi.ng/rstream/stream";
10
9
  import { sync } from "@thi.ng/rstream/sync";
@@ -52,10 +51,10 @@ class TripleStore {
52
51
  p: /* @__PURE__ */ new Map(),
53
52
  o: /* @__PURE__ */ new Map()
54
53
  };
55
- this.streamS = new Stream({ id: "S", closeOut: CloseMode.NEVER });
56
- this.streamP = new Stream({ id: "P", closeOut: CloseMode.NEVER });
57
- this.streamO = new Stream({ id: "O", closeOut: CloseMode.NEVER });
58
- this.streamAll = new Stream({ id: "ALL", closeOut: CloseMode.NEVER });
54
+ this.streamS = new Stream({ id: "S", closeOut: "never" });
55
+ this.streamP = new Stream({ id: "P", closeOut: "never" });
56
+ this.streamO = new Stream({ id: "O", closeOut: "never" });
57
+ this.streamAll = new Stream({ id: "ALL", closeOut: "never" });
59
58
  this.allIDs = /* @__PURE__ */ new Set();
60
59
  this.NEXT_ID = 0;
61
60
  if (triples) {