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/fetch/internal.d.ts | |
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/fetch/internal.d.ts')
-rw-r--r-- | ext/fetch/internal.d.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/fetch/internal.d.ts b/ext/fetch/internal.d.ts index 09a7681b0..65ce31ad9 100644 --- a/ext/fetch/internal.d.ts +++ b/ext/fetch/internal.d.ts @@ -9,7 +9,7 @@ declare var domIterable: { DomIterableMixin(base: any, dataSymbol: symbol): any; }; -declare module "internal:deno_fetch/20_headers.js" { +declare module "ext:deno_fetch/20_headers.js" { class Headers { } type HeaderList = [string, string][]; @@ -33,7 +33,7 @@ declare module "internal:deno_fetch/20_headers.js" { ): "immutable" | "request" | "request-no-cors" | "response" | "none"; } -declare module "internal:deno_fetch/21_formdata.js" { +declare module "ext:deno_fetch/21_formdata.js" { type FormData = typeof FormData; function formDataToBlob( formData: FormData, @@ -45,7 +45,7 @@ declare module "internal:deno_fetch/21_formdata.js" { function formDataFromEntries(entries: FormDataEntry[]): FormData; } -declare module "internal:deno_fetch/22_body.js" { +declare module "ext:deno_fetch/22_body.js" { function mixinBody( prototype: any, bodySymbol: symbol, @@ -66,7 +66,7 @@ declare module "internal:deno_fetch/22_body.js" { }; } -declare module "internal:deno_fetch/26_fetch.js" { +declare module "ext:deno_fetch/26_fetch.js" { function toInnerRequest(request: Request): InnerRequest; function fromInnerRequest( inner: InnerRequest, |