@thi.ng/rstream-query 2.1.33 → 2.1.35

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**: 2022-11-30T22:27:38Z
3
+ - **Last updated**: 2022-12-16T12:52:25Z
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.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![rstream-query](https://media.thi.ng/umbrella/banners-20220914/thing-rstream-query.svg?2cfe42ce)
3
+ # ![@thi.ng/rstream-query](https://media.thi.ng/umbrella/banners-20220914/thing-rstream-query.svg?2cfe42ce)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/rstream-query.svg)](https://www.npmjs.com/package/@thi.ng/rstream-query)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/rstream-query.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
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
  This project is part of the
10
10
  [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
@@ -78,11 +78,8 @@ ES module import:
78
78
 
79
79
  For Node.js REPL:
80
80
 
81
- ```text
82
- # with flag only for < v16
83
- node --experimental-repl-await
84
-
85
- > const rstreamQuery = await import("@thi.ng/rstream-query");
81
+ ```js
82
+ const rstreamQuery = await import("@thi.ng/rstream-query");
86
83
  ```
87
84
 
88
85
  Package sizes (brotli'd, pre-treeshake): ESM: 2.49 KB
@@ -233,7 +230,7 @@ The source code for the above example is
233
230
 
234
231
  ## Authors
235
232
 
236
- Karsten Schmidt
233
+ - [Karsten Schmidt](https://thi.ng)
237
234
 
238
235
  If this project contributes to an academic publication, please cite it as:
239
236
 
@@ -248,4 +245,4 @@ If this project contributes to an academic publication, please cite it as:
248
245
 
249
246
  ## License
250
247
 
251
- &copy; 2018 - 2022 Karsten Schmidt // Apache Software License 2.0
248
+ &copy; 2018 - 2022 Karsten Schmidt // Apache License 2.0
package/api.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  import type { Fn, IObjectOf } from "@thi.ng/api";
2
2
  import type { ISubscription } from "@thi.ng/rstream";
3
- export declare type Pattern = [any, any, any];
4
- export declare type PathPattern = [any, any[], any];
5
- export declare type Triple = Pattern;
6
- export declare type Triples = Set<Pattern>;
7
- export declare type TripleIds = Set<number>;
8
- export declare type Solution = IObjectOf<any>;
9
- export declare type Solutions = Set<Solution>;
10
- export declare type QuerySolution = ISubscription<any, Solutions>;
11
- export declare type BindFn = Fn<Solution, any>;
3
+ export type Pattern = [any, any, any];
4
+ export type PathPattern = [any, any[], any];
5
+ export type Triple = Pattern;
6
+ export type Triples = Set<Pattern>;
7
+ export type TripleIds = Set<number>;
8
+ export type Solution = IObjectOf<any>;
9
+ export type Solutions = Set<Solution>;
10
+ export type QuerySolution = ISubscription<any, Solutions>;
11
+ export type BindFn = Fn<Solution, any>;
12
12
  export interface Edit {
13
13
  index: Set<number>;
14
14
  key: any;
@@ -20,7 +20,7 @@ export interface QuerySpec {
20
20
  bind?: IObjectOf<BindFn>;
21
21
  limit?: number;
22
22
  }
23
- export declare type SubQuerySpec = WhereQuerySpec | PathQuerySpec;
23
+ export type SubQuerySpec = WhereQuerySpec | PathQuerySpec;
24
24
  export interface WhereQuerySpec {
25
25
  where: Pattern[];
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/rstream-query",
3
- "version": "2.1.33",
3
+ "version": "2.1.35",
4
4
  "description": "@thi.ng/rstream based triple store & reactive query engine",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -21,7 +21,7 @@
21
21
  "url": "https://patreon.com/thing_umbrella"
22
22
  }
23
23
  ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
24
+ "author": "Karsten Schmidt (https://thi.ng)",
25
25
  "license": "Apache-2.0",
26
26
  "scripts": {
27
27
  "build": "yarn clean && tsc --declaration",
@@ -34,24 +34,24 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.5.1",
38
- "@thi.ng/associative": "^6.2.18",
39
- "@thi.ng/checks": "^3.3.4",
40
- "@thi.ng/equiv": "^2.1.14",
41
- "@thi.ng/errors": "^2.2.5",
42
- "@thi.ng/logger": "^1.4.4",
43
- "@thi.ng/math": "^5.3.15",
44
- "@thi.ng/rstream": "^7.2.30",
45
- "@thi.ng/rstream-dot": "^2.1.33",
46
- "@thi.ng/transducers": "^8.3.25"
37
+ "@thi.ng/api": "^8.6.1",
38
+ "@thi.ng/associative": "^6.2.20",
39
+ "@thi.ng/checks": "^3.3.5",
40
+ "@thi.ng/equiv": "^2.1.15",
41
+ "@thi.ng/errors": "^2.2.6",
42
+ "@thi.ng/logger": "^1.4.5",
43
+ "@thi.ng/math": "^5.3.17",
44
+ "@thi.ng/rstream": "^7.2.32",
45
+ "@thi.ng/rstream-dot": "^2.1.35",
46
+ "@thi.ng/transducers": "^8.3.27"
47
47
  },
48
48
  "devDependencies": {
49
- "@microsoft/api-extractor": "^7.33.5",
50
- "@thi.ng/testament": "^0.3.6",
49
+ "@microsoft/api-extractor": "^7.33.7",
50
+ "@thi.ng/testament": "^0.3.7",
51
51
  "rimraf": "^3.0.2",
52
52
  "tools": "^0.0.1",
53
- "typedoc": "^0.23.20",
54
- "typescript": "^4.8.4"
53
+ "typedoc": "^0.23.22",
54
+ "typescript": "^4.9.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": "1fe40da507070653f420156d91e6b27cf682004f\n"
111
+ "gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
112
112
  }