fetch-sparql-endpoint
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -37,3 +37,3 @@ #!/usr/bin/env node | ||
else if (args.f) { | ||
return fs_1.readFileSync(args.f, { encoding: 'utf8' }); | ||
return (0, fs_1.readFileSync)(args.f, { encoding: 'utf8' }); | ||
} | ||
@@ -73,3 +73,3 @@ else { | ||
for (const variable of Object.keys(bindings)) { | ||
bindings[variable] = rdf_string_1.termToString(bindings[variable]); | ||
bindings[variable] = (0, rdf_string_1.termToString)(bindings[variable]); | ||
} | ||
@@ -76,0 +76,0 @@ process.stdout.write(JSON.stringify(bindings) + '\n'); |
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
<a name="v2.4.1"></a> | ||
## [v2.4.1](https://github.com/rubensworks/fetch-sparql-endpoint.js/compare/v2.4.0...v2.4.1) - 2022-07-13 | ||
### Fixed | ||
* [Fix key-value in additional params being reversed](https://github.com/rubensworks/fetch-sparql-endpoint.js/commit/d219ffd06846a244300c90d06ce01956a37eb056) | ||
### Added | ||
* [Enable tree shaking in package.json](https://github.com/rubensworks/fetch-sparql-endpoint.js/commit/8f26d1a9588209c84e78359663535dee625c20a0) | ||
<a name="v2.4.0"></a> | ||
@@ -5,0 +14,0 @@ ## [v2.4.0](https://github.com/rubensworks/fetch-sparql-endpoint.js/compare/v2.3.3...v2.4.0) - 2022-02-01 |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import "cross-fetch/polyfill"; | ||
@@ -3,0 +4,0 @@ import * as RDF from "@rdfjs/types"; |
@@ -158,3 +158,3 @@ "use strict"; | ||
body.set('query', query); | ||
this.additionalUrlParams.forEach((key, value) => { | ||
this.additionalUrlParams.forEach((value, key) => { | ||
body.set(key, value); | ||
@@ -161,0 +161,0 @@ }); |
{ | ||
"name": "fetch-sparql-endpoint", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "A simple, lightweight module to send queries to SPARQL endpoints and retrieve their results in a streaming fashion.", | ||
@@ -55,8 +55,8 @@ "keywords": [ | ||
"devDependencies": { | ||
"@types/jest": "^26.0.0", | ||
"@types/jest": "^28.0.0", | ||
"@types/minimist": "^1.2.0", | ||
"@types/n3": "^1.10.3", | ||
"arrayify-stream": "^1.0.0", | ||
"arrayify-stream": "^2.0.0", | ||
"coveralls": "^3.0.0", | ||
"jest": "^27.0.1", | ||
"jest": "^28.0.1", | ||
"jest-rdf": "^1.7.0", | ||
@@ -67,3 +67,3 @@ "manual-git-changelog": "^1.0.0", | ||
"streamify-string": "^1.0.1", | ||
"ts-jest": "^27.0.1", | ||
"ts-jest": "^28.0.1", | ||
"tslint": "^6.0.0", | ||
@@ -77,3 +77,3 @@ "tslint-eslint-rules": "^5.4.0", | ||
"ts-jest": { | ||
"tsConfig": "test/tsconfig.json" | ||
"tsconfig": "test/tsconfig.json" | ||
} | ||
@@ -107,3 +107,4 @@ }, | ||
"version": "manual-git-changelog onversion" | ||
} | ||
}, | ||
"sideEffects": false | ||
} |
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
37857
456