@thi.ng/rstream-query 2.1.48 → 2.1.50
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 +7 -1
- package/README.md +1 -1
- package/package.json +16 -16
- package/store.d.ts +2 -2
- package/store.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2023-
|
|
3
|
+
- **Last updated**: 2023-04-08T11:09:50Z
|
|
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.50](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@2.1.50) (2023-04-08)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update TripleStore.toDot() impl ([303a730](https://github.com/thi-ng/umbrella/commit/303a730))
|
|
17
|
+
|
|
12
18
|
### [2.1.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@2.1.7) (2022-04-07)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rstream-query",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.50",
|
|
4
4
|
"description": "@thi.ng/rstream based triple store & reactive query engine",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.7.
|
|
38
|
-
"@thi.ng/associative": "^6.2.
|
|
39
|
-
"@thi.ng/checks": "^3.3.
|
|
40
|
-
"@thi.ng/equiv": "^2.1.
|
|
41
|
-
"@thi.ng/errors": "^2.2.
|
|
42
|
-
"@thi.ng/logger": "^1.4.
|
|
43
|
-
"@thi.ng/math": "^5.4.
|
|
44
|
-
"@thi.ng/rstream": "^
|
|
45
|
-
"@thi.ng/rstream-dot": "^
|
|
46
|
-
"@thi.ng/transducers": "^8.4.
|
|
37
|
+
"@thi.ng/api": "^8.7.6",
|
|
38
|
+
"@thi.ng/associative": "^6.2.34",
|
|
39
|
+
"@thi.ng/checks": "^3.3.12",
|
|
40
|
+
"@thi.ng/equiv": "^2.1.22",
|
|
41
|
+
"@thi.ng/errors": "^2.2.15",
|
|
42
|
+
"@thi.ng/logger": "^1.4.13",
|
|
43
|
+
"@thi.ng/math": "^5.4.7",
|
|
44
|
+
"@thi.ng/rstream": "^8.0.0",
|
|
45
|
+
"@thi.ng/rstream-dot": "^3.0.0",
|
|
46
|
+
"@thi.ng/transducers": "^8.4.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@microsoft/api-extractor": "^7.34.4",
|
|
50
|
-
"@thi.ng/testament": "^0.3.
|
|
51
|
-
"rimraf": "^4.4.
|
|
50
|
+
"@thi.ng/testament": "^0.3.15",
|
|
51
|
+
"rimraf": "^4.4.1",
|
|
52
52
|
"tools": "^0.0.1",
|
|
53
|
-
"typedoc": "^0.23.
|
|
54
|
-
"typescript": "^
|
|
53
|
+
"typedoc": "^0.23.28",
|
|
54
|
+
"typescript": "^5.0.4"
|
|
55
55
|
},
|
|
56
56
|
"keywords": [
|
|
57
57
|
"database",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"parent": "@thi.ng/rstream",
|
|
109
109
|
"year": 2018
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "abcedd9e4e06a4b631f363610eec572f79b571c1\n"
|
|
112
112
|
}
|
package/store.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IObjectOf } from "@thi.ng/api";
|
|
2
|
-
import { DotOpts, IToDot } from "@thi.ng/rstream-dot";
|
|
3
|
-
import { ISubscription } from "@thi.ng/rstream/api";
|
|
2
|
+
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
|
@@ -3,7 +3,7 @@ import { equiv } from "@thi.ng/equiv";
|
|
|
3
3
|
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
|
-
import {
|
|
6
|
+
import { serialize } from "@thi.ng/rstream-dot";
|
|
7
7
|
import { CloseMode } from "@thi.ng/rstream/api";
|
|
8
8
|
import { __nextID } from "@thi.ng/rstream/idgen";
|
|
9
9
|
import { Stream } from "@thi.ng/rstream/stream";
|
|
@@ -272,7 +272,7 @@ export class TripleStore {
|
|
|
272
272
|
return query;
|
|
273
273
|
}
|
|
274
274
|
toDot(opts) {
|
|
275
|
-
return
|
|
275
|
+
return serialize([this.streamS, this.streamP, this.streamO, this.streamAll], opts);
|
|
276
276
|
}
|
|
277
277
|
nextID() {
|
|
278
278
|
return this.freeIDs.length ? this.freeIDs.pop() : this.NEXT_ID++;
|