summaryrefslogtreecommitdiff
path: root/ext/fetch/22_http_client.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/fetch/22_http_client.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/fetch/22_http_client.js')
-rw-r--r--ext/fetch/22_http_client.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/fetch/22_http_client.js b/ext/fetch/22_http_client.js
index b6945e674..bd838e663 100644
--- a/ext/fetch/22_http_client.js
+++ b/ext/fetch/22_http_client.js
@@ -13,9 +13,7 @@
import { core } from "ext:core/mod.js";
import { SymbolDispose } from "ext:deno_web/00_infra.js";
-const {
- op_fetch_custom_client,
-} = core.ensureFastOps();
+import { op_fetch_custom_client } from "ext:core/ops";
/**
* @param {Deno.CreateHttpClientOptions} options