@comunica/actor-rdf-parse-shaclc
Advanced tools
Comparing version 3.0.1-alpha.45.0 to 3.0.1-alpha.46.0
@@ -20,3 +20,3 @@ import type { IActionRdfParse, IActorRdfParseFixedMediaTypesArgs, IActorRdfParseOutput } from '@comunica/bus-rdf-parse'; | ||
constructor(args: IActorRdfParseFixedMediaTypesArgs); | ||
runHandle(action: IActionRdfParse, mediaType: string, context: IActionContext): Promise<IActorRdfParseOutput>; | ||
runHandle(action: IActionRdfParse, mediaType: string, _context: IActionContext): Promise<IActorRdfParseOutput>; | ||
} |
@@ -27,5 +27,6 @@ "use strict"; | ||
} | ||
async runHandle(action, mediaType, context) { | ||
async runHandle(action, mediaType, _context) { | ||
const prefixIterator = new PrefixWrappingIterator_1.PrefixWrappingIterator(streamToString(action.data).then(str => (0, shaclc_parse_1.parse)(str, { | ||
extendedSyntax: mediaType === 'text/shaclc-ext', baseIRI: action.metadata?.baseIRI, | ||
extendedSyntax: mediaType === 'text/shaclc-ext', | ||
baseIRI: action.metadata?.baseIRI, | ||
}))); | ||
@@ -32,0 +33,0 @@ const readable = new readable_stream_1.Readable({ objectMode: true }); |
@@ -10,3 +10,3 @@ "use strict"; | ||
constructor(source) { | ||
super(source?.then(src => { | ||
super(source?.then((src) => { | ||
this.prefixes = src.prefixes; | ||
@@ -13,0 +13,0 @@ return src; |
{ | ||
"name": "@comunica/actor-rdf-parse-shaclc", | ||
"version": "3.0.1-alpha.45.0", | ||
"version": "3.0.1-alpha.46.0", | ||
"description": "A shaclc rdf-parse actor", | ||
"lsd:module": true, | ||
"main": "lib/index.js", | ||
"typings": "lib/index", | ||
"license": "MIT", | ||
"homepage": "https://comunica.dev/", | ||
"repository": { | ||
@@ -13,6 +13,5 @@ "type": "git", | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
"bugs": { | ||
"url": "https://github.com/comunica/comunica/issues" | ||
}, | ||
"sideEffects": false, | ||
"keywords": [ | ||
@@ -24,7 +23,8 @@ "comunica", | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/comunica/comunica/issues" | ||
"sideEffects": false, | ||
"main": "lib/index.js", | ||
"typings": "lib/index", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"homepage": "https://comunica.dev/", | ||
"files": [ | ||
@@ -36,5 +36,10 @@ "components", | ||
], | ||
"scripts": { | ||
"build": "npm run build:ts && npm run build:components", | ||
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"", | ||
"build:components": "componentsjs-generator" | ||
}, | ||
"dependencies": { | ||
"@comunica/bus-rdf-parse": "3.0.1-alpha.45.0", | ||
"@comunica/types": "3.0.1-alpha.45.0", | ||
"@comunica/bus-rdf-parse": "3.0.1-alpha.46.0", | ||
"@comunica/types": "3.0.1-alpha.46.0", | ||
"@rdfjs/types": "*", | ||
@@ -46,8 +51,3 @@ "asynciterator": "^3.8.1", | ||
}, | ||
"scripts": { | ||
"build": "npm run build:ts && npm run build:components", | ||
"build:ts": "node \"../../node_modules/typescript/bin/tsc\"", | ||
"build:components": "componentsjs-generator" | ||
}, | ||
"gitHead": "b5a3900c24e29fa7b3243ab50bc9745d286fbce8" | ||
"gitHead": "c115712ec55d79c83712e7046a387d5e3a177023" | ||
} |
@@ -25,3 +25,3 @@ # Comunica SHACL Compact Syntax RDF Parse Actor | ||
... | ||
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-shaclc/^3.0.0/components/context.jsonld" | ||
"https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-shaclc/^3.0.0/components/context.jsonld" | ||
], | ||
@@ -28,0 +28,0 @@ "actors": [ |
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
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
24029
117
+ Added@comunica/actor-abstract-mediatyped@3.0.1-alpha.46.0(transitive)
+ Added@comunica/actor-abstract-parse@3.0.1-alpha.46.0(transitive)
+ Added@comunica/bus-rdf-parse@3.0.1-alpha.46.0(transitive)
+ Added@comunica/core@3.0.1-alpha.46.0(transitive)
+ Added@comunica/types@3.0.1-alpha.46.0(transitive)
- Removed@comunica/actor-abstract-mediatyped@3.0.1-alpha.45.0(transitive)
- Removed@comunica/actor-abstract-parse@3.0.1-alpha.45.0(transitive)
- Removed@comunica/bus-rdf-parse@3.0.1-alpha.45.0(transitive)
- Removed@comunica/core@3.0.1-alpha.45.0(transitive)
- Removed@comunica/types@3.0.1-alpha.45.0(transitive)