@comunica/actor-rdf-parse-xml-rdfa
Advanced tools
Comparing version 3.2.1 to 3.2.4-alpha.47.0
@@ -5,2 +5,3 @@ "use strict"; | ||
const bus_rdf_parse_1 = require("@comunica/bus-rdf-parse"); | ||
const context_entries_1 = require("@comunica/context-entries"); | ||
const rdfa_streaming_parser_1 = require("rdfa-streaming-parser"); | ||
@@ -28,5 +29,7 @@ /** | ||
async runHandle(action, _mediaType, _context) { | ||
const dataFactory = action.context.getSafe(context_entries_1.KeysInitQuery.dataFactory); | ||
const language = (action.headers && action.headers.get('content-language')) ?? undefined; | ||
action.data.on('error', error => data.emit('error', error)); | ||
const data = action.data.pipe(new rdfa_streaming_parser_1.RdfaParser({ | ||
dataFactory, | ||
baseIRI: action.metadata?.baseIRI, | ||
@@ -33,0 +36,0 @@ profile: 'xml', |
{ | ||
"name": "@comunica/actor-rdf-parse-xml-rdfa", | ||
"version": "3.2.1", | ||
"version": "3.2.4-alpha.47.0", | ||
"description": "A xml-rdfa rdf-parse actor", | ||
"lsd:module": true, | ||
"license": "MIT", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/comunica-association" | ||
}, | ||
"homepage": "https://comunica.dev/", | ||
@@ -40,7 +44,8 @@ "repository": { | ||
"dependencies": { | ||
"@comunica/bus-rdf-parse": "^3.2.1", | ||
"@comunica/types": "^3.2.1", | ||
"@comunica/bus-rdf-parse": "3.2.4-alpha.47.0", | ||
"@comunica/context-entries": "3.2.4-alpha.47.0", | ||
"@comunica/types": "3.2.4-alpha.47.0", | ||
"rdfa-streaming-parser": "^2.0.1" | ||
}, | ||
"gitHead": "f558377c3cefbd1606c51ede80440b862e7dda4f" | ||
"gitHead": "85bd4c5cf07dfc293ebbc3a1416b70e2db8bfc48" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
23860
81
4
1
+ Added@comunica/actor-abstract-mediatyped@3.2.4-alpha.47.0(transitive)
+ Added@comunica/actor-abstract-parse@3.2.4-alpha.47.0(transitive)
+ Added@comunica/bus-rdf-parse@3.2.4-alpha.47.0(transitive)
+ Added@comunica/context-entries@3.2.4-alpha.47.0(transitive)
+ Added@comunica/core@3.2.4-alpha.47.0(transitive)
+ Added@comunica/types@3.2.4-alpha.47.0(transitive)
+ Added@types/http-link-header@1.0.7(transitive)
+ Added@types/node@18.19.64(transitive)
+ Addedcross-fetch@3.1.8(transitive)
+ Addedhttp-link-header@1.1.3(transitive)
+ Addedjsonld-context-parser@2.4.0(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedundici-types@5.26.5(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
- Removed@comunica/actor-abstract-mediatyped@3.3.0(transitive)
- Removed@comunica/actor-abstract-parse@3.3.0(transitive)
- Removed@comunica/bus-rdf-parse@3.3.0(transitive)
- Removed@comunica/core@3.3.0(transitive)
- Removed@comunica/types@3.3.0(transitive)