summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_zlib_binding.mjs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-29 14:58:08 +0100
committerGitHub <noreply@github.com>2024-01-29 14:58:08 +0100
commit909986fa6ed3404e76590438b387391a6c213e46 (patch)
tree30eec861847dccadd83fcc65b91dc44c96af6d9e /ext/node/polyfills/_zlib_binding.mjs
parentaed5e4997df26c99a186fb9a5b18da3bbc594ed3 (diff)
refactor: migrate 'ext/node' extension to virtual ops module (#22157)
Follow up to https://github.com/denoland/deno/pull/22135
Diffstat (limited to 'ext/node/polyfills/_zlib_binding.mjs')
-rw-r--r--ext/node/polyfills/_zlib_binding.mjs5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/node/polyfills/_zlib_binding.mjs b/ext/node/polyfills/_zlib_binding.mjs
index f5e7a1218..729af9b35 100644
--- a/ext/node/polyfills/_zlib_binding.mjs
+++ b/ext/node/polyfills/_zlib_binding.mjs
@@ -43,8 +43,7 @@ export const DEFLATERAW = 5;
export const INFLATERAW = 6;
export const UNZIP = 7;
-import { core } from "ext:core/mod.js";
-const {
+import {
op_zlib_close,
op_zlib_close_if_pending,
op_zlib_init,
@@ -52,7 +51,7 @@ const {
op_zlib_reset,
op_zlib_write,
op_zlib_write_async,
-} = core.ensureFastOps();
+} from "ext:core/ops";
const writeResult = new Uint32Array(2);