@comunica/actor-dereference-rdf-parse 4.1.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ActorDereferenceRdfParse.jsonld +0 -0
- package/components/components.jsonld +0 -0
- package/components/context.jsonld +0 -0
- package/lib/ActorDereferenceRdfParse.d.ts +0 -0
- package/lib/ActorDereferenceRdfParse.js +1 -1
- package/lib/ActorDereferenceRdfParse.js.map +1 -1
- package/lib/index.d.ts +0 -0
- package/lib/index.js +0 -0
- package/lib/index.js.map +0 -0
- package/package.json +5 -5
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -38,7 +38,7 @@ class ActorDereferenceRdfParse extends bus_dereference_rdf_1.ActorDereferenceRdf
|
|
|
38
38
|
super(args);
|
|
39
39
|
}
|
|
40
40
|
async getMetadata(dereference) {
|
|
41
|
-
return { baseIRI: dereference.url };
|
|
41
|
+
return { baseIRI: dereference.baseIRI ?? dereference.url };
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
exports.ActorDereferenceRdfParse = ActorDereferenceRdfParse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActorDereferenceRdfParse.js","sourceRoot":"","sources":["ActorDereferenceRdfParse.ts"],"names":[],"mappings":";;;AAEA,uEAAoE;AAGpE;;GAEG;AACH,MAAa,wBAAyB,SAAQ,yCAAmB;IAC/D;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,YAAmB,IAA8B;QAC/C,KAAK,CAAC,IAAI,CAAC,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,WAAW,CAAC,WAAoC;QAC3D,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"ActorDereferenceRdfParse.js","sourceRoot":"","sources":["ActorDereferenceRdfParse.ts"],"names":[],"mappings":";;;AAEA,uEAAoE;AAGpE;;GAEG;AACH,MAAa,wBAAyB,SAAQ,yCAAmB;IAC/D;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,YAAmB,IAA8B;QAC/C,KAAK,CAAC,IAAI,CAAC,CAAC;IACd,CAAC;IAEM,KAAK,CAAC,WAAW,CAAC,WAAoC;QAC3D,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC,OAAO,IAAI,WAAW,CAAC,GAAG,EAAE,CAAC;IAC7D,CAAC;CACF;AApCD,4DAoCC","sourcesContent":["import type { IActorDereferenceOutput } from '@comunica/bus-dereference';\nimport type { IActorDereferenceRdfArgs } from '@comunica/bus-dereference-rdf';\nimport { ActorDereferenceRdf } from '@comunica/bus-dereference-rdf';\nimport type { IActionRdfParseMetadata } from '@comunica/bus-rdf-parse';\n\n/**\n * A comunica Parse Dereference RDF Actor.\n */\nexport class ActorDereferenceRdfParse extends ActorDereferenceRdf {\n /**\n * @param args - @defaultNested {{\n * \"ttl\": \"text/turtle\",\n * \"turtle\": \"text/turtle\",\n * \"shaclc\": \"text/shaclc\",\n * \"shc\": \"text/shaclc\",\n * \"shaclce\": \"text/shaclc-ext\",\n * \"shce\": \"text/shaclc-ext\",\n * \"nt\": \"application/n-triples\",\n * \"ntriples\": \"application/n-triples\",\n * \"nq\": \"application/n-quads\",\n * \"nquads\": \"application/n-quads\",\n * \"rdf\": \"application/rdf+xml\",\n * \"rdfxml\": \"application/rdf+xml\",\n * \"owl\": \"application/rdf+xml\",\n * \"n3\": \"text/n3\",\n * \"trig\": \"application/trig\",\n * \"jsonld\": \"application/ld+json\",\n * \"json\": \"application/json\",\n * \"html\": \"text/html\",\n * \"htm\": \"text/html\",\n * \"xhtml\": \"application/xhtml+xml\",\n * \"xht\": \"application/xhtml+xml\",\n * \"xml\": \"application/xml\",\n * \"svg\": \"image/svg+xml\",\n * \"svgz\": \"image/svg+xml\"\n * }} mediaMappings\n */\n public constructor(args: IActorDereferenceRdfArgs) {\n super(args);\n }\n\n public async getMetadata(dereference: IActorDereferenceOutput): Promise<IActionRdfParseMetadata> {\n return { baseIRI: dereference.baseIRI ?? dereference.url };\n }\n}\n\nexport interface IActorDereferenceRdfParseArgs extends IActorDereferenceRdfArgs {\n\n}\n"]}
|
package/lib/index.d.ts
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
package/lib/index.js.map
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comunica/actor-dereference-rdf-parse",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.4.0",
|
|
4
4
|
"description": "A parse dereference-rdf actor",
|
|
5
5
|
"lsd:module": true,
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"build:components": "componentsjs-generator"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@comunica/bus-dereference": "^4.
|
|
46
|
-
"@comunica/bus-dereference-rdf": "^4.
|
|
47
|
-
"@comunica/bus-rdf-parse": "^4.
|
|
45
|
+
"@comunica/bus-dereference": "^4.4.0",
|
|
46
|
+
"@comunica/bus-dereference-rdf": "^4.4.0",
|
|
47
|
+
"@comunica/bus-rdf-parse": "^4.4.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "27acde56dfe0c1ff1162c1f46818ad752296ca88"
|
|
50
50
|
}
|