@comunica/actor-rdf-parse-html-script
Advanced tools
Comparing version 1.14.0 to 1.15.0
@@ -15,3 +15,3 @@ import { IActionHandleRdfParse, IActorOutputHandleRdfParse, IActorTestHandleRdfParse } from '@comunica/bus-rdf-parse'; | ||
private readonly supportedTypes; | ||
private readonly context?; | ||
private readonly context; | ||
private baseIRI; | ||
@@ -18,0 +18,0 @@ private readonly headers?; |
@@ -5,2 +5,3 @@ "use strict"; | ||
const stream_1 = require("stream"); | ||
const core_1 = require("@comunica/core"); | ||
const relative_to_absolute_iri_1 = require("relative-to-absolute-iri"); | ||
@@ -23,3 +24,4 @@ /** | ||
this.supportedTypes = supportedTypes; | ||
this.context = context; | ||
this.context = (context || core_1.ActionContext({})) | ||
.set('@comunica/actor-rdf-parse-html-script:processing-html-script', true); | ||
this.baseIRI = baseIRI; | ||
@@ -95,3 +97,6 @@ this.headers = headers; | ||
}) | ||
.catch(this.cbError); | ||
.catch(() => { | ||
// Ignore script tags that we don't understand | ||
this.onEnd(); | ||
}); | ||
// Reset the media type and text stream | ||
@@ -98,0 +103,0 @@ this.handleMediaType = undefined; |
{ | ||
"name": "@comunica/actor-rdf-parse-html-script", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"description": "A html-script rdf-parse actor", | ||
@@ -46,4 +46,4 @@ "lsd:module": "https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-rdf-parse-html-script", | ||
"devDependencies": { | ||
"@comunica/bus-rdf-parse": "^1.14.0", | ||
"@comunica/core": "^1.14.0" | ||
"@comunica/bus-rdf-parse": "^1.15.0", | ||
"@comunica/core": "^1.15.0" | ||
}, | ||
@@ -72,3 +72,3 @@ "jest": { | ||
}, | ||
"gitHead": "6517367d95ef072468bfc0d88cf3a27f6d25a145" | ||
"gitHead": "d71011b99f9fb5d125822fd42e75db6868ef4a64" | ||
} |
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
18398
264