fetch-sparql-endpoint
Advanced tools
Comparing version 1.6.2 to 1.7.0
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
<a name="v1.7.0"></a> | ||
## [v1.7.0](https://github.com/rubensworks/fetch-sparql-endpoint.js/compare/v1.6.2...v1.7.0) - 2020-09-16 | ||
### Changed | ||
* [Migrate to cross-fetch](https://github.com/rubensworks/fetch-sparql-endpoint.js/commit/73420a57911a427c5845125e26cf54e32b4ba36d) | ||
* [Migrate to rdf-data-factory and @types/rdf-js 4.x](https://github.com/rubensworks/fetch-sparql-endpoint.js/commit/b4b1adbee2d959adbdae775f8f0c90eddab23b85) | ||
<a name="v1.6.2"></a> | ||
@@ -5,0 +12,0 @@ ## [v1.6.2](https://github.com/rubensworks/fetch-sparql-endpoint.js/compare/v1.6.1...v1.6.2) - 2020-07-09 |
15
index.js
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
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]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./lib/SparqlEndpointFetcher")); | ||
__exportStar(require("./lib/SparqlEndpointFetcher"), exports); | ||
//# sourceMappingURL=index.js.map |
/// <reference types="node" /> | ||
import "isomorphic-fetch"; | ||
import "cross-fetch/polyfill"; | ||
import * as RDF from "rdf-js"; | ||
@@ -4,0 +4,0 @@ import { ISettings, SparqlJsonParser } from "sparqljson-parse"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
require("isomorphic-fetch"); | ||
exports.SparqlEndpointFetcher = void 0; | ||
require("cross-fetch/polyfill"); | ||
const sparqljs_1 = require("sparqljs"); | ||
@@ -118,2 +119,3 @@ const sparqljson_parse_1 = require("sparqljson-parse"); | ||
} | ||
exports.SparqlEndpointFetcher = SparqlEndpointFetcher; | ||
SparqlEndpointFetcher.CONTENTTYPE_SPARQL_JSON = 'application/sparql-results+json'; | ||
@@ -123,3 +125,2 @@ SparqlEndpointFetcher.CONTENTTYPE_SPARQL_XML = 'application/sparql-results+xml'; | ||
SparqlEndpointFetcher.CONTENTTYPE_TURTLE = 'text/turtle'; | ||
exports.SparqlEndpointFetcher = SparqlEndpointFetcher; | ||
//# sourceMappingURL=SparqlEndpointFetcher.js.map |
{ | ||
"name": "fetch-sparql-endpoint", | ||
"version": "1.6.2", | ||
"version": "1.7.0", | ||
"description": "A simple, lightweight module to send queries to SPARQL endpoints and retrieve their results in a streaming fashion.", | ||
@@ -40,23 +40,23 @@ "keywords": [ | ||
"is-stream": "^2.0.0", | ||
"isomorphic-fetch": "^2.2.1", | ||
"cross-fetch": "^3.0.6", | ||
"minimist": "^1.2.0", | ||
"n3": "^1.0.0", | ||
"n3": "^1.6.3", | ||
"web-streams-node": "^0.4.0", | ||
"rdf-string": "^1.3.1", | ||
"sparqljs": "^3.0.0", | ||
"sparqljson-parse": "^1.5.0", | ||
"sparqlxml-parse": "^1.2.0", | ||
"rdf-string": "^1.5.0", | ||
"sparqljs": "^3.1.2", | ||
"sparqljson-parse": "^1.6.0", | ||
"sparqlxml-parse": "^1.4.0", | ||
"stream-to-string": "^1.1.0" | ||
}, | ||
"devDependencies": { | ||
"@rdfjs/data-model": "^1.1.1", | ||
"@types/jest": "^26.0.0", | ||
"@types/minimist": "^1.2.0", | ||
"@types/sparqljs": "^3.0.0", | ||
"@types/sparqljs": "^3.0.1", | ||
"arrayify-stream": "^1.0.0", | ||
"coveralls": "^3.0.0", | ||
"jest": "^26.0.0", | ||
"jest-rdf": "^1.3.0", | ||
"jest-rdf": "^1.6.0", | ||
"manual-git-changelog": "^1.0.0", | ||
"pre-commit": "^1.2.2", | ||
"rdf-data-factory": "^1.0.3", | ||
"streamify-string": "^1.0.1", | ||
@@ -66,3 +66,3 @@ "ts-jest": "^26.0.0", | ||
"tslint-eslint-rules": "^5.4.0", | ||
"typescript": "^3.0.1" | ||
"typescript": "^4.0.2" | ||
}, | ||
@@ -69,0 +69,0 @@ "jest": { |
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
26212
306
+ Addedcross-fetch@^3.0.6
+ Addedcross-fetch@3.2.0(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
- Removedisomorphic-fetch@^2.2.1
- Removedencoding@0.1.13(transitive)
- Removediconv-lite@0.6.3(transitive)
- Removedisomorphic-fetch@2.2.1(transitive)
- Removednode-fetch@1.7.3(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedwhatwg-fetch@3.6.20(transitive)
Updatedn3@^1.6.3
Updatedrdf-string@^1.5.0
Updatedsparqljs@^3.1.2
Updatedsparqljson-parse@^1.6.0
Updatedsparqlxml-parse@^1.4.0