summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/http.ts
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/http.ts
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/http.ts')
-rw-r--r--ext/node/polyfills/http.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/node/polyfills/http.ts b/ext/node/polyfills/http.ts
index 92368b74f..d3d51a324 100644
--- a/ext/node/polyfills/http.ts
+++ b/ext/node/polyfills/http.ts
@@ -4,10 +4,7 @@
// deno-lint-ignore-file prefer-primordials
import { core } from "ext:core/mod.js";
-const {
- op_fetch_response_upgrade,
- op_node_http_request,
-} = core.ensureFastOps();
+import { op_fetch_response_upgrade, op_node_http_request } from "ext:core/ops";
// TODO(bartlomieju): this ops is also used in `ext/fetch/26_fetch.js`.
const {
op_fetch_send,