@graphy/content.nq.read
Advanced tools
Comparing version 4.0.3 to 4.0.4
@@ -297,3 +297,3 @@ | ||
create_named_node(p_iri) { | ||
if(!rt_named_node_valid.test(p_iri)) return this.error(`invalid IRI: "${p_iri}"`); | ||
if(!rt_named_node_valid.test(p_iri)) return k_self._error(`invalid IRI: "${p_iri}"`); | ||
return namedNode(p_iri); | ||
@@ -303,3 +303,3 @@ }, | ||
create_named_node_escapeless(p_iri) { | ||
if(!rt_named_node_valid_escapeless.test(p_iri)) return this.error(`invalid IRI: "${p_iri}"`); | ||
if(!rt_named_node_valid_escapeless.test(p_iri)) return k_self._error(`invalid IRI: "${p_iri}"`); | ||
return namedNode(p_iri); | ||
@@ -1279,2 +1279,7 @@ }, | ||
} | ||
// whatwg stream | ||
else if('function' === typeof z_arg_0.pipeTo) { | ||
throw new TypeError(`Sorry, WHATWG streams are currently not supported :(`); | ||
// g_config.input = {stream:z_arg_0}; | ||
} | ||
// config struct | ||
@@ -1281,0 +1286,0 @@ else if(z_arg_0 && 'object' === typeof z_arg_0 && '[object Object]' === Object.prototype.toString.call(z_arg_0)) { |
{ | ||
"name": "@graphy/content.nq.read", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "Single-threaded RDF N-Quads content reader", | ||
@@ -26,4 +26,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@graphy/core.data.factory": "^4.0.3", | ||
"@graphy/core.iso.stream": "^4.0.3" | ||
"@graphy/core.data.factory": "^4.0.4", | ||
"@graphy/core.iso.stream": "^4.0.4" | ||
}, | ||
@@ -30,0 +30,0 @@ "engines": { |
35901
1094