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/net | |
| 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/net')
| -rw-r--r-- | ext/net/01_net.js | 4 | ||||
| -rw-r--r-- | ext/net/02_tls.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/net/01_net.js b/ext/net/01_net.js index c56f837b8..8d8e34e56 100644 --- a/ext/net/01_net.js +++ b/ext/net/01_net.js @@ -7,8 +7,8 @@ import { readableStreamForRidUnrefableRef, readableStreamForRidUnrefableUnref, writableStreamForRid, -} from "internal:deno_web/06_streams.js"; -import * as abortSignal from "internal:deno_web/03_abort_signal.js"; +} from "ext:deno_web/06_streams.js"; +import * as abortSignal from "ext:deno_web/03_abort_signal.js"; const primordials = globalThis.__bootstrap.primordials; const { Error, diff --git a/ext/net/02_tls.js b/ext/net/02_tls.js index 14bf3dce8..a40972e34 100644 --- a/ext/net/02_tls.js +++ b/ext/net/02_tls.js @@ -2,7 +2,7 @@ const core = globalThis.Deno.core; const ops = core.ops; -import { Conn, Listener } from "internal:deno_net/01_net.js"; +import { Conn, Listener } from "ext:deno_net/01_net.js"; const primordials = globalThis.__bootstrap.primordials; const { TypeError } = primordials; |
