@comunica/actor-rdf-parse-jsonld
Advanced tools
Comparing version 1.13.0 to 1.14.0
15
index.js
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./lib/ActorRdfParseJsonLd")); | ||
__exportStar(require("./lib/ActorRdfParseJsonLd"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,4 +0,4 @@ | ||
import { IActionHttp, IActorHttpOutput } from "@comunica/bus-http"; | ||
import { ActorRdfParseFixedMediaTypes, IActionRdfParse, IActorRdfParseFixedMediaTypesArgs, IActorRdfParseOutput } from "@comunica/bus-rdf-parse"; | ||
import { ActionContext, Actor, IActorTest, Mediator } from "@comunica/core"; | ||
import { IActionHttp, IActorHttpOutput } from '@comunica/bus-http'; | ||
import { ActorRdfParseFixedMediaTypes, IActionRdfParse, IActorRdfParseFixedMediaTypesArgs, IActorRdfParseOutput } from '@comunica/bus-rdf-parse'; | ||
import { ActionContext, Actor, IActorTest, Mediator } from '@comunica/core'; | ||
/** | ||
@@ -5,0 +5,0 @@ * A JSON-LD RDF Parse actor that listens on the 'rdf-parse' bus. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ActorRdfParseJsonLd = void 0; | ||
const bus_rdf_parse_1 = require("@comunica/bus-rdf-parse"); | ||
@@ -17,3 +18,3 @@ const jsonld_streaming_parser_1 = require("jsonld-streaming-parser"); | ||
if (!(mediaType in this.mediaTypes) && !mediaType.endsWith('+json')) { | ||
throw new Error('Unrecognized media type: ' + mediaType); | ||
throw new Error(`Unrecognized media type: ${mediaType}`); | ||
} | ||
@@ -20,0 +21,0 @@ return await this.testHandleChecked(action); |
@@ -1,4 +0,4 @@ | ||
import { IActionHttp, IActorHttpOutput } from "@comunica/bus-http"; | ||
import { ActionContext, Actor, IActorTest, Mediator } from "@comunica/core"; | ||
import { FetchDocumentLoader } from "jsonld-context-parser"; | ||
import { IActionHttp, IActorHttpOutput } from '@comunica/bus-http'; | ||
import { ActionContext, Actor, IActorTest, Mediator } from '@comunica/core'; | ||
import { FetchDocumentLoader } from 'jsonld-context-parser'; | ||
/** | ||
@@ -5,0 +5,0 @@ * A JSON-LD document loader that fetches over an HTTP bus using a given mediator. |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DocumentLoaderMediated = void 0; | ||
const bus_http_1 = require("@comunica/bus-http"); | ||
@@ -4,0 +5,0 @@ const jsonld_context_parser_1 = require("jsonld-context-parser"); |
{ | ||
"name": "@comunica/actor-rdf-parse-jsonld", | ||
"version": "1.13.0", | ||
"version": "1.14.0", | ||
"description": "A JSON-LD RDF Parse actor", | ||
@@ -41,7 +41,8 @@ "lsd:module": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-jsonld", | ||
"devDependencies": { | ||
"@comunica/bus-http": "^1.13.0", | ||
"@comunica/bus-rdf-parse": "^1.13.0", | ||
"@comunica/core": "^1.13.0" | ||
"@comunica/bus-http": "^1.14.0", | ||
"@comunica/bus-rdf-parse": "^1.14.0", | ||
"@comunica/core": "^1.14.0" | ||
}, | ||
"dependencies": { | ||
"@types/rdf-js": "^3.0.0", | ||
"jsonld-streaming-parser": "^2.0.2", | ||
@@ -53,3 +54,3 @@ "stream-to-string": "^1.2.0" | ||
"ts-jest": { | ||
"tsConfig": "test/tsconfig.json" | ||
"tsConfig": "../../tsconfig.json" | ||
} | ||
@@ -70,7 +71,6 @@ }, | ||
"test-watch": "node \"../../node_modules/jest/bin/jest.js\" ${1} --watch", | ||
"lint": "node \"../../node_modules/tslint/bin/tslint\" lib/**/*.ts test/**/*.ts --exclude '**/*.d.ts'", | ||
"build": "node \"../../node_modules/typescript/bin/tsc\"", | ||
"validate": "npm ls" | ||
}, | ||
"gitHead": "cd8df73fe091e3d7413147ec5301b47be2de392a" | ||
"gitHead": "6517367d95ef072468bfc0d88cf3a27f6d25a145" | ||
} |
11567
97
6
+ Added@types/rdf-js@^3.0.0
+ Added@types/rdf-js@3.0.3(transitive)