@comunica/actor-init-query 2.0.1 → 2.0.7-alpha.10.0

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/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright © 2017–now Ruben Taelman, Joachim Van Herwegen
4
+ Comunica Association and Ghent University – imec, Belgium
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
@@ -120,6 +120,8 @@ class QueryEngineBase {
120
120
  // Apply initial bindings in context
121
121
  if (actionContext.has(context_entries_1.KeysInitQuery.initialBindings)) {
122
122
  operation = (0, bus_query_operation_1.materializeOperation)(operation, actionContext.get(context_entries_1.KeysInitQuery.initialBindings));
123
+ // Delete the query string from the context, since our initial query might have changed
124
+ actionContext = actionContext.delete(context_entries_1.KeysInitQuery.queryString);
123
125
  }
124
126
  // Optimize the query operation
125
127
  const mediatorResult = await this.actorInitQuery.mediatorOptimizeQueryOperation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comunica/actor-init-query",
3
- "version": "2.0.1",
3
+ "version": "2.0.7-alpha.10.0",
4
4
  "description": "A query init actor",
5
5
  "lsd:module": true,
6
6
  "main": "lib/index.js",
@@ -31,20 +31,20 @@
31
31
  "lib/**/*.js"
32
32
  ],
33
33
  "dependencies": {
34
- "@comunica/actor-http-proxy": "^2.0.1",
35
- "@comunica/bindings-factory": "^2.0.1",
36
- "@comunica/bus-context-preprocess": "^2.0.1",
37
- "@comunica/bus-http-invalidate": "^2.0.1",
38
- "@comunica/bus-init": "^2.0.1",
39
- "@comunica/bus-optimize-query-operation": "^2.0.1",
40
- "@comunica/bus-query-operation": "^2.0.1",
41
- "@comunica/bus-query-parse": "^2.0.1",
42
- "@comunica/bus-query-result-serialize": "^2.0.1",
43
- "@comunica/context-entries": "^2.0.1",
44
- "@comunica/core": "^2.0.1",
45
- "@comunica/logger-pretty": "^2.0.1",
46
- "@comunica/runner": "^2.0.1",
47
- "@comunica/types": "^2.0.1",
34
+ "@comunica/actor-http-proxy": "2.0.7-alpha.10.0",
35
+ "@comunica/bindings-factory": "2.0.7-alpha.10.0",
36
+ "@comunica/bus-context-preprocess": "2.0.7-alpha.10.0",
37
+ "@comunica/bus-http-invalidate": "2.0.7-alpha.10.0",
38
+ "@comunica/bus-init": "2.0.7-alpha.10.0",
39
+ "@comunica/bus-optimize-query-operation": "2.0.7-alpha.10.0",
40
+ "@comunica/bus-query-operation": "2.0.7-alpha.10.0",
41
+ "@comunica/bus-query-parse": "2.0.7-alpha.10.0",
42
+ "@comunica/bus-query-result-serialize": "2.0.7-alpha.10.0",
43
+ "@comunica/context-entries": "2.0.7-alpha.10.0",
44
+ "@comunica/core": "2.0.7-alpha.10.0",
45
+ "@comunica/logger-pretty": "2.0.7-alpha.10.0",
46
+ "@comunica/runner": "2.0.7-alpha.10.0",
47
+ "@comunica/types": "2.0.7-alpha.10.0",
48
48
  "@rdfjs/types": "*",
49
49
  "@types/yargs": "^17.0.2",
50
50
  "asynciterator": "^3.3.0",
@@ -64,5 +64,5 @@
64
64
  "browser": {
65
65
  "./lib/index.js": "./lib/index-browser.js"
66
66
  },
67
- "gitHead": "4c66bfaa44f73786bc7403504e5fe571181430c7"
67
+ "gitHead": "9ad64da7bae9dda857e12b7bb0b3af58d5f0f2af"
68
68
  }