fetch-sparql-endpoint
Advanced tools
Comparing version 3.3.1 to 3.3.2
@@ -129,5 +129,9 @@ "use strict"; | ||
const abortController = new abort_controller_1.default(); | ||
const defaultHeadersRaw = {}; | ||
this.defaultHeaders.forEach((value, key) => { | ||
defaultHeadersRaw[key] = value; | ||
}); | ||
const init = { | ||
method: 'POST', | ||
headers: Object.assign(Object.assign({}, this.defaultHeaders), { 'content-type': 'application/sparql-update' }), | ||
headers: Object.assign(Object.assign({}, defaultHeadersRaw), { 'content-type': 'application/sparql-update' }), | ||
body: query, | ||
@@ -134,0 +138,0 @@ signal: abortController.signal, |
{ | ||
"name": "fetch-sparql-endpoint", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"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
56033
471