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 --- runtime/js/13_buffer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/js/13_buffer.js') diff --git a/runtime/js/13_buffer.js b/runtime/js/13_buffer.js index be3aed390..4534152f3 100644 --- a/runtime/js/13_buffer.js +++ b/runtime/js/13_buffer.js @@ -4,7 +4,7 @@ // Copyright 2009 The Go Authors. All rights reserved. BSD license. // https://github.com/golang/go/blob/master/LICENSE -import { assert } from "internal:deno_web/00_infra.js"; +import { assert } from "ext:deno_web/00_infra.js"; const primordials = globalThis.__bootstrap.primordials; const { TypedArrayPrototypeSubarray, -- cgit v1.2.3