summaryrefslogtreecommitdiff
path: root/ext/http/01_http.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-08 07:44:54 -0400
committerGitHub <noreply@github.com>2023-03-08 12:44:54 +0100
commit72fe9bb47005e720444e65a66e91559287137780 (patch)
treed529ee7f3b2c33063ba4496f8fd3dfdbac0d1355 /ext/http/01_http.js
parentd24c6ea27f7dea57e3bc0cda342d6cbe59782f7d (diff)
refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme for snapshotted modules (#18041)
This commit renames "deno_core::InternalModuleLoader" to "ExtModuleLoader" and changes the specifiers used by the modules loaded from this loader to "ext:". "internal:" scheme was really ambiguous and it's more characters than "ext:", which should result in slightly smaller snapshot size. Closes https://github.com/denoland/deno/issues/18020
Diffstat (limited to 'ext/http/01_http.js')
-rw-r--r--ext/http/01_http.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index f9e15e7d5..1a8f8b853 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -3,22 +3,22 @@ const core = globalThis.Deno.core;
const internals = globalThis.__bootstrap.internals;
const primordials = globalThis.__bootstrap.primordials;
const { BadResourcePrototype, InterruptedPrototype, ops } = core;
-import * as webidl from "internal:deno_webidl/00_webidl.js";
-import { InnerBody } from "internal:deno_fetch/22_body.js";
-import { Event, setEventTargetData } from "internal:deno_web/02_event.js";
-import { BlobPrototype } from "internal:deno_web/09_file.js";
+import * as webidl from "ext:deno_webidl/00_webidl.js";
+import { InnerBody } from "ext:deno_fetch/22_body.js";
+import { Event, setEventTargetData } from "ext:deno_web/02_event.js";
+import { BlobPrototype } from "ext:deno_web/09_file.js";
import {
fromInnerResponse,
newInnerResponse,
ResponsePrototype,
toInnerResponse,
-} from "internal:deno_fetch/23_response.js";
+} from "ext:deno_fetch/23_response.js";
import {
_flash,
fromInnerRequest,
newInnerRequest,
-} from "internal:deno_fetch/23_request.js";
-import * as abortSignal from "internal:deno_web/03_abort_signal.js";
+} from "ext:deno_fetch/23_request.js";
+import * as abortSignal from "ext:deno_web/03_abort_signal.js";
import {
_eventLoop,
_idleTimeoutDuration,
@@ -29,16 +29,16 @@ import {
_server,
_serverHandleIdleTimeout,
WebSocket,
-} from "internal:deno_websocket/01_websocket.js";
-import { TcpConn, UnixConn } from "internal:deno_net/01_net.js";
-import { TlsConn } from "internal:deno_net/02_tls.js";
+} from "ext:deno_websocket/01_websocket.js";
+import { TcpConn, UnixConn } from "ext:deno_net/01_net.js";
+import { TlsConn } from "ext:deno_net/02_tls.js";
import {
Deferred,
getReadableStreamResourceBacking,
readableStreamClose,
readableStreamForRid,
ReadableStreamPrototype,
-} from "internal:deno_web/06_streams.js";
+} from "ext:deno_web/06_streams.js";
const {
ArrayPrototypeIncludes,
ArrayPrototypeMap,