diff options
Diffstat (limited to 'ext/net')
-rw-r--r-- | ext/net/01_net.js | 4 | ||||
-rw-r--r-- | ext/net/02_tls.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/net/01_net.js b/ext/net/01_net.js index 9b13fcf26..29b9d29fc 100644 --- a/ext/net/01_net.js +++ b/ext/net/01_net.js @@ -6,7 +6,7 @@ const { InterruptedPrototype, internalRidSymbol, } = core; -const { +import { op_dns_resolve, op_net_accept_tcp, op_net_accept_unix, @@ -26,7 +26,7 @@ const { op_net_set_multi_ttl_udp, op_set_keepalive, op_set_nodelay, -} = core.ensureFastOps(); +} from "ext:core/ops"; const { op_cancel_handle, } = core.ensureFastOps(true); diff --git a/ext/net/02_tls.js b/ext/net/02_tls.js index f670f0360..658e616ab 100644 --- a/ext/net/02_tls.js +++ b/ext/net/02_tls.js @@ -2,13 +2,13 @@ import { core, internals, primordials } from "ext:core/mod.js"; const { internalRidSymbol } = core; -const { +import { op_net_accept_tls, op_net_connect_tls, op_net_listen_tls, op_tls_handshake, op_tls_start, -} = core.ensureFastOps(); +} from "ext:core/ops"; const { Number, ObjectDefineProperty, |