From 38002ffdd7e602e666e48d39fc84f7093fad9dff Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 13 Dec 2023 22:28:56 +0530 Subject: fix(zlib): handle no flush flag in handle_.write (#21432) Fixes https://github.com/denoland/deno/issues/21096 --- ext/node/polyfills/_zlib_binding.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/node') diff --git a/ext/node/polyfills/_zlib_binding.mjs b/ext/node/polyfills/_zlib_binding.mjs index 0b155cfd5..30bd1400a 100644 --- a/ext/node/polyfills/_zlib_binding.mjs +++ b/ext/node/polyfills/_zlib_binding.mjs @@ -120,7 +120,7 @@ class Zlib { core.opAsync( "op_zlib_write_async", this.#handle, - flush, + flush ?? Z_NO_FLUSH, input, in_off, in_len, -- cgit v1.2.3