@comunica/actor-rdf-parse-jsonld
Advanced tools
Comparing version 2.8.2 to 2.10.0
@@ -25,3 +25,3 @@ import type { MediatorHttp } from '@comunica/bus-http'; | ||
constructor(args: IActorRdfParseJsonLdArgs); | ||
testHandle(action: IActionRdfParse, mediaType: string, context: IActionContext): Promise<IActorTest>; | ||
testHandle(action: IActionRdfParse, mediaType: string | undefined, context: IActionContext): Promise<IActorTest>; | ||
runHandle(action: IActionRdfParse, mediaType: string, actionContext: IActionContext): Promise<IActorRdfParseOutput>; | ||
@@ -28,0 +28,0 @@ } |
@@ -32,3 +32,3 @@ "use strict"; | ||
} | ||
if (!(mediaType in this.mediaTypePriorities) && !mediaType.endsWith('+json')) { | ||
if (!mediaType || !(mediaType in this.mediaTypePriorities || mediaType.endsWith('+json'))) { | ||
throw new Error(`Unrecognized media type: ${mediaType}`); | ||
@@ -35,0 +35,0 @@ } |
@@ -6,2 +6,3 @@ "use strict"; | ||
const jsonld_context_parser_1 = require("jsonld-context-parser"); | ||
// Use require instead of import for default exports, to be compatible with variants of esModuleInterop in tsconfig. | ||
const stringifyStream = require("stream-to-string"); | ||
@@ -8,0 +9,0 @@ /** |
{ | ||
"name": "@comunica/actor-rdf-parse-jsonld", | ||
"version": "2.8.2", | ||
"version": "2.10.0", | ||
"description": "A JSON-LD RDF Parse actor", | ||
@@ -33,7 +33,7 @@ "lsd:module": true, | ||
"dependencies": { | ||
"@comunica/bus-http": "^2.8.2", | ||
"@comunica/bus-rdf-parse": "^2.8.2", | ||
"@comunica/context-entries": "^2.8.2", | ||
"@comunica/core": "^2.8.2", | ||
"@comunica/types": "^2.8.2", | ||
"@comunica/bus-http": "^2.10.0", | ||
"@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", | ||
@@ -48,3 +48,3 @@ "jsonld-streaming-parser": "^3.0.1", | ||
}, | ||
"gitHead": "293cf4edac83099ee3146a68161bea6b77edf300" | ||
"gitHead": "4d8603ca7e7606ca8eaef305e8753b3f91668f4e" | ||
} |
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
33985
138
+ Added@types/node@18.19.6522.9.3(transitive)
- Removed@types/node@18.19.6422.9.2(transitive)
Updated@comunica/bus-http@^2.10.0
Updated@comunica/core@^2.10.0
Updated@comunica/types@^2.10.0