@thi.ng/oquery 2.1.1 → 2.1.4

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**: 2021-11-19T07:59:51Z
3
+ - **Last updated**: 2022-03-11T12:13:49Z
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
@@ -287,4 +287,4 @@ If this project contributes to an academic publication, please cite it as:
287
287
 
288
288
  ## License
289
289
 
290
- © 2020 - 2021 Karsten Schmidt // Apache Software License 2.0
290
+ © 2020 - 2022 Karsten Schmidt // Apache Software License 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/oquery",
3
- "version": "2.1.1",
3
+ "version": "2.1.4",
4
4
  "description": "Datalog-inspired, optimized pattern/predicate query engine for JS objects & arrays",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,18 +34,18 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.1",
38
- "@thi.ng/checks": "^3.1.1",
39
- "@thi.ng/defmulti": "^2.1.1",
40
- "@thi.ng/equiv": "^2.1.1"
37
+ "@thi.ng/api": "^8.3.4",
38
+ "@thi.ng/checks": "^3.1.4",
39
+ "@thi.ng/defmulti": "^2.1.4",
40
+ "@thi.ng/equiv": "^2.1.4"
41
41
  },
42
42
  "devDependencies": {
43
- "@microsoft/api-extractor": "^7.18.19",
44
- "@thi.ng/testament": "^0.2.1",
43
+ "@microsoft/api-extractor": "^7.19.4",
44
+ "@thi.ng/testament": "^0.2.4",
45
45
  "rimraf": "^3.0.2",
46
46
  "tools": "^0.0.1",
47
- "typedoc": "^0.22.9",
48
- "typescript": "^4.5.2"
47
+ "typedoc": "^0.22.13",
48
+ "typescript": "^4.6.2"
49
49
  },
50
50
  "keywords": [
51
51
  "array",
@@ -91,5 +91,5 @@
91
91
  ],
92
92
  "year": 2020
93
93
  },
94
- "gitHead": "8bd27c8bde0b770e7c001943f11c951cd345d668\n"
94
+ "gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n"
95
95
  }
package/query.d.ts CHANGED
@@ -9,7 +9,7 @@ import type { KeyQueryFn, KeyQueryOpts, QueryFn, QueryObj, QueryOpts } from "./a
9
9
  * @see {@link ArrayQueryFn}
10
10
  * @see {@link defKeyQuery}
11
11
  *
12
- * @param opts
12
+ * @param opts -
13
13
  */
14
14
  export declare const defQuery: <T extends QueryObj | QueryObj[] = QueryObj>(opts?: Partial<QueryOpts> | undefined) => QueryFn<T>;
15
15
  /**
@@ -22,7 +22,7 @@ export declare const defQuery: <T extends QueryObj | QueryObj[] = QueryObj>(opts
22
22
  * @see {@link ObjKeyQueryFn}
23
23
  * @see {@link ArrayKeyQueryFn}
24
24
  *
25
- * @param opts
25
+ * @param opts -
26
26
  */
27
27
  export declare const defKeyQuery: <T extends QueryObj | QueryObj[] = QueryObj>(opts?: Partial<KeyQueryOpts> | undefined) => KeyQueryFn<T>;
28
28
  //# sourceMappingURL=query.d.ts.map
package/query.js CHANGED
@@ -6,7 +6,7 @@ import { equiv } from "@thi.ng/equiv";
6
6
  /**
7
7
  * Classifies a single S,P,O term. See {@link QueryType} for explanations.
8
8
  *
9
- * @param x
9
+ * @param x -
10
10
  *
11
11
  * @internal
12
12
  */
@@ -21,7 +21,7 @@ const ensureSet = (src) => isArray(src) ? new Set(src) : src;
21
21
  * ALL of the query term elements are present in a given object (assumed to be
22
22
  * an array or set too).
23
23
  *
24
- * @param src
24
+ * @param src -
25
25
  *
26
26
  * @internal
27
27
  */
@@ -43,8 +43,8 @@ const intersect = (src) => {
43
43
  * input. If `isec` is true, the returned predicate will be the result of
44
44
  * {@link intersect}.
45
45
  *
46
- * @param x
47
- * @param isec
46
+ * @param x -
47
+ * @param isec -
48
48
  *
49
49
  * @internal
50
50
  */
@@ -61,7 +61,7 @@ const coerce = (x, isec = false) => isArray(x)
61
61
  * Similar to {@link coerce}, but intended for S,P terms. Unless `x` is a
62
62
  * function or null, coerces `x` (or its elements) to strings first.
63
63
  *
64
- * @param x
64
+ * @param x -
65
65
  *
66
66
  * @internal
67
67
  */
@@ -348,7 +348,7 @@ const DEFAULT_OPTS = {
348
348
  * @see {@link ArrayQueryFn}
349
349
  * @see {@link defKeyQuery}
350
350
  *
351
- * @param opts
351
+ * @param opts -
352
352
  */
353
353
  export const defQuery = (opts) => {
354
354
  const $opts = { ...DEFAULT_OPTS, ...opts };
@@ -373,7 +373,7 @@ export const defQuery = (opts) => {
373
373
  * @see {@link ObjKeyQueryFn}
374
374
  * @see {@link ArrayKeyQueryFn}
375
375
  *
376
- * @param opts
376
+ * @param opts -
377
377
  */
378
378
  export const defKeyQuery = (opts) => {
379
379
  const $opts = { ...DEFAULT_OPTS, ...opts };