Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@comunica/actor-rdf-parse-jsonld

Package Overview
Dependencies
Maintainers
5
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/actor-rdf-parse-jsonld - npm Package Compare versions

Comparing version 2.8.2 to 2.10.0

2

lib/ActorRdfParseJsonLd.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc