Comparing version 0.9.34 to 0.9.35
{ | ||
"name": "aurumjs", | ||
"version": "0.9.34", | ||
"version": "0.9.35", | ||
"main": "prebuilt/esnext/aurumjs.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -76,3 +76,3 @@ import { DataSource } from '../stream/data_source.js'; | ||
let buffer = ''; | ||
for await (const chunk of readableStreamBinaryIterator(reader, onDone)) { | ||
for await (const chunk of readableStreamBinaryIterator(reader)) { | ||
buffer += decoder.decode(chunk, { stream: true }); | ||
@@ -88,2 +88,3 @@ const parts = buffer.split(itemSeperatorSequence); | ||
} | ||
onDone?.(); | ||
} | ||
@@ -90,0 +91,0 @@ export async function* readableStreamBinaryIterator(reader, onDone) { |
@@ -105,3 +105,3 @@ import { DataSource } from '../stream/data_source.js'; | ||
let buffer: string = ''; | ||
for await (const chunk of readableStreamBinaryIterator(reader, onDone)) { | ||
for await (const chunk of readableStreamBinaryIterator(reader)) { | ||
buffer += decoder.decode(chunk, { stream: true }); | ||
@@ -118,2 +118,4 @@ const parts = buffer.split(itemSeperatorSequence); | ||
} | ||
onDone?.(); | ||
} | ||
@@ -120,0 +122,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1956584
26545