diff --git a/package-lock.json b/package-lock.json index 24dd414f0..cc0f0985f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2541,21 +2541,6 @@ "@sinonjs/commons": "^3.0.0" } }, - "node_modules/@smessie/readable-web-to-node-stream": { - "version": "3.0.3", - "license": "MIT", - "dependencies": { - "process": "^0.11.10", - "readable-stream": "^4.5.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Borewit" - } - }, "node_modules/@swc/counter": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz", @@ -2916,7 +2901,6 @@ }, "node_modules/@types/n3": { "version": "1.16.4", - "dev": true, "license": "MIT", "dependencies": { "@rdfjs/types": "^1.1.0", @@ -4069,7 +4053,6 @@ }, "node_modules/cliui": { "version": "8.0.1", - "dev": true, "license": "ISC", "dependencies": { "string-width": "^4.2.0", @@ -5174,7 +5157,6 @@ }, "node_modules/escalade": { "version": "3.1.1", - "dev": true, "license": "MIT", "engines": { "node": ">=6" @@ -5899,28 +5881,42 @@ } }, "node_modules/fetch-sparql-endpoint": { - "version": "4.1.0", - "license": "MIT", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/fetch-sparql-endpoint/-/fetch-sparql-endpoint-5.0.0.tgz", + "integrity": "sha512-I22MKV+A02I1uK5vnDfUxp/dIWwXySgam7FMpbaSvACl3l8FkNzaDg6eolC6WLV+gfLt//I9DnrL0Eqn2DGxwA==", "dependencies": { "@rdfjs/types": "*", - "@types/readable-stream": "^2.3.11", - "@types/sparqljs": "^3.1.3", - "abort-controller": "^3.0.0", - "cross-fetch": "^3.0.6", + "@types/n3": "^1.0.0", + "@types/readable-stream": "^4.0.0", + "@types/sparqljs": "^3.0.0", "is-stream": "^2.0.0", - "minimist": "^1.2.0", - "n3": "^1.6.3", - "rdf-string": "^1.6.0", - "readable-web-to-node-stream": "^3.0.2", - "sparqljs": "^3.1.2", - "sparqljson-parse": "^2.2.0", - "sparqlxml-parse": "^2.1.1", - "stream-to-string": "^1.1.0" + "n3": "^1.0.0", + "rdf-string": "^1.0.0", + "readable-from-web": "^1.0.0", + "sparqljs": "^3.0.0", + "sparqljson-parse": "^2.0.0", + "sparqlxml-parse": "^2.0.0", + "stream-to-string": "^1.0.0", + "yargs": "^17.0.0" }, "bin": { "fetch-sparql-endpoint": "bin/fetch-sparql-endpoint.js" } }, + "node_modules/fetch-sparql-endpoint/node_modules/@types/readable-stream": { + "version": "4.0.14", + "resolved": "https://registry.npmjs.org/@types/readable-stream/-/readable-stream-4.0.14.tgz", + "integrity": "sha512-xZn/AuUbCMShGsqH/ehZtGDwQtbx00M9rZ2ENLe4tOjFZ/JFeWMhEZkk2fEe1jAUqqEAURIkFJ7Az/go8mM1/w==", + "dependencies": { + "@types/node": "*", + "safe-buffer": "~5.1.1" + } + }, + "node_modules/fetch-sparql-endpoint/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, "node_modules/figures": { "version": "3.2.0", "dev": true, @@ -6138,7 +6134,6 @@ }, "node_modules/get-caller-file": { "version": "2.0.5", - "dev": true, "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" @@ -6804,7 +6799,6 @@ }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", - "dev": true, "license": "MIT", "engines": { "node": ">=8" @@ -9682,6 +9676,29 @@ "node": ">=8" } }, + "node_modules/readable-from-web": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/readable-from-web/-/readable-from-web-1.0.0.tgz", + "integrity": "sha512-tei03fQhxqLEklpIvocFUR9hO42hiyYvdhwoNHAjJztPAQ8QS1NqF2AhLwzGxIGidPBJ4MCqB48wn7OAFCfhsQ==", + "dependencies": { + "@types/readable-stream": "^4.0.0", + "readable-stream": "^4.0.0" + } + }, + "node_modules/readable-from-web/node_modules/@types/readable-stream": { + "version": "4.0.14", + "resolved": "https://registry.npmjs.org/@types/readable-stream/-/readable-stream-4.0.14.tgz", + "integrity": "sha512-xZn/AuUbCMShGsqH/ehZtGDwQtbx00M9rZ2ENLe4tOjFZ/JFeWMhEZkk2fEe1jAUqqEAURIkFJ7Az/go8mM1/w==", + "dependencies": { + "@types/node": "*", + "safe-buffer": "~5.1.1" + } + }, + "node_modules/readable-from-web/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, "node_modules/readable-stream": { "version": "4.5.2", "license": "MIT", @@ -9718,32 +9735,6 @@ "ieee754": "^1.2.1" } }, - "node_modules/readable-web-to-node-stream": { - "version": "3.0.2", - "license": "MIT", - "dependencies": { - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Borewit" - } - }, - "node_modules/readable-web-to-node-stream/node_modules/readable-stream": { - "version": "3.6.2", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/readdirp": { "version": "3.6.0", "license": "MIT", @@ -9821,7 +9812,6 @@ }, "node_modules/require-directory": { "version": "2.1.1", - "dev": true, "license": "MIT", "engines": { "node": ">=0.10.0" @@ -10400,7 +10390,6 @@ }, "node_modules/string-width": { "version": "4.2.3", - "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", @@ -10432,7 +10421,6 @@ }, "node_modules/string-width/node_modules/emoji-regex": { "version": "8.0.0", - "dev": true, "license": "MIT" }, "node_modules/string.prototype.matchall": { @@ -10498,7 +10486,6 @@ }, "node_modules/strip-ansi": { "version": "6.0.1", - "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" @@ -11495,7 +11482,6 @@ }, "node_modules/wrap-ansi": { "version": "7.0.0", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", @@ -11574,7 +11560,6 @@ }, "node_modules/y18n": { "version": "5.0.8", - "dev": true, "license": "ISC", "engines": { "node": ">=10" @@ -11598,7 +11583,6 @@ }, "node_modules/yargs": { "version": "17.7.2", - "dev": true, "license": "MIT", "dependencies": { "cliui": "^8.0.1", @@ -11623,7 +11607,6 @@ }, "node_modules/yargs/node_modules/yargs-parser": { "version": "21.1.1", - "dev": true, "license": "ISC", "engines": { "node": ">=12" @@ -11689,7 +11672,7 @@ "@colonial-collections/iris": "*", "defu": "6.1.4", "edtf": "4.6.0", - "fetch-sparql-endpoint": "4.1.0", + "fetch-sparql-endpoint": "5.0.0", "rdf-object": "1.14.0", "zod": "3.22.4" }, @@ -11711,29 +11694,6 @@ "node": "18.x" } }, - "packages/api/node_modules/fetch-sparql-endpoint": { - "version": "4.1.1", - "license": "MIT", - "dependencies": { - "@rdfjs/types": "*", - "@smessie/readable-web-to-node-stream": "^3.0.3", - "@types/readable-stream": "^2.3.11", - "@types/sparqljs": "^3.1.3", - "abort-controller": "^3.0.0", - "cross-fetch": "^3.0.6", - "is-stream": "^2.0.0", - "minimist": "^1.2.0", - "n3": "^1.6.3", - "rdf-string": "^1.6.0", - "sparqljs": "^3.1.2", - "sparqljson-parse": "^2.2.0", - "sparqlxml-parse": "^2.1.1", - "stream-to-string": "^1.1.0" - }, - "bin": { - "fetch-sparql-endpoint": "bin/fetch-sparql-endpoint.js" - } - }, "packages/content": { "name": "@colonial-collections/content", "version": "1.0.0", @@ -11797,7 +11757,7 @@ "@colonial-collections/iris": "*", "defu": "6.1.4", "edtf": "4.6.0", - "fetch-sparql-endpoint": "4.1.0", + "fetch-sparql-endpoint": "5.0.0", "rdf-data-factory": "1.1.2", "rdf-object": "1.14.0", "rdf-serialize": "2.2.2", diff --git a/packages/api/package.json b/packages/api/package.json index fbab9a529..3f8eed81e 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -24,7 +24,7 @@ "@colonial-collections/iris": "*", "defu": "6.1.4", "edtf": "4.6.0", - "fetch-sparql-endpoint": "4.1.0", + "fetch-sparql-endpoint": "5.0.0", "rdf-object": "1.14.0", "zod": "3.22.4" }, diff --git a/packages/enricher/package.json b/packages/enricher/package.json index b3b08d235..be54a8254 100644 --- a/packages/enricher/package.json +++ b/packages/enricher/package.json @@ -24,7 +24,7 @@ "@colonial-collections/iris": "*", "defu": "6.1.4", "edtf": "4.6.0", - "fetch-sparql-endpoint": "4.1.0", + "fetch-sparql-endpoint": "5.0.0", "rdf-data-factory": "1.1.2", "rdf-object": "1.14.0", "rdf-serialize": "2.2.2",