fetch-sparql-endpoint
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -48,3 +48,3 @@ "use strict"; | ||
getQueryType(query) { | ||
const parsedQuery = new sparqljs_1.Parser().parse(query); | ||
const parsedQuery = new sparqljs_1.Parser({ sparqlStar: true }).parse(query); | ||
return parsedQuery.type === 'query' | ||
@@ -62,3 +62,3 @@ ? (parsedQuery.queryType === 'DESCRIBE' ? 'CONSTRUCT' : parsedQuery.queryType) : "UNKNOWN"; | ||
getUpdateTypes(query) { | ||
const parsedQuery = new sparqljs_1.Parser().parse(query); | ||
const parsedQuery = new sparqljs_1.Parser({ sparqlStar: true }).parse(query); | ||
if (parsedQuery.type === 'update') { | ||
@@ -65,0 +65,0 @@ const operations = {}; |
{ | ||
"name": "fetch-sparql-endpoint", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "A simple, lightweight module to send queries to SPARQL endpoints and retrieve their results in a streaming fashion.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56169