mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 13:22:07 +00:00
Fix truncating in BigIntStats (#12643)
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
@@ -5720,7 +5720,7 @@ function createNativeStreamReadable(Readable) {
|
||||
ProcessNextTick(() => {
|
||||
this.push(null);
|
||||
});
|
||||
return view?.byteLength ?? 0 > 0 ? view : undefined;
|
||||
return (view?.byteLength ?? 0 > 0) ? view : undefined;
|
||||
} else if ($isTypedArrayView(result)) {
|
||||
if (result.byteLength >= this[highWaterMark] && !this[hasResized] && !isClosed) {
|
||||
this[_adjustHighWaterMark]();
|
||||
|
||||
Reference in New Issue
Block a user