From 3976e46342c5d795a3e0d320f5323215ba54eb0f Mon Sep 17 00:00:00 2001 From: smessie Date: Thu, 5 Dec 2024 11:14:06 +0100 Subject: [PATCH] feat: Option to request and include metadata from ldes --- README.md | 1 + bin/cli.ts | 4 + lib/client.ts | 2 + lib/config.ts | 2 + lib/pageFetcher.ts | 14 +- lib/strategy/ordered.ts | 4 + lib/strategy/unordered.ts | 5 +- package-lock.json | 1135 +++++++++++++++++++++---------------- package.json | 5 +- 9 files changed, 678 insertions(+), 494 deletions(-) diff --git a/README.md b/README.md index f94f186..af30064 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ ldes-client [-f] [--save ] [--pollInterval ] [--shape `: filter the LDES stream to only emit members that adhere to this condition +- `-m`, `--metadata`: include metadata in the emitted members. Notifies the ldes server that it is interested in metadata. - Others soon coming diff --git a/bin/cli.ts b/bin/cli.ts index 75ae4d3..d4e6db3 100644 --- a/bin/cli.ts +++ b/bin/cli.ts @@ -25,6 +25,7 @@ let save: string | undefined; let onlyDefaultGraph: boolean = false; let loose: boolean = false; let defaultTimezone: string | undefined; +let includeMetadata: boolean = false; const fetch_config: FetchConfig = { retry: {}, @@ -94,6 +95,7 @@ program ) .option("--http-codes [codes...]", "What HTTP codes to retry") .option("-t --default-timezone ", "Default timezone for dates in tree:InBetweenRelation", "AoE") + .option("-m, --metadata", "include metadata in the output members") .action((url: string, program) => { urlIsView = program.urlIsView; noShape = !program.shape; @@ -110,6 +112,7 @@ program materialize = program.materializeVersion; lastVersionOnly = program.lastVersionOnly; defaultTimezone = program.defaultTimezone; + includeMetadata = program.metadata; fetch_config.concurrent = parseInt(program.concurrent); if (program.basicAuth) { @@ -165,6 +168,7 @@ async function main() { defaultTimezone, materialize, lastVersionOnly, + includeMetadata, fetch: enhanced_fetch(fetch_config), }), ordered, diff --git a/lib/client.ts b/lib/client.ts index 08e0b7e..bdfcdb4 100644 --- a/lib/client.ts +++ b/lib/client.ts @@ -380,6 +380,7 @@ export class Client { this.ordered, this.config.polling, this.config.pollInterval, + this.config.includeMetadata, ) : new UnorderedStrategy( this.memberManager, @@ -388,6 +389,7 @@ export class Client { factory, this.config.polling, this.config.pollInterval, + this.config.includeMetadata, ); this.logger.debug( diff --git a/lib/config.ts b/lib/config.ts index 8496314..859b1e0 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -23,6 +23,7 @@ export interface Config { onlyDefaultGraph?: boolean; materialize?: boolean; lastVersionOnly?: boolean; + includeMetadata?: boolean; fetch?: typeof fetch; } @@ -41,6 +42,7 @@ const defaultConfig: Config = { defaultTimezone: "AoE", materialize: false, lastVersionOnly: false, + includeMetadata: false, }; const defaultTarget: WithTarget = { diff --git a/lib/pageFetcher.ts b/lib/pageFetcher.ts index e02dc8e..adbe914 100644 --- a/lib/pageFetcher.ts +++ b/lib/pageFetcher.ts @@ -1,4 +1,4 @@ -import { RdfDereferencer } from "rdf-dereference"; +import { IDereferenceOptions, RdfDereferencer } from "rdf-dereference"; import { Notifier } from "./utils"; import { extractRelations, Relation, Relations } from "./page"; import { SimpleRelation } from "./relation"; @@ -93,12 +93,18 @@ export class Fetcher { this.closed = true; } - async fetch(node: Node, state: S, notifier: Notifier) { + async fetch(node: Node, state: S, notifier: Notifier, includeMetadata: boolean) { try { - const resp = await this.dereferencer.dereference(node.target, { + let options: IDereferenceOptions = { localFiles: true, fetch: this.fetch_f, - }); + }; + if (includeMetadata) { + options.headers = { + Accept: "application/metadata+trig", + }; + } + const resp = await this.dereferencer.dereference(node.target, options); node.target = resp.url; diff --git a/lib/strategy/ordered.ts b/lib/strategy/ordered.ts index 84d8f46..f28fee3 100644 --- a/lib/strategy/ordered.ts +++ b/lib/strategy/ordered.ts @@ -51,6 +51,7 @@ export class OrderedStrategy { private polling: boolean; private toPoll: Heap<{ chain: RelationChain; expected: string[] }>; private pollInterval?: number; + private includeMetadata: boolean; private cancled = false; @@ -64,6 +65,7 @@ export class OrderedStrategy { ordered: Ordered, polling: boolean, pollInterval?: number, + includeMetadata: boolean = false, ) { this.ordered = ordered; this.manager = memberManager; @@ -71,6 +73,7 @@ export class OrderedStrategy { this.notifier = notifier; this.polling = polling; this.pollInterval = pollInterval; + this.includeMetadata = includeMetadata; this.toPoll = new Heap((a, b) => a.chain.ordering(b.chain)); this.launchedRelations = new Heap((a, b) => a.ordering(b)); @@ -142,6 +145,7 @@ export class OrderedStrategy { { target: chain.target, expected }, { chain, index }, this.fetchNotifier, + this.includeMetadata, ); }, }, diff --git a/lib/strategy/unordered.ts b/lib/strategy/unordered.ts index 2809a60..e904e64 100644 --- a/lib/strategy/unordered.ts +++ b/lib/strategy/unordered.ts @@ -21,6 +21,7 @@ export class UnorderedStrategy { private cacheList: Node[] = []; private polling: boolean; private pollInterval?: number; + private includeMetadata: boolean; private canceled = false; @@ -33,12 +34,14 @@ export class UnorderedStrategy { modulatorFactory: ModulatorFactory, polling: boolean, pollInterval?: number, + includeMetadata: boolean = false, ) { this.pollInterval = pollInterval; this.notifier = notifier; this.manager = memberManager; this.fetcher = fetcher; this.polling = polling; + this.includeMetadata = includeMetadata; // Callbacks for the fetcher // - seen: the strategy wanted to fetch an uri, but it was already seen @@ -87,7 +90,7 @@ export class UnorderedStrategy { this.modulator = modulatorFactory.create("fetcher", [], { ready: ({ item, index }) => - this.fetcher.fetch(item, { index }, this.fetchNotifier), + this.fetcher.fetch(item, { index }, this.fetchNotifier, this.includeMetadata), }); } diff --git a/package-lock.json b/package-lock.json index e4ecb0f..15f4756 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,12 +13,11 @@ "@types/debug": "^4.1.12", "commander": "^12.1.0", "debug": "^4.3.7", - "extract-cbd-shape": "^0.1.8", + "extract-cbd-shape": "^0.1.11", "heap-js": "^2.5.0", "n3": "^1.23.1", "rdf-data-factory": "^1.1.2", - "rdf-dereference": "^3.0.0", - "rdf-js": "^4.0.2", + "rdf-dereference": "^4.0.0", "rdf-lens": "^1.3.0", "rdf-stores": "^1.0.0", "winston": "^3.17.0" @@ -664,342 +663,6 @@ "node": ">=0.1.90" } }, - "node_modules/@comunica/actor-abstract-mediatyped": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-abstract-mediatyped/-/actor-abstract-mediatyped-2.10.0.tgz", - "integrity": "sha512-0o6WBujsMnIVcwvRJv6Nj+kKPLZzqBS3On48rm01Rh9T1/My0E/buJMXwgcARKCfMonc2mJ9zxpPCh5ilGEU2A==", - "dependencies": { - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0" - } - }, - "node_modules/@comunica/actor-abstract-parse": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-abstract-parse/-/actor-abstract-parse-2.10.0.tgz", - "integrity": "sha512-0puCWF+y24EDOOAUUVVbC+tOf4UV+LzEbqi8T5v25jcVGCXyTqfra+bDywfrcv3adrVp18jLCJ46ycaH5xhy9Q==", - "dependencies": { - "@comunica/core": "^2.10.0", - "readable-stream": "^4.4.2" - } - }, - "node_modules/@comunica/actor-dereference-fallback": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-dereference-fallback/-/actor-dereference-fallback-2.10.0.tgz", - "integrity": "sha512-RSc/ScPdC7l13aZjz/6r4niWA8WDETbzuESQKKSWXi/HAlFOyOxdrDADdayVY2oyeZHIQibeNRtSi2ItzU7OPQ==", - "dependencies": { - "@comunica/bus-dereference": "^2.10.0", - "@comunica/core": "^2.10.0" - } - }, - "node_modules/@comunica/actor-dereference-file": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-dereference-file/-/actor-dereference-file-2.10.0.tgz", - "integrity": "sha512-WXfAyHm0M3+YbYEtLtasT6YHsrzTAevmH27ex8r51qKNj2LK74llpw4mSeea3xyjQR30jVnKBIJSxuSbN64Now==", - "dependencies": { - "@comunica/bus-dereference": "^2.10.0", - "@comunica/core": "^2.10.0" - } - }, - "node_modules/@comunica/actor-dereference-http": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@comunica/actor-dereference-http/-/actor-dereference-http-2.10.2.tgz", - "integrity": "sha512-gdDo83W1TAgD2jx0kVbzZKzzt++L4Y4fbyTOH3duy6vx1EMGGZlNCp6I1uguepKEjNX4N0zhAcZzdJcv8A3XMA==", - "dependencies": { - "@comunica/bus-dereference": "^2.10.0", - "@comunica/bus-http": "^2.10.2", - "@comunica/core": "^2.10.0", - "cross-fetch": "^4.0.0", - "relative-to-absolute-iri": "^1.0.7", - "stream-to-string": "^1.2.0" - } - }, - "node_modules/@comunica/actor-dereference-rdf-parse": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-dereference-rdf-parse/-/actor-dereference-rdf-parse-2.10.0.tgz", - "integrity": "sha512-ANWL6Bv+2WHUjVRS7hfkOfVBNJs8xYZ9KHlgBOQ94CKtQZB9uSMjdb1hLp/cQjiDmFIWLn0+GM5Xi0KFwBkVAw==", - "dependencies": { - "@comunica/bus-dereference": "^2.10.0", - "@comunica/bus-dereference-rdf": "^2.10.0", - "@comunica/bus-rdf-parse": "^2.10.0" - } - }, - "node_modules/@comunica/actor-http-fetch": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@comunica/actor-http-fetch/-/actor-http-fetch-2.10.2.tgz", - "integrity": "sha512-siHGx0TMVNb2gXvOroq0B3JE6uuS+4s+MsDkntqdBNVigwVYqLpNSKEaL5is8pputFfohJfDQY06lAHbfDNEcw==", - "dependencies": { - "@comunica/bus-http": "^2.10.2", - "@comunica/context-entries": "^2.10.0", - "@comunica/mediatortype-time": "^2.10.0", - "abort-controller": "^3.0.0", - "cross-fetch": "^4.0.0" - } - }, - "node_modules/@comunica/actor-http-proxy": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@comunica/actor-http-proxy/-/actor-http-proxy-2.10.2.tgz", - "integrity": "sha512-3yUF8BCh4nwq8J6NRILEsyNrQNStkE9ggJ7hYwRfA1XcMgz1pANNaWJ2P2TEKH1jNinr23bL3JeuUZCm9Kz9dA==", - "dependencies": { - "@comunica/bus-http": "^2.10.2", - "@comunica/context-entries": "^2.10.0", - "@comunica/mediatortype-time": "^2.10.0", - "@comunica/types": "^2.10.0" - } - }, - "node_modules/@comunica/actor-rdf-parse-html": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html/-/actor-rdf-parse-html-2.10.0.tgz", - "integrity": "sha512-zgImXKpc+BN1i6lQiN1Qhlb1HbKdMIeJMOys6qbzRIijdK8GkGGChwhQp7Cso3lY1Nf4K7M3jPLZeQXeED2w7g==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/bus-rdf-parse-html": "^2.10.0", - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0", - "@rdfjs/types": "*", - "htmlparser2": "^9.0.0", - "readable-stream": "^4.4.2" - } - }, - "node_modules/@comunica/actor-rdf-parse-html-microdata": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html-microdata/-/actor-rdf-parse-html-microdata-2.10.0.tgz", - "integrity": "sha512-JLfiDauq4SmpI6TDS4HaHzI6iJe1j8lSk5FRRYK6YVEu8eO28jPmxQJiOiwbQiYqsjsV7kON/WIZSoUELoI4Ig==", - "dependencies": { - "@comunica/bus-rdf-parse-html": "^2.10.0", - "@comunica/core": "^2.10.0", - "microdata-rdf-streaming-parser": "^2.0.1" - } - }, - "node_modules/@comunica/actor-rdf-parse-html-rdfa": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html-rdfa/-/actor-rdf-parse-html-rdfa-2.10.0.tgz", - "integrity": "sha512-9K3iaws9+FGl50oZi53hqyzhwjNKZ3mIr2zg/TAJZoapKvc14cthH17zKSSJrqI/NgBStRmZhBBkXcwfu1CANw==", - "dependencies": { - "@comunica/bus-rdf-parse-html": "^2.10.0", - "@comunica/core": "^2.10.0", - "rdfa-streaming-parser": "^2.0.1" - } - }, - "node_modules/@comunica/actor-rdf-parse-html-script": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html-script/-/actor-rdf-parse-html-script-2.10.0.tgz", - "integrity": "sha512-7XYqWchDquWnBLjG7rmmY+tdE81UZ8fPCU0Hn+vI39/MikNOpaiyr/ZYFqhogWFa9SkjmH0a7idVUzmjiwKRZQ==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/bus-rdf-parse-html": "^2.10.0", - "@comunica/context-entries": "^2.10.0", - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0", - "@rdfjs/types": "*", - "readable-stream": "^4.4.2", - "relative-to-absolute-iri": "^1.0.7" - } - }, - "node_modules/@comunica/actor-rdf-parse-jsonld": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-jsonld/-/actor-rdf-parse-jsonld-2.10.2.tgz", - "integrity": "sha512-K4fvD0zMU22KkQCqIFVT5Oy2FREEZ9CAo9u6kOcsMxEvg9aHGIM6hkaXR8I+1JCx1mDuEj3zQ8joR4tQh8fYCw==", - "dependencies": { - "@comunica/bus-http": "^2.10.2", - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/context-entries": "^2.10.0", - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0", - "jsonld-context-parser": "^2.2.2", - "jsonld-streaming-parser": "^3.0.1", - "stream-to-string": "^1.2.0" - } - }, - "node_modules/@comunica/actor-rdf-parse-n3": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-n3/-/actor-rdf-parse-n3-2.10.0.tgz", - "integrity": "sha512-o1MAbwJxW4Br2WCZdhFoRmAiOP4mfogeQqJ4nqlsOkoMtQ45EvLHsotb3Kqhuk5V+vsTxyK5v/a4zylGtcU7VQ==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/types": "^2.10.0", - "n3": "^1.17.0" - } - }, - "node_modules/@comunica/actor-rdf-parse-rdfxml": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-rdfxml/-/actor-rdf-parse-rdfxml-2.10.0.tgz", - "integrity": "sha512-HoJN52shXY3cvYtsS0cpin9KXpW3L7g1leebyCRSqnlnHdJv5D6G0Ep8vyt2xhquKNbOQ7LnP5VhiDiqz73XDg==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/types": "^2.10.0", - "rdfxml-streaming-parser": "^2.2.3" - } - }, - "node_modules/@comunica/actor-rdf-parse-shaclc": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-shaclc/-/actor-rdf-parse-shaclc-2.10.0.tgz", - "integrity": "sha512-i6tmuZuS+RtDiSXpQc3s/PxtCqwIguo4ANmVB20PK4VWgQgBwoPG7LlNcJ0xmuH/3Bv6C2Agn18PLF6dZX+fKw==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/types": "^2.10.0", - "@rdfjs/types": "*", - "asynciterator": "^3.8.1", - "readable-stream": "^4.4.2", - "shaclc-parse": "^1.4.0", - "stream-to-string": "^1.2.0" - } - }, - "node_modules/@comunica/actor-rdf-parse-xml-rdfa": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-xml-rdfa/-/actor-rdf-parse-xml-rdfa-2.10.0.tgz", - "integrity": "sha512-68r/6B/fEyA1/OYleVuaPq47J+g4xJcJijpdL1wEj7CqjV+Xa+sDWRpNCyLcD/e1Y/g9UQmLz0ZnSpR00PFddA==", - "dependencies": { - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/types": "^2.10.0", - "rdfa-streaming-parser": "^2.0.1" - } - }, - "node_modules/@comunica/bus-dereference": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/bus-dereference/-/bus-dereference-2.10.0.tgz", - "integrity": "sha512-nWyQXiH7zbiPTVttWVKJHykhV4IuahfhfUwPx3Op+cVsK489Su84dnGeSmPkxTAFFuxe6wU6ZEH4i7PDu48YvQ==", - "dependencies": { - "@comunica/actor-abstract-mediatyped": "^2.10.0", - "@comunica/actor-abstract-parse": "^2.10.0", - "@comunica/context-entries": "^2.10.0", - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0", - "readable-stream": "^4.4.2" - } - }, - "node_modules/@comunica/bus-dereference-rdf": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/bus-dereference-rdf/-/bus-dereference-rdf-2.10.0.tgz", - "integrity": "sha512-WY/wPmFpO76wwJ2D5Aus43ZbYnBRLvQ0EOp4yywO0lBiq6F0JisjCVCM4EtWouOEAAfqEoIjHXGyC3gPWqm+SQ==", - "dependencies": { - "@comunica/bus-dereference": "^2.10.0", - "@comunica/bus-rdf-parse": "^2.10.0", - "@comunica/core": "^2.10.0", - "@rdfjs/types": "*" - } - }, - "node_modules/@comunica/bus-http": { - "version": "2.10.2", - "resolved": "https://registry.npmjs.org/@comunica/bus-http/-/bus-http-2.10.2.tgz", - "integrity": "sha512-MAYRF6uEBAuJ9dCPW2Uyne7w3lNwXFXKfa14XuPG5DFTDpgo/Z2pWupPrBsA1eIWMNJ6WOG6QyEv4rllSIBqlg==", - "dependencies": { - "@comunica/core": "^2.10.0", - "@smessie/readable-web-to-node-stream": "^3.0.3", - "is-stream": "^2.0.1", - "readable-stream-node-to-web": "^1.0.1", - "web-streams-ponyfill": "^1.4.2" - } - }, - "node_modules/@comunica/bus-init": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/bus-init/-/bus-init-2.10.0.tgz", - "integrity": "sha512-hJejHa8sLVhQLFlduCVnhOd5aW3FCEz8wmWjyeLI3kiHFaQibnGVMhUuuNRX5f8bnnPuTdEiHc1nnYHuSi+j8A==", - "dependencies": { - "@comunica/core": "^2.10.0", - "readable-stream": "^4.4.2" - } - }, - "node_modules/@comunica/bus-rdf-parse": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/bus-rdf-parse/-/bus-rdf-parse-2.10.0.tgz", - "integrity": "sha512-EgCMZACfTG/+mayQpExWt0HoBT32BBVC1aS1lC43fXKBTxJ8kYrSrorVUuMACoh4dQVGTb+7j1j4K0hGNVzXGA==", - "dependencies": { - "@comunica/actor-abstract-mediatyped": "^2.10.0", - "@comunica/actor-abstract-parse": "^2.10.0", - "@comunica/core": "^2.10.0", - "@rdfjs/types": "*" - } - }, - "node_modules/@comunica/bus-rdf-parse-html": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/bus-rdf-parse-html/-/bus-rdf-parse-html-2.10.0.tgz", - "integrity": "sha512-RZliz4TtKP63QggoohGuIkGb6lq0BoYJ4aztKtGldWtPAVP/pdEvlDpiZWLB/j19g7S2aDLNY/lJtZ5efM1tHQ==", - "dependencies": { - "@comunica/core": "^2.10.0", - "@rdfjs/types": "*" - } - }, - "node_modules/@comunica/config-query-sparql": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/@comunica/config-query-sparql/-/config-query-sparql-2.7.0.tgz", - "integrity": "sha512-rMnFgT7cz9+0z7wV4OzIMY5qM9/Z0mTGrR8y2JokoHyyTcBGOSajFmy61XCSLMCsLLG8qDXsJ4ClCCky3TGfqA==" - }, - "node_modules/@comunica/context-entries": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/context-entries/-/context-entries-2.10.0.tgz", - "integrity": "sha512-lmCYCcXxW8C6ecFH2whZCt31NT1ejb0P/sbytK7f4ctyA06Q8iYFEcYE4eWOXMdpfkwkcnz31x9XL77OGeSC2Q==", - "dependencies": { - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0", - "@rdfjs/types": "*", - "jsonld-context-parser": "^2.2.2", - "sparqlalgebrajs": "^4.2.0" - } - }, - "node_modules/@comunica/core": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/core/-/core-2.10.0.tgz", - "integrity": "sha512-onsGs2iKHUPRxxMOdx42vdxslk8q9FQZdRjQtHJ6SGiCpJwIL9ciBgPIOl2RL2YfzXHemr/0umeNOppRDcWhJA==", - "dependencies": { - "@comunica/types": "^2.10.0", - "immutable": "^4.1.0" - }, - "engines": { - "node": ">=14.0" - } - }, - "node_modules/@comunica/mediator-combine-pipeline": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/mediator-combine-pipeline/-/mediator-combine-pipeline-2.10.0.tgz", - "integrity": "sha512-j7+/oUlbhKB4Rq6g9oNKU+e9cQL8U9z8tAUNhoXUSHajcr4huj0t1+riaOD109/DRWhV793ILhBDzgiZbHd7DA==", - "dependencies": { - "@comunica/core": "^2.10.0", - "@comunica/types": "^2.10.0" - } - }, - "node_modules/@comunica/mediator-combine-union": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/mediator-combine-union/-/mediator-combine-union-2.10.0.tgz", - "integrity": "sha512-QbP4zP1i6nMDZ8teC0RoTz5E8pOpxDhWPBr1ylb2jzPUjPpMgrnbHYTondlN0Oau3SMEehItojg/LYDtPOP/GQ==", - "dependencies": { - "@comunica/core": "^2.10.0" - } - }, - "node_modules/@comunica/mediator-number": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/mediator-number/-/mediator-number-2.10.0.tgz", - "integrity": "sha512-0T8D1HGTu5Sd8iKb2dBjc6VRc/U4A15TAN6m561ra9pFlP+w31kby0ZYP6WWBHBobbUsX1LCvnbRQaAC4uWwVw==", - "dependencies": { - "@comunica/core": "^2.10.0" - } - }, - "node_modules/@comunica/mediator-race": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/mediator-race/-/mediator-race-2.10.0.tgz", - "integrity": "sha512-JiEtOLMkPnbjSLabVpE4VqDbu2ZKKnkUdATGBeWX+o+MjPw6c0hhw01RG4WY2rQhDyNl++nLQe3EowQh8xW9TA==", - "dependencies": { - "@comunica/core": "^2.10.0" - } - }, - "node_modules/@comunica/mediatortype-time": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/mediatortype-time/-/mediatortype-time-2.10.0.tgz", - "integrity": "sha512-nBz1exxrja1Tj8KSlSevG4Hw2u09tTh6gtNfVjI76i/e7muu4RUWVhi9b8PcwBNAfuUqRl+5OgOSa2X4W+6QlA==", - "dependencies": { - "@comunica/core": "^2.10.0" - } - }, - "node_modules/@comunica/types": { - "version": "2.10.0", - "resolved": "https://registry.npmjs.org/@comunica/types/-/types-2.10.0.tgz", - "integrity": "sha512-1UjPGbZcYrapBjMGUZedrIGcn9rOLpEOlJo1ZkWddFUGTwndVg9d4BZnQw+UnQzXMcLJcdKt94Zns8iEmBqARw==", - "dependencies": { - "@rdfjs/types": "*", - "@types/yargs": "^17.0.24", - "asynciterator": "^3.8.1", - "sparqlalgebrajs": "^4.2.0" - } - }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", @@ -1401,6 +1064,7 @@ "version": "0.18.0", "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.18.0.tgz", "integrity": "sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==", + "dev": true, "dependencies": { "@eslint/object-schema": "^2.1.4", "debug": "^4.3.1", @@ -1414,6 +1078,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -1423,6 +1088,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -1434,6 +1100,7 @@ "version": "0.6.0", "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.6.0.tgz", "integrity": "sha512-8I2Q8ykA4J0x0o7cg67FPVnehcqWTBehu/lmY+bolPFHGjh49YzGBMXTvpqVgEbBdvNCSxj6iFgiIyHzf03lzg==", + "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } @@ -1442,6 +1109,7 @@ "version": "3.1.0", "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", + "dev": true, "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", @@ -1464,6 +1132,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -1473,6 +1142,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -1484,6 +1154,7 @@ "version": "9.12.0", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.12.0.tgz", "integrity": "sha512-eohesHH8WFRUprDNyEREgqP6beG6htMeUYeCpkEgBCieCMme5r9zFWjzAJp//9S+Kub4rqE+jXe9Cp1a7IYIIA==", + "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } @@ -1492,14 +1163,17 @@ "version": "2.1.4", "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.4.tgz", "integrity": "sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==", + "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, "node_modules/@eslint/plugin-kit": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.0.tgz", - "integrity": "sha512-vH9PiIMMwvhCx31Af3HiGzsVNULDbyVkHXwlemn/B0TFj/00ho3y55efXrUZTfQipxoHC5u4xq6zblww1zm1Ig==", + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.4.tgz", + "integrity": "sha512-zSkKow6H5Kdm0ZUQUB2kV5JIXqoG0+uH5YADhaEHswm664N9Db8dXSi0nMJpacpMf+MyyglF1vnZohpEg5yUtg==", + "dev": true, + "license": "Apache-2.0", "dependencies": { "levn": "^0.4.1" }, @@ -1610,6 +1284,7 @@ "version": "0.19.0", "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.0.tgz", "integrity": "sha512-2cbWIHbZVEweE853g8jymffCA+NCMiuqeECeBBLm8dg2oFdjuGJhgN4UAbI+6v0CKbbhvtXA4qV8YR5Ji86nmw==", + "dev": true, "engines": { "node": ">=18.18.0" } @@ -1618,6 +1293,7 @@ "version": "0.16.5", "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.5.tgz", "integrity": "sha512-KSPA4umqSG4LHYRodq31VDwKAvaTF4xmVlzM8Aeh4PlU1JQ3IG0wiA8C25d3RQ9nJyM3mBHyI53K06VVL/oFFg==", + "dev": true, "dependencies": { "@humanfs/core": "^0.19.0", "@humanwhocodes/retry": "^0.3.0" @@ -1682,6 +1358,7 @@ "version": "0.3.1", "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "dev": true, "engines": { "node": ">=18.18" }, @@ -2190,6 +1867,14 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, + "node_modules/@jeswr/stream-to-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@jeswr/stream-to-string/-/stream-to-string-2.0.0.tgz", + "integrity": "sha512-VmoW6xYRjVzdMr2njBObVSlUc5KCJT+gyuuH+tea9ZLE59XhgfLNc8ufN5Md38STxCyAJUDUVcCBfaOo11BfuA==", + "dependencies": { + "event-emitter-promisify": "^1.1.0" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.3.5", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", @@ -2539,22 +2224,6 @@ "@sinonjs/commons": "^3.0.0" } }, - "node_modules/@smessie/readable-web-to-node-stream": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@smessie/readable-web-to-node-stream/-/readable-web-to-node-stream-3.0.3.tgz", - "integrity": "sha512-8FFE7psRtRWQT31/duqbmgnSf2++QLR2YH9kj5iwsHhnoqSvHdOY3SAN5e7dhc+60p2cNk7rv3HYOiXOapTEXQ==", - "dependencies": { - "process": "^0.11.10", - "readable-stream": "^4.5.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/Borewit" - } - }, "node_modules/@treecg/types": { "version": "0.4.6", "resolved": "https://registry.npmjs.org/@treecg/types/-/types-0.4.6.tgz", @@ -2684,7 +2353,8 @@ "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true }, "node_modules/@types/ms": { "version": "0.7.34", @@ -4186,18 +3856,11 @@ "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" }, - "node_modules/cross-fetch": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", - "integrity": "sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==", - "dependencies": { - "node-fetch": "^2.6.12" - } - }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -4587,6 +4250,7 @@ "version": "9.12.0", "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.12.0.tgz", "integrity": "sha512-UVIOlTEWxwIopRL1wgSQYdnVDcEvs2wyaO6DGo5mXqe3r16IoCNWkR29iHhyaP4cICWjbgbmFUGAhh0GJRuGZw==", + "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.11.0", @@ -4657,6 +4321,7 @@ "version": "8.1.0", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.1.0.tgz", "integrity": "sha512-14dSvlhaVhKKsa9Fx1l8A17s7ah7Ef7wCakJ10LYk6+GYmP9yDti2oq2SEwcyndt6knfcZyhyxwY3i9yL78EQw==", + "dev": true, "dependencies": { "esrecurse": "^4.3.0", "estraverse": "^5.2.0" @@ -4683,6 +4348,7 @@ "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -4692,6 +4358,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.1.0.tgz", "integrity": "sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==", + "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -4703,6 +4370,7 @@ "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, "dependencies": { "brace-expansion": "^1.1.7" }, @@ -4714,6 +4382,7 @@ "version": "10.2.0", "resolved": "https://registry.npmjs.org/espree/-/espree-10.2.0.tgz", "integrity": "sha512-upbkBJbckcCNBDBDXEbuhjbP68n+scUd3k/U2EkyM9nw+I/jPiL4cLF/Al06CF96wRltFda16sxDFrxsI1v0/g==", + "dev": true, "dependencies": { "acorn": "^8.12.0", "acorn-jsx": "^5.3.2", @@ -4730,6 +4399,7 @@ "version": "4.1.0", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.1.0.tgz", "integrity": "sha512-Q7lok0mqMUSf5a/AdAZkA5a/gHcO6snwQClVNNvFKCAVlxXucdU8pKydU5ZVZjBx5xr37vGbFFWtLQYreLzrZg==", + "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, @@ -4796,6 +4466,11 @@ "node": ">=0.10.0" } }, + "node_modules/event-emitter-promisify": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/event-emitter-promisify/-/event-emitter-promisify-1.1.0.tgz", + "integrity": "sha512-uyHG8gjwYGDlKoo0Txtx/u1HI1ubj0FK0rVqI4O0s1EymQm4iAEMbrS5B+XFlSaS8SZ3xzoKX+YHRZk8Nk/bXg==" + }, "node_modules/event-target-shim": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", @@ -4882,62 +4557,18 @@ } }, "node_modules/extract-cbd-shape": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/extract-cbd-shape/-/extract-cbd-shape-0.1.8.tgz", - "integrity": "sha512-BO5+ieIPPojUo2e2pIh3HbJW6RglNFAXA+ZTZGpvA+vx7gQ9sREEtT1PNDwn791zSnr3WMK7FBQbE3m5y/X4bw==", + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/extract-cbd-shape/-/extract-cbd-shape-0.1.11.tgz", + "integrity": "sha512-LZhbbKpY+rvIJeZL5vWKmwcOjVjE0QL0bEnZ7sPPAlb1mgiklR73vWHNmngm23qKQhnCfnZNXbBsUM7xVamd0g==", + "license": "MIT", "dependencies": { "@treecg/types": "^0.4.5", "debug": "^4.3.4", "jsdom": "^23.0.1", - "n3": "^1.17.0", + "n3": "^1.23.1", "rdf-data-factory": "^1.1.2", - "rdf-dereference": "2.x", + "rdf-dereference": "4.x", "rdf-stores": "^1.0.0" - }, - "peerDependencies": { - "rdf-js": "x" - } - }, - "node_modules/extract-cbd-shape/node_modules/rdf-dereference": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/rdf-dereference/-/rdf-dereference-2.2.0.tgz", - "integrity": "sha512-6geM3CSUlXTK3n4OoKsL95M7XwKXoxiwK7cf4e/+Dj0X/ll77ihFN5j9VhLGXNYbMXDlm30kBg/VU6ymMv6o/Q==", - "dependencies": { - "@comunica/actor-dereference-fallback": "^2.0.2", - "@comunica/actor-dereference-file": "^2.0.2", - "@comunica/actor-dereference-http": "^2.0.2", - "@comunica/actor-dereference-rdf-parse": "^2.6.0", - "@comunica/actor-http-fetch": "^2.0.1", - "@comunica/actor-http-proxy": "^2.0.1", - "@comunica/actor-rdf-parse-html": "^2.0.1", - "@comunica/actor-rdf-parse-html-microdata": "^2.0.1", - "@comunica/actor-rdf-parse-html-rdfa": "^2.0.1", - "@comunica/actor-rdf-parse-html-script": "^2.0.1", - "@comunica/actor-rdf-parse-jsonld": "^2.0.1", - "@comunica/actor-rdf-parse-n3": "^2.0.1", - "@comunica/actor-rdf-parse-rdfxml": "^2.0.1", - "@comunica/actor-rdf-parse-shaclc": "^2.6.0", - "@comunica/actor-rdf-parse-xml-rdfa": "^2.0.1", - "@comunica/bus-dereference": "^2.0.2", - "@comunica/bus-dereference-rdf": "^2.0.2", - "@comunica/bus-http": "^2.0.1", - "@comunica/bus-init": "^2.0.1", - "@comunica/bus-rdf-parse": "^2.0.1", - "@comunica/bus-rdf-parse-html": "^2.0.1", - "@comunica/config-query-sparql": "^2.0.1", - "@comunica/context-entries": "^2.8.1", - "@comunica/core": "^2.0.1", - "@comunica/mediator-combine-pipeline": "^2.0.1", - "@comunica/mediator-combine-union": "^2.0.1", - "@comunica/mediator-number": "^2.0.1", - "@comunica/mediator-race": "^2.0.1", - "@rdfjs/types": "*", - "process": "^0.11.10", - "rdf-string": "^1.6.0", - "stream-to-string": "^1.2.0" - }, - "bin": { - "rdf-dereference": "bin/Runner.js" } }, "node_modules/fast-content-type-parse": { @@ -5143,6 +4774,7 @@ "version": "8.0.0", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, "dependencies": { "flat-cache": "^4.0.0" }, @@ -5232,6 +4864,7 @@ "version": "4.0.1", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, "dependencies": { "flatted": "^3.2.9", "keyv": "^4.5.4" @@ -5408,6 +5041,7 @@ "version": "14.0.0", "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, "engines": { "node": ">=18" }, @@ -6714,23 +6348,6 @@ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" }, - "node_modules/jsonld-streaming-parser": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/jsonld-streaming-parser/-/jsonld-streaming-parser-3.4.0.tgz", - "integrity": "sha512-897CloyQgQidfkB04dLM5XaAXVX/cN9A2hvgHJo4y4jRhIpvg3KLMBBfcrswepV2N3T8c/Rp2JeFdWfVsbVZ7g==", - "dependencies": { - "@bergos/jsonparse": "^1.4.0", - "@rdfjs/types": "*", - "@types/http-link-header": "^1.0.1", - "@types/readable-stream": "^2.3.13", - "buffer": "^6.0.3", - "canonicalize": "^1.0.1", - "http-link-header": "^1.0.2", - "jsonld-context-parser": "^2.4.0", - "rdf-data-factory": "^1.1.0", - "readable-stream": "^4.0.0" - } - }, "node_modules/kafkajs": { "version": "2.2.4", "resolved": "https://registry.npmjs.org/kafkajs/-/kafkajs-2.2.4.tgz", @@ -8142,47 +7759,584 @@ } }, "node_modules/rdf-dereference": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/rdf-dereference/-/rdf-dereference-3.0.0.tgz", - "integrity": "sha512-LxB1dP357S/NuivEfNa2YMbnY+k+hPNrvAx/p6CUaHhKv5wuqJHtfmbm8ahqbo/98CizjoFew5xT4WlqedXWYA==", - "dependencies": { - "@comunica/actor-dereference-fallback": "^2.0.2", - "@comunica/actor-dereference-file": "^2.0.2", - "@comunica/actor-dereference-http": "^2.0.2", - "@comunica/actor-dereference-rdf-parse": "^2.6.0", - "@comunica/actor-http-fetch": "^2.0.1", - "@comunica/actor-http-proxy": "^2.0.1", - "@comunica/actor-rdf-parse-html": "^2.0.1", - "@comunica/actor-rdf-parse-html-microdata": "^2.0.1", - "@comunica/actor-rdf-parse-html-rdfa": "^2.0.1", - "@comunica/actor-rdf-parse-html-script": "^2.0.1", - "@comunica/actor-rdf-parse-jsonld": "^2.0.1", - "@comunica/actor-rdf-parse-n3": "^2.0.1", - "@comunica/actor-rdf-parse-rdfxml": "^2.0.1", - "@comunica/actor-rdf-parse-shaclc": "^2.6.0", - "@comunica/actor-rdf-parse-xml-rdfa": "^2.0.1", - "@comunica/bus-dereference": "^2.0.2", - "@comunica/bus-dereference-rdf": "^2.0.2", - "@comunica/bus-http": "^2.0.1", - "@comunica/bus-init": "^2.0.1", - "@comunica/bus-rdf-parse": "^2.0.1", - "@comunica/bus-rdf-parse-html": "^2.0.1", - "@comunica/config-query-sparql": "^2.0.1", - "@comunica/context-entries": "^2.8.1", - "@comunica/core": "^2.0.1", - "@comunica/mediator-combine-pipeline": "^2.0.1", - "@comunica/mediator-combine-union": "^2.0.1", - "@comunica/mediator-number": "^2.0.1", - "@comunica/mediator-race": "^2.0.1", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/rdf-dereference/-/rdf-dereference-4.0.0.tgz", + "integrity": "sha512-hv7uqIHTB9M/OnS69hrSwNVBo/4+CFLwdVCL6Lg7z0+KLDJChZmTK5e6CFQ8v0OL1TJTSETGx2/EORhOwuZfFQ==", + "dependencies": { + "@comunica/actor-dereference-fallback": "^4.0.1", + "@comunica/actor-dereference-file": "^4.0.1", + "@comunica/actor-dereference-http": "^4.0.1", + "@comunica/actor-dereference-rdf-parse": "^4.0.1", + "@comunica/actor-http-fetch": "^4.0.1", + "@comunica/actor-http-proxy": "^4.0.1", + "@comunica/actor-rdf-parse-html": "^4.0.1", + "@comunica/actor-rdf-parse-html-microdata": "^4.0.1", + "@comunica/actor-rdf-parse-html-rdfa": "^4.0.1", + "@comunica/actor-rdf-parse-html-script": "^4.0.1", + "@comunica/actor-rdf-parse-jsonld": "^4.0.1", + "@comunica/actor-rdf-parse-n3": "^4.0.1", + "@comunica/actor-rdf-parse-rdfxml": "^4.0.1", + "@comunica/actor-rdf-parse-shaclc": "^4.0.1", + "@comunica/actor-rdf-parse-xml-rdfa": "^4.0.1", + "@comunica/bus-dereference": "^4.0.1", + "@comunica/bus-dereference-rdf": "^4.0.1", + "@comunica/bus-http": "^4.0.1", + "@comunica/bus-init": "^4.0.1", + "@comunica/bus-rdf-parse": "^4.0.1", + "@comunica/bus-rdf-parse-html": "^4.0.1", + "@comunica/config-query-sparql": "^4.0.1", + "@comunica/context-entries": "^4.0.1", + "@comunica/core": "^4.0.1", + "@comunica/mediator-combine-pipeline": "^4.0.1", + "@comunica/mediator-combine-union": "^4.0.1", + "@comunica/mediator-number": "^4.0.1", + "@comunica/mediator-race": "^4.0.1", "@rdfjs/types": "*", - "process": "^0.11.10", - "rdf-string": "^1.6.0", - "stream-to-string": "^1.2.0" + "rdf-data-factory": "^1.1.2", + "rdf-string": "^1.6.3", + "stream-to-string": "^1.2.1" }, "bin": { "rdf-dereference": "bin/Runner.js" + }, + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/rubensworks/" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-abstract-mediatyped": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-abstract-mediatyped/-/actor-abstract-mediatyped-4.0.2.tgz", + "integrity": "sha512-WN14hyPi0d2vpRnHd3JgVZm/6OlgG2Hn2q3cxOHYXNYBGVXE2g+1wlWe6WPW8HsGz3waO2rj0VKIXo0UsCPm6w==", + "dependencies": { + "@comunica/core": "^4.0.2", + "@comunica/types": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-abstract-parse": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-abstract-parse/-/actor-abstract-parse-4.0.2.tgz", + "integrity": "sha512-S3Paqni2rn5pLHg6D42dWlD0EMLHLXtCzhTNvxRoTLxjCW3L5F7HlyrDKmeBOz+Csvzybcw/Qc//+8BlARYCnA==", + "dependencies": { + "@comunica/core": "^4.0.2", + "readable-stream": "^4.5.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-dereference-fallback": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-dereference-fallback/-/actor-dereference-fallback-4.0.2.tgz", + "integrity": "sha512-0mOzPz+8UfWL82sHmkGqzp9Hs+MCwZ5zZBDfbQRPTHDG/2DuZ/bruBHK2S88SJ2cGaOla3uSO9vMdu9oUJou6g==", + "dependencies": { + "@comunica/bus-dereference": "^4.0.2", + "@comunica/core": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" } }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-dereference-file": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-dereference-file/-/actor-dereference-file-4.0.2.tgz", + "integrity": "sha512-4sizskHwZAgSYXDDrqeTFDgMOTsAcgKs33y1gKIM+TE2Kd/tWt+v3oea6j3cID33iQmcdP5yAAlN1ndMGOtkCQ==", + "dependencies": { + "@comunica/bus-dereference": "^4.0.2", + "@comunica/core": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-dereference-http": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-dereference-http/-/actor-dereference-http-4.0.2.tgz", + "integrity": "sha512-z9tUI6Lohb8zz0s8MTW0v7tLJVc5B0epbDLzfHdVqS8VjZDjtEHz8P8n/FHEeNvsy0NASye/ISMd+RZnUOJQEw==", + "dependencies": { + "@comunica/bus-dereference": "^4.0.2", + "@comunica/bus-http": "^4.0.2", + "@comunica/core": "^4.0.2", + "@jeswr/stream-to-string": "^2.0.0", + "relative-to-absolute-iri": "^1.0.7" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-dereference-rdf-parse": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-dereference-rdf-parse/-/actor-dereference-rdf-parse-4.0.2.tgz", + "integrity": "sha512-hl+1Zj8dIXXePxBOhPhrmJqMSU3QyHlzEoEG6Uy3Wqowm345nXsy5NTf24eUldOArhhkvq/Xi2lDQh29stomCA==", + "dependencies": { + "@comunica/bus-dereference": "^4.0.2", + "@comunica/bus-dereference-rdf": "^4.0.2", + "@comunica/bus-rdf-parse": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-http-fetch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-http-fetch/-/actor-http-fetch-4.0.2.tgz", + "integrity": "sha512-otMv4WOWPrTfs4/UTr4tB2BKCIz2r8ncH2pTfQySQpn6KstlxPjWLAKy8ZKVgEg+E7jMTpgm331kwMqUbl2M9g==", + "dependencies": { + "@comunica/bus-http": "^4.0.2", + "@comunica/context-entries": "^4.0.2", + "@comunica/core": "^4.0.2", + "@comunica/mediatortype-time": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-http-proxy": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-http-proxy/-/actor-http-proxy-4.0.2.tgz", + "integrity": "sha512-wIwAXt7kO289u1KIBL2NWY13kMo593weBQKMvP4OFpUHez50/631mMZz8zSLRlsM+KyPhXmPT/RozMFkekojLQ==", + "dependencies": { + "@comunica/bus-http": "^4.0.2", + "@comunica/context-entries": "^4.0.2", + "@comunica/core": "^4.0.2", + "@comunica/mediatortype-time": "^4.0.2", + "@comunica/types": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-rdf-parse-html": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html/-/actor-rdf-parse-html-4.0.2.tgz", + "integrity": "sha512-I10FGPMmwuwUBUi/DZJmAKXqdqb5Ue/oJ8JFifozHdmMZYVcbYCa4AvMQIAKi3qrLeQXciMl7GdA0eb4FQ5/Ag==", + "dependencies": { + "@comunica/bus-rdf-parse": "^4.0.2", + "@comunica/bus-rdf-parse-html": "^4.0.2", + "@comunica/core": "^4.0.2", + "@comunica/types": "^4.0.2", + "@rdfjs/types": "*", + "htmlparser2": "^9.0.0", + "readable-stream": "^4.5.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-rdf-parse-html-microdata": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html-microdata/-/actor-rdf-parse-html-microdata-4.0.2.tgz", + "integrity": "sha512-avW0OuD9kCQXwI19vnfZIUVh7PEhs1g90XXHRohwT9lz5hbU4uGZFrUw3owPsV5CwpTBxLMFijBPrk6foN7fog==", + "dependencies": { + "@comunica/bus-rdf-parse-html": "^4.0.2", + "@comunica/context-entries": "^4.0.2", + "@comunica/core": "^4.0.2", + "@comunica/types": "^4.0.2", + "microdata-rdf-streaming-parser": "^2.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-rdf-parse-html-rdfa": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html-rdfa/-/actor-rdf-parse-html-rdfa-4.0.2.tgz", + "integrity": "sha512-OkcV5aJaCLBzNo5/C/MsJvYBCCRFF2WrQyqmoT+w1/vkM4YKYZ7aL87uDKBmB2bTPDUJ6kfLxTV1miQDMI+JuQ==", + "dependencies": { + "@comunica/bus-rdf-parse-html": "^4.0.2", + "@comunica/context-entries": "^4.0.2", + "@comunica/core": "^4.0.2", + "@comunica/types": "^4.0.2", + "rdfa-streaming-parser": "^2.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-rdf-parse-html-script": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-html-script/-/actor-rdf-parse-html-script-4.0.2.tgz", + "integrity": "sha512-oGB52p+ug1YesdnKoonzQxI+yoLKr2j8ds76vdyMw7bJVVl+wSgXzqmwGan2TDmu26WZ/uGK4jQFshtlCiS8RQ==", + "dependencies": { + "@comunica/bus-rdf-parse": "^4.0.2", + "@comunica/bus-rdf-parse-html": "^4.0.2", + "@comunica/context-entries": "^4.0.2", + "@comunica/core": "^4.0.2", + "@comunica/types": "^4.0.2", + "@rdfjs/types": "*", + "readable-stream": "^4.5.2", + "relative-to-absolute-iri": "^1.0.7" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-rdf-parse-jsonld": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-jsonld/-/actor-rdf-parse-jsonld-4.0.2.tgz", + "integrity": "sha512-CpfMvwKOmKf171jlhgztM1WeYDx+VGgODUD1Nq57WkjBPKniHlES6RT5J/4hiPuB8bEyiuX0D65dQLtk32OhAA==", + "dependencies": { + "@comunica/bus-http": "^4.0.2", + "@comunica/bus-rdf-parse": "^4.0.2", + "@comunica/context-entries": "^4.0.2", + "@comunica/core": "^4.0.2", + "@comunica/types": "^4.0.2", + "@jeswr/stream-to-string": "^2.0.0", + "jsonld-context-parser": "^2.2.2", + "jsonld-streaming-parser": "^4.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-rdf-parse-n3": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-n3/-/actor-rdf-parse-n3-4.0.2.tgz", + "integrity": "sha512-9jLntJGaXxUf//qC4J3svwjI7nDpyycIkpAwVCilqKpPhqo+Slji/8hfVQd5YPfuL30jgxqNHAnbo3/ygJcb7Q==", + "dependencies": { + "@comunica/bus-rdf-parse": "^4.0.2", + "@comunica/context-entries": "^4.0.2", + "@comunica/types": "^4.0.2", + "n3": "^1.17.0" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-rdf-parse-rdfxml": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-rdfxml/-/actor-rdf-parse-rdfxml-4.0.2.tgz", + "integrity": "sha512-7TuUXa6108o1nLWrel4xrZjjHtX82nao6vrbIpn22BaF57S4V09x/xOYO9pZdLn3/i5aZ8Lz9aVF2+NGc4VQzA==", + "dependencies": { + "@comunica/bus-rdf-parse": "^4.0.2", + "@comunica/context-entries": "^4.0.2", + "rdfxml-streaming-parser": "^2.2.3" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-rdf-parse-shaclc": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-shaclc/-/actor-rdf-parse-shaclc-4.0.2.tgz", + "integrity": "sha512-DOlz5JbIm5n+SL5hWHjrMud9KpmEsdZT1ybK6OdXI4wZX9NYFeM8QhywgEKUaGhh8gzh2FkcWf5vXfQQfPgGDg==", + "dependencies": { + "@comunica/bus-rdf-parse": "^4.0.2", + "@comunica/types": "^4.0.2", + "@jeswr/stream-to-string": "^2.0.0", + "@rdfjs/types": "*", + "asynciterator": "^3.9.0", + "readable-stream": "^4.5.2", + "shaclc-parse": "^1.4.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/actor-rdf-parse-xml-rdfa": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/actor-rdf-parse-xml-rdfa/-/actor-rdf-parse-xml-rdfa-4.0.2.tgz", + "integrity": "sha512-4eRyjMs0SAKI2BgaxLHqvNuRUm0x2uwPTjQr6jO3OqOZTRm8fXsmNfr+/scKRmYANd1OzFEUdcFjAAxYG+pz6g==", + "dependencies": { + "@comunica/bus-rdf-parse": "^4.0.2", + "@comunica/context-entries": "^4.0.2", + "@comunica/types": "^4.0.2", + "rdfa-streaming-parser": "^2.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/bus-dereference": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/bus-dereference/-/bus-dereference-4.0.2.tgz", + "integrity": "sha512-D8RDOE23Z4Q2jvD5v7dcMNGgicprRw1ciits7cgB/zOTHufxHNlNZq620TJ9YyOp4zoWqqp/geRAZmLczZrTzQ==", + "dependencies": { + "@comunica/actor-abstract-mediatyped": "^4.0.2", + "@comunica/actor-abstract-parse": "^4.0.2", + "@comunica/context-entries": "^4.0.2", + "@comunica/core": "^4.0.2", + "@comunica/types": "^4.0.2", + "readable-stream": "^4.5.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/bus-dereference-rdf": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/bus-dereference-rdf/-/bus-dereference-rdf-4.0.2.tgz", + "integrity": "sha512-/PXTLDIXqN6hphXQ9aPtvtaca6M48tgkH3o6fZfGW9hUwiMJpX+Oz+ysL0xO/F/Z4BjpZNuZh/xWusX5jLcqNA==", + "dependencies": { + "@comunica/bus-dereference": "^4.0.2", + "@comunica/bus-rdf-parse": "^4.0.2", + "@comunica/core": "^4.0.2", + "@rdfjs/types": "*" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/bus-http": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/bus-http/-/bus-http-4.0.2.tgz", + "integrity": "sha512-LCYtkerJ6bN7OnrmLBccQUszZYHYKo4c3prShAD4i+8AGqYecGplEDdueecN5kq4cz0uQjWmqPKIV1mS8NEDWw==", + "dependencies": { + "@comunica/core": "^4.0.2", + "@jeswr/stream-to-string": "^2.0.0", + "is-stream": "^2.0.1", + "readable-from-web": "^1.0.0", + "readable-stream-node-to-web": "^1.0.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/bus-init": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/bus-init/-/bus-init-4.0.2.tgz", + "integrity": "sha512-sY0C4ri1oBpiEgAD6s7TF/YG8pQz5sYrnOh93M+QDfKxdJiT7NtxRgkxriGBwB1dH6x7KMymogbbW6jXQccv6g==", + "dependencies": { + "@comunica/core": "^4.0.2", + "readable-stream": "^4.5.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/bus-rdf-parse": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/bus-rdf-parse/-/bus-rdf-parse-4.0.2.tgz", + "integrity": "sha512-ApfN5wTiqwbOkTmT9RNTqX7pTjuS+4mYRqmSUkBUS+4rAf6qcSsfHs+2TB2YtFDy31p7Xw7A1uYYbh+f684d5g==", + "dependencies": { + "@comunica/actor-abstract-mediatyped": "^4.0.2", + "@comunica/actor-abstract-parse": "^4.0.2", + "@comunica/core": "^4.0.2", + "@rdfjs/types": "*" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/bus-rdf-parse-html": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/bus-rdf-parse-html/-/bus-rdf-parse-html-4.0.2.tgz", + "integrity": "sha512-PatbiwlgNwMmAFd9UAtzAPrcFhv9PS92UVvyTeML/mNDXCQfUZ9L3bRyQN6DrItYBWTxxCGLkybTSGL4DojwMw==", + "dependencies": { + "@comunica/core": "^4.0.2", + "@rdfjs/types": "*" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/config-query-sparql": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@comunica/config-query-sparql/-/config-query-sparql-4.0.1.tgz", + "integrity": "sha512-jNuRl7PmOKillPfvIzmO+I7IFP0nroFQrZaX/4pUIqe4WNrSCzjZqrLnru0BQtFE5LXcaEA9IdtISSfjwTFt2w==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/context-entries": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/context-entries/-/context-entries-4.0.2.tgz", + "integrity": "sha512-ryjSZ/fOyeNgWv1ZISD9BvC052kL8DLffpp/59rEJfbgjv1Phv2Zae7obW05EG8pn1Bk+OspwrkGa4Lps4e6Pg==", + "dependencies": { + "@comunica/core": "^4.0.2", + "@comunica/types": "^4.0.2", + "@rdfjs/types": "*", + "jsonld-context-parser": "^2.2.2", + "sparqlalgebrajs": "^4.3.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/core": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/core/-/core-4.0.2.tgz", + "integrity": "sha512-VDh3mejUyqhV2Hf/f43iBWrsAjYfULV+FbF0v/AR1tgESkCS7z949Dzbu8YgkL1CaTX6Ohmqgrhc/yEd9CGZ6Q==", + "dependencies": { + "@comunica/types": "^4.0.2", + "immutable": "^4.3.7" + }, + "engines": { + "node": ">=14.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/mediator-combine-pipeline": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/mediator-combine-pipeline/-/mediator-combine-pipeline-4.0.2.tgz", + "integrity": "sha512-bU66ZgbP0v7SznZ3SGQXabYsQbUUErrT++WSDfv9w/jm7UJidt8mpRZfPTD0q83Cxu+yfOU5c9ToSVMT93CLGg==", + "dependencies": { + "@comunica/core": "^4.0.2", + "@comunica/types": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/mediator-combine-union": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/mediator-combine-union/-/mediator-combine-union-4.0.2.tgz", + "integrity": "sha512-upb0h6pWgithAvTH9iTa8lVQkUaI4a/+f7oh/F3suBULOA3mlACLp3eQU8w9tUnnKYujI7+sW9lH9uRkF34o7A==", + "dependencies": { + "@comunica/core": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/mediator-number": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/mediator-number/-/mediator-number-4.0.2.tgz", + "integrity": "sha512-m4aLqDtxvM8bZjFlgkoStYczyLnZ+bobx7LcVnj0j3Kws50UMU+k44brToi20i55oYcxi4T3zm4fjLrM6nBRcQ==", + "dependencies": { + "@comunica/core": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/mediator-race": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/mediator-race/-/mediator-race-4.0.2.tgz", + "integrity": "sha512-gzPRxWZaWwBEzfKPy3Qhuk1oDLd4hE+AvAbA4rE7xICmF4sgU/wSHiBM809vhi6HE818d509xFwEB9R/gXDNNQ==", + "dependencies": { + "@comunica/core": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/mediatortype-time": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/mediatortype-time/-/mediatortype-time-4.0.2.tgz", + "integrity": "sha512-+GhNGviCWtuXtmUUwRhC80lKjQSrrHES0X7M578wq4wJ+LbPS8QSqQwYS/hVQ0pofPaJXZwmHa+7zwE59cQwqg==", + "dependencies": { + "@comunica/core": "^4.0.2" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@comunica/types": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@comunica/types/-/types-4.0.2.tgz", + "integrity": "sha512-Gxx755NlVww5BpdREYFYUYNazCazQsk2NMCuRfIEyHmCtU2eCc6RJk6YqKKLRCjaHcWIfBVtbbsbySzG8leS0g==", + "dependencies": { + "@rdfjs/types": "*", + "@types/yargs": "^17.0.24", + "asynciterator": "^3.9.0", + "lru-cache": "^10.0.1", + "sparqlalgebrajs": "^4.3.8" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/comunica-association" + } + }, + "node_modules/rdf-dereference/node_modules/@types/node": { + "version": "18.19.60", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.60.tgz", + "integrity": "sha512-cYRj7igVqgxhlHFdBHHpU2SNw3+dN2x0VTZJtLYk6y/ieuGN4XiBgtDjYVktM/yk2y/8pKMileNc6IoEzEJnUw==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/rdf-dereference/node_modules/@types/readable-stream": { + "version": "4.0.16", + "resolved": "https://registry.npmjs.org/@types/readable-stream/-/readable-stream-4.0.16.tgz", + "integrity": "sha512-Fvp+8OcU8PyV90KTk5tR/rI8OjD3MP5NUow5rjOsZo+9zxf4p4soJtK9j4V6yeG30TH6rZxqRaP4JLa8lNNTNQ==", + "dependencies": { + "@types/node": "*", + "safe-buffer": "~5.1.1" + } + }, + "node_modules/rdf-dereference/node_modules/jsonld-streaming-parser": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jsonld-streaming-parser/-/jsonld-streaming-parser-4.0.1.tgz", + "integrity": "sha512-6M4y9YGgADk3nXJebbRrxEdMVBJ9bnz+peAvjTXUievopqaE8sg/qml/I6Sp1ln7rpOKffsNZWSre6B7N76szw==", + "dependencies": { + "@bergos/jsonparse": "^1.4.0", + "@rdfjs/types": "*", + "@types/http-link-header": "^1.0.1", + "@types/readable-stream": "^4.0.0", + "buffer": "^6.0.3", + "canonicalize": "^1.0.1", + "http-link-header": "^1.0.2", + "jsonld-context-parser": "^3.0.0", + "rdf-data-factory": "^1.1.0", + "readable-stream": "^4.0.0" + }, + "funding": { + "type": "individual", + "url": "https://github.com/sponsors/rubensworks/" + } + }, + "node_modules/rdf-dereference/node_modules/jsonld-streaming-parser/node_modules/jsonld-context-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/jsonld-context-parser/-/jsonld-context-parser-3.0.0.tgz", + "integrity": "sha512-Kg6TVtBUdIm057ht/8WNhM9BROt+BeYaDGXbzrKaa3xA99csee+CsD8IMCTizRgzoO8PIzvzcxxCoRvpq1xNQw==", + "dependencies": { + "@types/http-link-header": "^1.0.1", + "@types/node": "^18.0.0", + "http-link-header": "^1.0.2", + "relative-to-absolute-iri": "^1.0.5" + }, + "bin": { + "jsonld-context-parse": "bin/jsonld-context-parse.js" + } + }, + "node_modules/rdf-dereference/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" + }, + "node_modules/rdf-dereference/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/rdf-dereference/node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/rdf-isomorphic": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/rdf-isomorphic/-/rdf-isomorphic-1.3.1.tgz", @@ -8194,15 +8348,6 @@ "rdf-terms": "^1.7.0" } }, - "node_modules/rdf-js": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/rdf-js/-/rdf-js-4.0.2.tgz", - "integrity": "sha512-ApvlFa/WsQh8LpPK/6hctQwG06Z9ztQQGWVtrcrf9L6+sejHNXLPOqL+w7q3hF+iL0C4sv3AX1PUtGkLNzyZ0Q==", - "deprecated": "Use @types/rdf-js instead. See https://github.com/rdfjs/types?tab=readme-ov-file#what-about-typesrdf-js", - "dependencies": { - "@rdfjs/types": "*" - } - }, "node_modules/rdf-lens": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/rdf-lens/-/rdf-lens-1.3.0.tgz", @@ -9172,6 +9317,29 @@ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==" }, + "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.16", + "resolved": "https://registry.npmjs.org/@types/readable-stream/-/readable-stream-4.0.16.tgz", + "integrity": "sha512-Fvp+8OcU8PyV90KTk5tR/rI8OjD3MP5NUow5rjOsZo+9zxf4p4soJtK9j4V6yeG30TH6rZxqRaP4JLa8lNNTNQ==", + "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", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.5.2.tgz", @@ -10658,11 +10826,6 @@ "makeerror": "1.0.12" } }, - "node_modules/web-streams-ponyfill": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/web-streams-ponyfill/-/web-streams-ponyfill-1.4.2.tgz", - "integrity": "sha512-LCHW+fE2UBJ2vjhqJujqmoxh1ytEDEr0dPO3CabMdMDJPKmsaxzS90V1Ar6LtNE5VHLqxR4YMEj1i4lzMAccIA==" - }, "node_modules/webidl-conversions": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", diff --git a/package.json b/package.json index b3e51f8..19a082c 100644 --- a/package.json +++ b/package.json @@ -37,12 +37,11 @@ "@types/debug": "^4.1.12", "commander": "^12.1.0", "debug": "^4.3.7", - "extract-cbd-shape": "^0.1.8", + "extract-cbd-shape": "^0.1.11", "heap-js": "^2.5.0", "n3": "^1.23.1", "rdf-data-factory": "^1.1.2", - "rdf-dereference": "^3.0.0", - "rdf-js": "^4.0.2", + "rdf-dereference": "^4.0.0", "rdf-lens": "^1.3.0", "rdf-stores": "^1.0.0", "winston": "^3.17.0"