summaryrefslogtreecommitdiff
path: root/runtime/js/90_deno_ns.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 /runtime/js/90_deno_ns.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 'runtime/js/90_deno_ns.js')
-rw-r--r--runtime/js/90_deno_ns.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index 98cc9f14d..9f403e901 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -1,11 +1,11 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { core, internals } from "ext:core/mod.js";
-const {
+import {
op_net_listen_udp,
op_net_listen_unixpacket,
op_runtime_memory_usage,
-} = core.ensureFastOps();
+} from "ext:core/ops";
import * as timers from "ext:deno_web/02_timers.js";
import * as httpClient from "ext:deno_fetch/22_http_client.js";