diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-08-11 17:12:35 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-11 11:42:35 +0000 |
commit | 2f00b0add476bb151bc3a713da165296906cfc2a (patch) | |
tree | ba43cae2dd787b8e0f0aae102210ecfb65aa2f90 /ext/node/polyfills/_zlib_binding.mjs | |
parent | 65db8814c31464f2bc2a04dd5ffbaa71361c9f80 (diff) |
fix(ext/node): support dictionary option in zlib init (#20035)
Fixes https://github.com/denoland/deno/issues/19540
Diffstat (limited to 'ext/node/polyfills/_zlib_binding.mjs')
-rw-r--r-- | ext/node/polyfills/_zlib_binding.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/_zlib_binding.mjs b/ext/node/polyfills/_zlib_binding.mjs index a04e7fed7..0b155cfd5 100644 --- a/ext/node/polyfills/_zlib_binding.mjs +++ b/ext/node/polyfills/_zlib_binding.mjs @@ -149,7 +149,7 @@ class Zlib { windowBits, memLevel, strategy, - dictionary, + dictionary ?? new Uint8Array(0), ); if (err != Z_OK) { |