summaryrefslogtreecommitdiff
path: root/ext/fetch/27_eventsource.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/27_eventsource.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/27_eventsource.js')
-rw-r--r--ext/fetch/27_eventsource.js6
1 files changed, 2 insertions, 4 deletions
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,