From 72fe9bb47005e720444e65a66e91559287137780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 8 Mar 2023 07:44:54 -0400 Subject: 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 --- ext/flash/01_http.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ext/flash') diff --git a/ext/flash/01_http.js b/ext/flash/01_http.js index 267a3551c..4d0112c5b 100644 --- a/ext/flash/01_http.js +++ b/ext/flash/01_http.js @@ -2,18 +2,18 @@ const core = globalThis.Deno.core; const ops = core.ops; const primordials = globalThis.__bootstrap.primordials; -import { BlobPrototype } from "internal:deno_web/09_file.js"; -import { TcpConn } from "internal:deno_net/01_net.js"; -import { toInnerResponse } from "internal:deno_fetch/23_response.js"; -import { _flash, fromFlashRequest } from "internal:deno_fetch/23_request.js"; -import { Event } from "internal:deno_web/02_event.js"; +import { BlobPrototype } from "ext:deno_web/09_file.js"; +import { TcpConn } from "ext:deno_net/01_net.js"; +import { toInnerResponse } from "ext:deno_fetch/23_response.js"; +import { _flash, fromFlashRequest } from "ext:deno_fetch/23_request.js"; +import { Event } from "ext:deno_web/02_event.js"; import { _state, getReadableStreamResourceBacking, ReadableStream, readableStreamClose, ReadableStreamPrototype, -} from "internal:deno_web/06_streams.js"; +} from "ext:deno_web/06_streams.js"; import { _eventLoop, _idleTimeoutDuration, @@ -23,8 +23,8 @@ import { _rid, _serverHandleIdleTimeout, WebSocket, -} from "internal:deno_websocket/01_websocket.js"; -import { _ws } from "internal:deno_http/01_http.js"; +} from "ext:deno_websocket/01_websocket.js"; +import { _ws } from "ext:deno_http/01_http.js"; const { ObjectPrototypeIsPrototypeOf, PromisePrototype, -- cgit v1.2.3