summaryrefslogtreecommitdiff
path: root/ext/http/01_http.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/http/01_http.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/http/01_http.js')
-rw-r--r--ext/http/01_http.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index 6e8e9a0b3..8bed444ca 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -5,7 +5,7 @@ const {
BadResourcePrototype,
InterruptedPrototype,
} = core;
-const {
+import {
op_http_accept,
op_http_headers,
op_http_shutdown,
@@ -14,7 +14,7 @@ const {
op_http_write,
op_http_write_headers,
op_http_write_resource,
-} = core.ensureFastOps();
+} from "ext:core/ops";
const {
ArrayPrototypeIncludes,
ArrayPrototypeMap,