@thi.ng/rstream-query 2.1.121 → 2.1.123

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-04-08T14:59:29Z
3
+ - **Last updated**: 2024-04-20T14:42:45Z
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.123](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@2.1.123) (2024-04-20)
13
+
14
+ #### ♻️ Refactoring
15
+
16
+ - update type usage ([a216a9b](https://github.com/thi-ng/umbrella/commit/a216a9b))
17
+
12
18
  ### [2.1.121](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-query@2.1.121) (2024-04-08)
13
19
 
14
20
  #### ♻️ Refactoring
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 191 standalone projects, maintained as part
10
+ > This is one of 192 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
  >
@@ -83,10 +83,10 @@ import * as rsq from "@thi.ng/rstream-query";
83
83
  Browser ESM import:
84
84
 
85
85
  ```html
86
- <script type="module" src="https://cdn.skypack.dev/@thi.ng/rstream-query"></script>
86
+ <script type="module" src="https://esm.run/@thi.ng/rstream-query"></script>
87
87
  ```
88
88
 
89
- [Skypack documentation](https://docs.skypack.dev/)
89
+ [JSDelivr documentation](https://www.jsdelivr.com/)
90
90
 
91
91
  For Node.js REPL:
92
92
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rstream-query",
3
- "version": "2.1.121",
3
+ "version": "2.1.123",
4
4
  "description": "@thi.ng/rstream based triple store & reactive query engine",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,16 +36,16 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.10.0",
40
- "@thi.ng/associative": "^6.3.55",
41
- "@thi.ng/checks": "^3.6.0",
42
- "@thi.ng/equiv": "^2.1.54",
43
- "@thi.ng/errors": "^2.5.3",
44
- "@thi.ng/logger": "^3.0.8",
45
- "@thi.ng/math": "^5.10.9",
46
- "@thi.ng/rstream": "^8.3.20",
47
- "@thi.ng/rstream-dot": "^3.0.71",
48
- "@thi.ng/transducers": "^9.0.0"
39
+ "@thi.ng/api": "^8.11.0",
40
+ "@thi.ng/associative": "^6.3.57",
41
+ "@thi.ng/checks": "^3.6.2",
42
+ "@thi.ng/equiv": "^2.1.56",
43
+ "@thi.ng/errors": "^2.5.5",
44
+ "@thi.ng/logger": "^3.0.10",
45
+ "@thi.ng/math": "^5.10.11",
46
+ "@thi.ng/rstream": "^8.4.1",
47
+ "@thi.ng/rstream-dot": "^3.0.73",
48
+ "@thi.ng/transducers": "^9.0.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@microsoft/api-extractor": "^7.43.0",
@@ -110,5 +110,5 @@
110
110
  "parent": "@thi.ng/rstream",
111
111
  "year": 2018
112
112
  },
113
- "gitHead": "85ac4bd4d6d89f8e3689e2863d5bea0cecdb371c\n"
113
+ "gitHead": "8339d05ecc857e529c7325a9839c0063b89e728d\n"
114
114
  }
package/store.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { IObjectOf } from "@thi.ng/api";
1
+ import type { IObjectOf, Maybe } from "@thi.ng/api";
2
2
  import { type DotOpts, type IToDot } from "@thi.ng/rstream-dot";
3
3
  import { type ISubscription } from "@thi.ng/rstream/api";
4
4
  import { Stream } from "@thi.ng/rstream/stream";
@@ -105,7 +105,7 @@ export declare class TripleStore implements Iterable<Triple>, IToDot {
105
105
  toDot(opts?: Partial<DotOpts>): string;
106
106
  protected nextID(): number;
107
107
  private broadcastTriple;
108
- protected findTriple(s: TripleIds | undefined, p: TripleIds | undefined, o: TripleIds | undefined, f: Triple): number;
108
+ protected findTriple(s: Maybe<TripleIds>, p: Maybe<TripleIds>, o: Maybe<TripleIds>, f: Triple): number;
109
109
  protected getIndexSelection(stream: Stream<Edit>, key: any, id: string): ISubscription<any, TripleIds>;
110
110
  protected addParamQueries(patterns: Iterable<Pattern>): IterableIterator<QuerySolution>;
111
111
  }