diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-03-08 07:44:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 12:44:54 +0100 |
commit | 72fe9bb47005e720444e65a66e91559287137780 (patch) | |
tree | d529ee7f3b2c33063ba4496f8fd3dfdbac0d1355 /ext/flash | |
parent | d24c6ea27f7dea57e3bc0cda342d6cbe59782f7d (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/flash')
-rw-r--r-- | ext/flash/01_http.js | 16 |
1 files changed, 8 insertions, 8 deletions
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, |