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

@comunica/actor-rdf-parse-xml-rdfa

Package Overview
Dependencies
Maintainers
3
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/actor-rdf-parse-xml-rdfa - npm Package Compare versions

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/ActorRdfParseXmlRdfa"));
__exportStar(require("./lib/ActorRdfParseXmlRdfa"), exports);
//# sourceMappingURL=index.js.map

@@ -1,3 +0,3 @@

import { ActorRdfParseFixedMediaTypes, IActionRdfParse, IActorRdfParseFixedMediaTypesArgs, IActorRdfParseOutput } from "@comunica/bus-rdf-parse";
import { ActionContext } from "@comunica/core";
import { ActorRdfParseFixedMediaTypes, IActionRdfParse, IActorRdfParseFixedMediaTypesArgs, IActorRdfParseOutput } from '@comunica/bus-rdf-parse';
import { ActionContext } from '@comunica/core';
/**

@@ -4,0 +4,0 @@ * A comunica XML RDFa RDF Parse Actor.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActorRdfParseXmlRdfa = void 0;
const bus_rdf_parse_1 = require("@comunica/bus-rdf-parse");

@@ -13,4 +14,5 @@ const rdfa_streaming_parser_1 = require("rdfa-streaming-parser");

async runHandle(action, mediaType, context) {
const language = action.headers && action.headers.get('content-language') || undefined;
action.input.on('error', (e) => quads.emit('error', e));
var _a;
const language = (_a = (action.headers && action.headers.get('content-language'))) !== null && _a !== void 0 ? _a : undefined;
action.input.on('error', error => quads.emit('error', error));
const quads = action.input.pipe(new rdfa_streaming_parser_1.RdfaParser({ baseIRI: action.baseIRI, profile: 'xml', language }));

@@ -17,0 +19,0 @@ return { quads, triples: true };

{
"name": "@comunica/actor-rdf-parse-xml-rdfa",
"version": "1.13.0",
"version": "1.14.0",
"description": "A xml-rdfa rdf-parse actor",

@@ -45,4 +45,4 @@ "lsd:module": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-xml-rdfa",

"devDependencies": {
"@comunica/bus-rdf-parse": "^1.13.0",
"@comunica/core": "^1.13.0"
"@comunica/bus-rdf-parse": "^1.14.0",
"@comunica/core": "^1.14.0"
},

@@ -52,3 +52,3 @@ "jest": {

"ts-jest": {
"tsConfig": "test/tsconfig.json"
"tsConfig": "../../tsconfig.json"
}

@@ -69,7 +69,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"
}
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