summaryrefslogtreecommitdiff
path: root/ext/web/14_compression.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-26 23:46:46 +0100
committerGitHub <noreply@github.com>2024-01-26 23:46:46 +0100
commit462ce14a78b4109143918878042b9f552083c82e (patch)
tree64c65d91557159efccb40117e340e7abbb08d75d /ext/web/14_compression.js
parentd889f996577a6345d08c4ce71063be6d765fb5ec (diff)
refactor: migrate extensions to virtual ops module (#22135)
First pass of migrating away from `Deno.core.ensureFastOps()`. A few "tricky" ones have been left for a follow up.
Diffstat (limited to 'ext/web/14_compression.js')
-rw-r--r--ext/web/14_compression.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/web/14_compression.js b/ext/web/14_compression.js
index 411fa8c84..1ec9e5462 100644
--- a/ext/web/14_compression.js
+++ b/ext/web/14_compression.js
@@ -5,12 +5,12 @@
/// <reference path="./internal.d.ts" />
/// <reference path="./lib.deno_web.d.ts" />
-import { core, primordials } from "ext:core/mod.js";
-const {
+import { primordials } from "ext:core/mod.js";
+import {
op_compression_finish,
op_compression_new,
op_compression_write,
-} = core.ensureFastOps();
+} from "ext:core/ops";
const {
SymbolFor,
ObjectPrototypeIsPrototypeOf,