@rdfc/sparql-ingest-processor-ts 2.1.6 → 2.1.7
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/lib/Utils.js +2 -0
- package/package.json +2 -2
package/lib/Utils.js
CHANGED
|
@@ -103,6 +103,7 @@ export async function doSPARQLRequest(query, config, dispatcher, logger) {
|
|
|
103
103
|
if (!res.ok) {
|
|
104
104
|
throw new Error(`HTTP request failed with code ${res.status} and message: \n${await res.text()}`);
|
|
105
105
|
}
|
|
106
|
+
await res.text();
|
|
106
107
|
return;
|
|
107
108
|
}
|
|
108
109
|
let queries = [];
|
|
@@ -126,6 +127,7 @@ export async function doSPARQLRequest(query, config, dispatcher, logger) {
|
|
|
126
127
|
if (!res.ok) {
|
|
127
128
|
throw new Error(`HTTP request failed with code ${res.status} and message: \n${await res.text()}`);
|
|
128
129
|
}
|
|
130
|
+
await res.text();
|
|
129
131
|
}
|
|
130
132
|
}
|
|
131
133
|
catch (err) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdfc/sparql-ingest-processor-ts",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
4
4
|
"description": "SPARQL Update function to be within RDF-Connect pipelines",
|
|
5
5
|
"author": "Julián Rojas",
|
|
6
6
|
"contributors": [
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
"vite-tsconfig-paths": "^6.1.1",
|
|
54
54
|
"vitest": "^4.0.18"
|
|
55
55
|
}
|
|
56
|
-
}
|
|
56
|
+
}
|