diff options
Diffstat (limited to 'ext/fetch')
| -rw-r--r-- | ext/fetch/22_http_client.js | 4 | ||||
| -rw-r--r-- | ext/fetch/26_fetch.js | 4 | ||||
| -rw-r--r-- | ext/fetch/27_eventsource.js | 6 |
3 files changed, 5 insertions, 9 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 diff --git a/ext/fetch/26_fetch.js b/ext/fetch/26_fetch.js index 7d9918e23..baad62731 100644 --- a/ext/fetch/26_fetch.js +++ b/ext/fetch/26_fetch.js @@ -11,11 +11,11 @@ /// <reference lib="esnext" /> import { core, primordials } from "ext:core/mod.js"; -const { +import { op_fetch, op_wasm_streaming_feed, op_wasm_streaming_set_url, -} = core.ensureFastOps(); +} from "ext:core/ops"; // TODO(bartlomieju): this ops is also used in `ext/node/polyfills/http.ts`. const { op_fetch_send, diff --git a/ext/fetch/27_eventsource.js b/ext/fetch/27_eventsource.js index 2e82fbc7f..b0f3004dc 100644 --- a/ext/fetch/27_eventsource.js +++ b/ext/fetch/27_eventsource.js @@ -2,10 +2,8 @@ /// <reference path="../../core/internal.d.ts" /> -import { core, primordials } from "ext:core/mod.js"; -const { - op_utf8_to_byte_string, -} = core.ensureFastOps(); +import { primordials } from "ext:core/mod.js"; +import { op_utf8_to_byte_string } from "ext:core/ops"; const { ArrayPrototypeFind, Number, |
