@comunica/actor-query-operation-reduced-hash 3.3.0 → 4.0.1
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/README.md +1 -1
- package/components/ActorQueryOperationReducedHash.jsonld +44 -12
- package/components/components.jsonld +1 -1
- package/components/context.jsonld +7 -1
- package/lib/ActorQueryOperationReducedHash.d.ts +5 -3
- package/lib/ActorQueryOperationReducedHash.js +10 -6
- package/lib/ActorQueryOperationReducedHash.js.map +1 -1
- package/package.json +13 -7
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ After installing, this package can be added to your engine's configuration as fo
|
|
|
23
23
|
{
|
|
24
24
|
"@context": [
|
|
25
25
|
...
|
|
26
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-reduced-hash/^
|
|
26
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-reduced-hash/^4.0.0/components/context.jsonld"
|
|
27
27
|
],
|
|
28
28
|
"actors": [
|
|
29
29
|
...
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-reduced-hash/^
|
|
4
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^
|
|
5
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-reduced-hash/^4.0.0/components/context.jsonld",
|
|
4
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/core/^4.0.0/components/context.jsonld",
|
|
5
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/bus-query-operation/^4.0.0/components/context.jsonld"
|
|
6
6
|
],
|
|
7
7
|
"@id": "npmd:@comunica/actor-query-operation-reduced-hash",
|
|
8
8
|
"components": [
|
|
@@ -54,29 +54,37 @@
|
|
|
54
54
|
"genericTypeInstances": [
|
|
55
55
|
{
|
|
56
56
|
"@type": "ParameterRangeGenericTypeReference",
|
|
57
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
57
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
"@type": "ParameterRangeGenericTypeReference",
|
|
61
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
61
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
"@type": "ParameterRangeGenericTypeReference",
|
|
65
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
65
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
69
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
|
|
66
70
|
}
|
|
67
71
|
]
|
|
68
72
|
},
|
|
69
73
|
{
|
|
70
74
|
"@type": "ParameterRangeGenericTypeReference",
|
|
71
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
75
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
79
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
72
80
|
},
|
|
73
81
|
{
|
|
74
82
|
"@type": "ParameterRangeGenericTypeReference",
|
|
75
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
83
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
76
84
|
},
|
|
77
85
|
{
|
|
78
86
|
"@type": "ParameterRangeGenericTypeReference",
|
|
79
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
87
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
|
|
80
88
|
}
|
|
81
89
|
]
|
|
82
90
|
},
|
|
@@ -86,6 +94,20 @@
|
|
|
86
94
|
},
|
|
87
95
|
"comment": "The bus this actor subscribes to."
|
|
88
96
|
},
|
|
97
|
+
{
|
|
98
|
+
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash_args_busFailMessage",
|
|
99
|
+
"range": {
|
|
100
|
+
"@type": "ParameterRangeUnion",
|
|
101
|
+
"parameterRangeElements": [
|
|
102
|
+
"xsd:string",
|
|
103
|
+
{
|
|
104
|
+
"@type": "ParameterRangeUndefined"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"default": "Query operation processing failed: none of the configured actors were able to handle the operation type ${action.operation.type}",
|
|
109
|
+
"comment": "The message that will be configured in the bus for reporting failures. This message may be a template string that contains references to the executed `action`. For example, the following templated string is allowed: \"RDF dereferencing failed: no actors could handle ${action.handle.mediaType}\""
|
|
110
|
+
},
|
|
89
111
|
{
|
|
90
112
|
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash_args_beforeActors",
|
|
91
113
|
"range": {
|
|
@@ -99,15 +121,19 @@
|
|
|
99
121
|
"genericTypeInstances": [
|
|
100
122
|
{
|
|
101
123
|
"@type": "ParameterRangeGenericTypeReference",
|
|
102
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
124
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_I"
|
|
103
125
|
},
|
|
104
126
|
{
|
|
105
127
|
"@type": "ParameterRangeGenericTypeReference",
|
|
106
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
128
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_T"
|
|
107
129
|
},
|
|
108
130
|
{
|
|
109
131
|
"@type": "ParameterRangeGenericTypeReference",
|
|
110
|
-
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^
|
|
132
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_O"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"@type": "ParameterRangeGenericTypeReference",
|
|
136
|
+
"parameterRangeGenericType": "npmd:@comunica/actor-abstract-mediatyped/^4.0.0/components/ActorAbstractMediaTyped.jsonld#ActorAbstractMediaTyped__generic_TS"
|
|
111
137
|
}
|
|
112
138
|
]
|
|
113
139
|
}
|
|
@@ -182,6 +208,12 @@
|
|
|
182
208
|
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash_args_bus"
|
|
183
209
|
}
|
|
184
210
|
},
|
|
211
|
+
{
|
|
212
|
+
"keyRaw": "busFailMessage",
|
|
213
|
+
"value": {
|
|
214
|
+
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash_args_busFailMessage"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
185
217
|
{
|
|
186
218
|
"keyRaw": "beforeActors",
|
|
187
219
|
"value": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"@context": [
|
|
3
|
-
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-reduced-hash/^
|
|
3
|
+
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-query-operation-reduced-hash/^4.0.0/components/context.jsonld"
|
|
4
4
|
],
|
|
5
5
|
"@id": "npmd:@comunica/actor-query-operation-reduced-hash",
|
|
6
6
|
"@type": "Module",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"https://linkedsoftwaredependencies.org/bundles/npm/componentsjs/^6.0.0/components/context.jsonld",
|
|
4
4
|
{
|
|
5
5
|
"npmd": "https://linkedsoftwaredependencies.org/bundles/npm/",
|
|
6
|
-
"caqorh": "npmd:@comunica/actor-query-operation-reduced-hash/^
|
|
6
|
+
"caqorh": "npmd:@comunica/actor-query-operation-reduced-hash/^4.0.0/",
|
|
7
7
|
"ActorQueryOperationReducedHash": {
|
|
8
8
|
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash",
|
|
9
9
|
"@prefix": true,
|
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
"args_bus": {
|
|
24
24
|
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash_args_bus"
|
|
25
25
|
},
|
|
26
|
+
"args_busFailMessage": {
|
|
27
|
+
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash_args_busFailMessage"
|
|
28
|
+
},
|
|
26
29
|
"args_beforeActors": {
|
|
27
30
|
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash_args_beforeActors",
|
|
28
31
|
"@container": "@list"
|
|
@@ -42,6 +45,9 @@
|
|
|
42
45
|
"bus": {
|
|
43
46
|
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash_args_bus"
|
|
44
47
|
},
|
|
48
|
+
"busFailMessage": {
|
|
49
|
+
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash_args_busFailMessage"
|
|
50
|
+
},
|
|
45
51
|
"beforeActors": {
|
|
46
52
|
"@id": "caqorh:components/ActorQueryOperationReducedHash.jsonld#ActorQueryOperationReducedHash_args_beforeActors",
|
|
47
53
|
"@container": "@list"
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { MediatorHashBindings } from '@comunica/bus-hash-bindings';
|
|
2
2
|
import type { IActorQueryOperationTypedMediatedArgs } from '@comunica/bus-query-operation';
|
|
3
3
|
import { ActorQueryOperationTypedMediated } from '@comunica/bus-query-operation';
|
|
4
|
-
import type { IActorTest } from '@comunica/core';
|
|
4
|
+
import type { IActorTest, TestResult } from '@comunica/core';
|
|
5
5
|
import type { Bindings, IActionContext, IQueryOperationResult } from '@comunica/types';
|
|
6
|
+
import type * as RDF from '@rdfjs/types';
|
|
6
7
|
import type { Algebra } from 'sparqlalgebrajs';
|
|
7
8
|
/**
|
|
8
9
|
* A comunica Reduced Hash Query Operation Actor.
|
|
@@ -11,15 +12,16 @@ export declare class ActorQueryOperationReducedHash extends ActorQueryOperationT
|
|
|
11
12
|
readonly mediatorHashBindings: MediatorHashBindings;
|
|
12
13
|
readonly cacheSize: number;
|
|
13
14
|
constructor(args: IActorQueryOperationReducedHashArgs);
|
|
14
|
-
testOperation(_operation: Algebra.Reduced, _context: IActionContext): Promise<IActorTest
|
|
15
|
+
testOperation(_operation: Algebra.Reduced, _context: IActionContext): Promise<TestResult<IActorTest>>;
|
|
15
16
|
runOperation(operation: Algebra.Reduced, context: IActionContext): Promise<IQueryOperationResult>;
|
|
16
17
|
/**
|
|
17
18
|
* Create a new distinct filter function.
|
|
18
19
|
* This will maintain an internal hash datastructure so that every bindings object only returns true once.
|
|
19
20
|
* @param context The action context.
|
|
21
|
+
* @param variables The variables to take into account while hashing.
|
|
20
22
|
* @return {(bindings: Bindings) => boolean} A distinct filter for bindings.
|
|
21
23
|
*/
|
|
22
|
-
newHashFilter(context: IActionContext): Promise<(bindings: Bindings) => boolean>;
|
|
24
|
+
newHashFilter(context: IActionContext, variables: RDF.Variable[]): Promise<(bindings: Bindings) => boolean>;
|
|
23
25
|
}
|
|
24
26
|
export interface IActorQueryOperationReducedHashArgs extends IActorQueryOperationTypedMediatedArgs {
|
|
25
27
|
mediatorHashBindings: MediatorHashBindings;
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ActorQueryOperationReducedHash = void 0;
|
|
4
4
|
const bus_query_operation_1 = require("@comunica/bus-query-operation");
|
|
5
|
+
const core_1 = require("@comunica/core");
|
|
6
|
+
const utils_query_operation_1 = require("@comunica/utils-query-operation");
|
|
5
7
|
const lru_cache_1 = require("lru-cache");
|
|
6
8
|
/**
|
|
7
9
|
* A comunica Reduced Hash Query Operation Actor.
|
|
@@ -11,11 +13,12 @@ class ActorQueryOperationReducedHash extends bus_query_operation_1.ActorQueryOpe
|
|
|
11
13
|
super(args, 'reduced');
|
|
12
14
|
}
|
|
13
15
|
async testOperation(_operation, _context) {
|
|
14
|
-
return
|
|
16
|
+
return (0, core_1.passTestVoid)();
|
|
15
17
|
}
|
|
16
18
|
async runOperation(operation, context) {
|
|
17
|
-
const output =
|
|
18
|
-
const
|
|
19
|
+
const output = (0, utils_query_operation_1.getSafeBindings)(await this.mediatorQueryOperation.mediate({ operation: operation.input, context }));
|
|
20
|
+
const variables = (await output.metadata()).variables.map(v => v.variable);
|
|
21
|
+
const bindingsStream = output.bindingsStream.filter(await this.newHashFilter(context, variables));
|
|
19
22
|
return {
|
|
20
23
|
type: 'bindings',
|
|
21
24
|
bindingsStream,
|
|
@@ -26,13 +29,14 @@ class ActorQueryOperationReducedHash extends bus_query_operation_1.ActorQueryOpe
|
|
|
26
29
|
* Create a new distinct filter function.
|
|
27
30
|
* This will maintain an internal hash datastructure so that every bindings object only returns true once.
|
|
28
31
|
* @param context The action context.
|
|
32
|
+
* @param variables The variables to take into account while hashing.
|
|
29
33
|
* @return {(bindings: Bindings) => boolean} A distinct filter for bindings.
|
|
30
34
|
*/
|
|
31
|
-
async newHashFilter(context) {
|
|
32
|
-
const { hashFunction } = await this.mediatorHashBindings.mediate({
|
|
35
|
+
async newHashFilter(context, variables) {
|
|
36
|
+
const { hashFunction } = await this.mediatorHashBindings.mediate({ context });
|
|
33
37
|
const hashes = new lru_cache_1.LRUCache({ max: this.cacheSize });
|
|
34
38
|
return (bindings) => {
|
|
35
|
-
const hash = hashFunction(bindings);
|
|
39
|
+
const hash = hashFunction(bindings, variables);
|
|
36
40
|
if (hashes.has(hash)) {
|
|
37
41
|
return false;
|
|
38
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActorQueryOperationReducedHash.js","sourceRoot":"","sources":["ActorQueryOperationReducedHash.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"ActorQueryOperationReducedHash.js","sourceRoot":"","sources":["ActorQueryOperationReducedHash.ts"],"names":[],"mappings":";;;AAEA,uEAAiF;AAEjF,yCAA8C;AAQ9C,2EAAkE;AAElE,yCAAqC;AAGrC;;GAEG;AACH,MAAa,8BAA+B,SAAQ,sDAAiD;IAInG,YAAmB,IAAyC;QAC1D,KAAK,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IACzB,CAAC;IAEM,KAAK,CAAC,aAAa,CAAC,UAA2B,EAAE,QAAwB;QAC9E,OAAO,IAAA,mBAAY,GAAE,CAAC;IACxB,CAAC;IAEM,KAAK,CAAC,YAAY,CAAC,SAA0B,EAAE,OAAuB;QAC3E,MAAM,MAAM,GAAkC,IAAA,uCAAe,EAC3D,MAAM,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,CACnF,CAAC;QACF,MAAM,SAAS,GAAG,CAAC,MAAM,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QAC3E,MAAM,cAAc,GAAmB,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC;QAClH,OAAO;YACL,IAAI,EAAE,UAAU;YAChB,cAAc;YACd,QAAQ,EAAE,MAAM,CAAC,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACI,KAAK,CAAC,aAAa,CACxB,OAAuB,EACvB,SAAyB;QAEzB,MAAM,EAAE,YAAY,EAAE,GAAG,MAAM,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC;QAC9E,MAAM,MAAM,GAAG,IAAI,oBAAQ,CAAkB,EAAE,GAAG,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;QACtE,OAAO,CAAC,QAAkB,EAAE,EAAE;YAC5B,MAAM,IAAI,GAAW,YAAY,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;YACvD,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrB,OAAO,KAAK,CAAC;YACf,CAAC;YACD,MAAM,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACvB,OAAO,IAAI,CAAC;QACd,CAAC,CAAC;IACJ,CAAC;CACF;AA/CD,wEA+CC","sourcesContent":["import type { MediatorHashBindings } from '@comunica/bus-hash-bindings';\nimport type { IActorQueryOperationTypedMediatedArgs } from '@comunica/bus-query-operation';\nimport { ActorQueryOperationTypedMediated } from '@comunica/bus-query-operation';\nimport type { IActorTest, TestResult } from '@comunica/core';\nimport { passTestVoid } from '@comunica/core';\nimport type {\n Bindings,\n BindingsStream,\n IActionContext,\n IQueryOperationResult,\n IQueryOperationResultBindings,\n} from '@comunica/types';\nimport { getSafeBindings } from '@comunica/utils-query-operation';\nimport type * as RDF from '@rdfjs/types';\nimport { LRUCache } from 'lru-cache';\nimport type { Algebra } from 'sparqlalgebrajs';\n\n/**\n * A comunica Reduced Hash Query Operation Actor.\n */\nexport class ActorQueryOperationReducedHash extends ActorQueryOperationTypedMediated<Algebra.Reduced> {\n public readonly mediatorHashBindings: MediatorHashBindings;\n public readonly cacheSize: number;\n\n public constructor(args: IActorQueryOperationReducedHashArgs) {\n super(args, 'reduced');\n }\n\n public async testOperation(_operation: Algebra.Reduced, _context: IActionContext): Promise<TestResult<IActorTest>> {\n return passTestVoid();\n }\n\n public async runOperation(operation: Algebra.Reduced, context: IActionContext): Promise<IQueryOperationResult> {\n const output: IQueryOperationResultBindings = getSafeBindings(\n await this.mediatorQueryOperation.mediate({ operation: operation.input, context }),\n );\n const variables = (await output.metadata()).variables.map(v => v.variable);\n const bindingsStream: BindingsStream = output.bindingsStream.filter(await this.newHashFilter(context, variables));\n return {\n type: 'bindings',\n bindingsStream,\n metadata: output.metadata,\n };\n }\n\n /**\n * Create a new distinct filter function.\n * This will maintain an internal hash datastructure so that every bindings object only returns true once.\n * @param context The action context.\n * @param variables The variables to take into account while hashing.\n * @return {(bindings: Bindings) => boolean} A distinct filter for bindings.\n */\n public async newHashFilter(\n context: IActionContext,\n variables: RDF.Variable[],\n ): Promise<(bindings: Bindings) => boolean> {\n const { hashFunction } = await this.mediatorHashBindings.mediate({ context });\n const hashes = new LRUCache<number, boolean>({ max: this.cacheSize });\n return (bindings: Bindings) => {\n const hash: number = hashFunction(bindings, variables);\n if (hashes.has(hash)) {\n return false;\n }\n hashes.set(hash, true);\n return true;\n };\n }\n}\n\nexport interface IActorQueryOperationReducedHashArgs extends IActorQueryOperationTypedMediatedArgs {\n mediatorHashBindings: MediatorHashBindings;\n /**\n * @range {integer}\n * @default {100}\n */\n cacheSize: number;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-query-operation-reduced-hash",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.1",
|
|
4
4
|
"description": "A reduced-hash query-operation actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"funding": {
|
|
8
|
+
"type": "opencollective",
|
|
9
|
+
"url": "https://opencollective.com/comunica-association"
|
|
10
|
+
},
|
|
7
11
|
"homepage": "https://comunica.dev/",
|
|
8
12
|
"repository": {
|
|
9
13
|
"type": "git",
|
|
@@ -37,12 +41,14 @@
|
|
|
37
41
|
"build:components": "componentsjs-generator"
|
|
38
42
|
},
|
|
39
43
|
"dependencies": {
|
|
40
|
-
"@comunica/bus-hash-bindings": "^
|
|
41
|
-
"@comunica/bus-query-operation": "^
|
|
42
|
-
"@comunica/core": "^
|
|
43
|
-
"@comunica/types": "^
|
|
44
|
+
"@comunica/bus-hash-bindings": "^4.0.1",
|
|
45
|
+
"@comunica/bus-query-operation": "^4.0.1",
|
|
46
|
+
"@comunica/core": "^4.0.1",
|
|
47
|
+
"@comunica/types": "^4.0.1",
|
|
48
|
+
"@comunica/utils-query-operation": "^4.0.1",
|
|
49
|
+
"@rdfjs/types": "*",
|
|
44
50
|
"lru-cache": "^10.0.0",
|
|
45
|
-
"sparqlalgebrajs": "^4.3.
|
|
51
|
+
"sparqlalgebrajs": "^4.3.8"
|
|
46
52
|
},
|
|
47
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "67831ba79e45ea1ced41fe3f83c5d6e8802dbeaa"
|
|
48
54
|
}
|