rdf-object
Advanced tools
Comparing version 1.11.0 to 1.11.1
@@ -137,3 +137,3 @@ "use strict"; | ||
// Wait until stream has been handled completely | ||
await new Promise((resolve, reject) => { | ||
const streamPromise = new Promise((resolve, reject) => { | ||
stream.on('data', (quad) => { | ||
@@ -160,4 +160,4 @@ const subject = this.getOrMakeResource(quad.subject); | ||
}); | ||
// Catches errors from list materialization | ||
await listMaterializerPromise; | ||
// Catches errors from stream and list materialization | ||
await Promise.all([streamPromise, listMaterializerPromise]); | ||
if (this.contextError) { | ||
@@ -164,0 +164,0 @@ throw this.contextError; |
{ | ||
"name": "rdf-object", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"description": "Loads RDF as JSON objects", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
41376