From 99a0c6df79b903e4fe72ce066787039bdede3868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 11 Mar 2020 10:53:06 +0100 Subject: [PATCH] reorg: cli/js/compiler/, move more API to cli/js/web/ (#4310) - moves compiler implementation to "cli/js/compiler/" directory - moves more APIs to "cli/js/web": * "console.ts" * "console_table.ts" * "performance.ts" * "timers.ts" * "workers.ts" - removes some dead code from "cli/js/" --- cli/js/compiler.ts | 14 ++++++------- cli/js/{compiler_api.ts => compiler/api.ts} | 6 +++--- .../bootstrap.ts} | 6 +++--- .../bundler.ts} | 10 +++------- cli/js/{compiler_host.ts => compiler/host.ts} | 10 +++++----- .../imports.ts} | 16 ++++++--------- .../sourcefile.ts} | 7 ++----- cli/js/{ => compiler}/ts_global.d.ts | 0 .../type_directives.ts} | 0 cli/js/{compiler_util.ts => compiler/util.ts} | 20 +++++++++---------- cli/js/deno.ts | 4 ++-- cli/js/globals.ts | 8 ++++---- cli/js/mock_builtin.js | 2 -- cli/js/repl.ts | 2 +- cli/js/symbols.ts | 2 +- cli/js/testing.ts | 2 +- cli/js/web/README.md | 8 ++++++++ cli/js/{ => web}/console.ts | 10 +++++----- cli/js/{ => web}/console_table.ts | 4 ++-- cli/js/web/headers.ts | 2 +- cli/js/{ => web}/performance.ts | 2 +- cli/js/{ => web}/timers.ts | 6 +++--- cli/js/web/url.ts | 2 +- cli/js/{ => web}/workers.ts | 10 +++++----- cli/source_maps.rs | 1 - .../error_011_bad_module_specifier.ts.out | 6 +++--- ...or_012_bad_dynamic_import_specifier.ts.out | 6 +++--- cli/tests/error_type_definitions.ts.out | 6 +++--- 28 files changed, 83 insertions(+), 89 deletions(-) rename cli/js/{compiler_api.ts => compiler/api.ts} (99%) rename cli/js/{compiler_bootstrap.ts => compiler/bootstrap.ts} (92%) rename cli/js/{compiler_bundler.ts => compiler/bundler.ts} (95%) rename cli/js/{compiler_host.ts => compiler/host.ts} (96%) rename cli/js/{compiler_imports.ts => compiler/imports.ts} (94%) rename cli/js/{compiler_sourcefile.ts => compiler/sourcefile.ts} (97%) rename cli/js/{ => compiler}/ts_global.d.ts (100%) rename cli/js/{compiler_type_directives.ts => compiler/type_directives.ts} (100%) rename cli/js/{compiler_util.ts => compiler/util.ts} (96%) delete mode 100644 cli/js/mock_builtin.js create mode 100644 cli/js/web/README.md rename cli/js/{ => web}/console.ts (98%) rename cli/js/{ => web}/console_table.ts (96%) rename cli/js/{ => web}/performance.ts (89%) rename cli/js/{ => web}/timers.ts (98%) rename cli/js/{ => web}/workers.ts (94%) diff --git a/cli/js/compiler.ts b/cli/js/compiler.ts index 80ea16fb0a..ed156ef0ab 100644 --- a/cli/js/compiler.ts +++ b/cli/js/compiler.ts @@ -11,23 +11,23 @@ // to properly setup runtime. // NOTE: this import has side effects! -import "./ts_global.d.ts"; +import "./compiler/ts_global.d.ts"; -import { TranspileOnlyResult } from "./compiler_api.ts"; -import { TS_SNAPSHOT_PROGRAM } from "./compiler_bootstrap.ts"; -import { setRootExports } from "./compiler_bundler.ts"; +import { TranspileOnlyResult } from "./compiler/api.ts"; +import { TS_SNAPSHOT_PROGRAM } from "./compiler/bootstrap.ts"; +import { setRootExports } from "./compiler/bundler.ts"; import { CompilerHostTarget, defaultBundlerOptions, defaultRuntimeCompileOptions, defaultTranspileOptions, Host -} from "./compiler_host.ts"; +} from "./compiler/host.ts"; import { processImports, processLocalImports, resolveModules -} from "./compiler_imports.ts"; +} from "./compiler/imports.ts"; import { createWriteFile, CompilerRequestType, @@ -36,7 +36,7 @@ import { WriteFileState, processConfigureResponse, base64ToUint8Array -} from "./compiler_util.ts"; +} from "./compiler/util.ts"; import { Diagnostic, DiagnosticItem } from "./diagnostics.ts"; import { fromTypeScriptDiagnostic } from "./diagnostics_util.ts"; import { assert } from "./util.ts"; diff --git a/cli/js/compiler_api.ts b/cli/js/compiler/api.ts similarity index 99% rename from cli/js/compiler_api.ts rename to cli/js/compiler/api.ts index 8282f0717d..e6e1d5eeea 100644 --- a/cli/js/compiler_api.ts +++ b/cli/js/compiler/api.ts @@ -3,9 +3,9 @@ // This file contains the runtime APIs which will dispatch work to the internal // compiler within Deno. -import { DiagnosticItem } from "./diagnostics.ts"; -import * as util from "./util.ts"; -import * as runtimeCompilerOps from "./ops/runtime_compiler.ts"; +import { DiagnosticItem } from "../diagnostics.ts"; +import * as util from "../util.ts"; +import * as runtimeCompilerOps from "../ops/runtime_compiler.ts"; /** A specific subset TypeScript compiler options that can be supported by * the Deno TypeScript compiler. */ diff --git a/cli/js/compiler_bootstrap.ts b/cli/js/compiler/bootstrap.ts similarity index 92% rename from cli/js/compiler_bootstrap.ts rename to cli/js/compiler/bootstrap.ts index c502e2e018..d4642d041f 100644 --- a/cli/js/compiler_bootstrap.ts +++ b/cli/js/compiler/bootstrap.ts @@ -1,8 +1,8 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { CompilerHostTarget, Host } from "./compiler_host.ts"; -import { ASSETS } from "./compiler_sourcefile.ts"; -import { getAsset } from "./compiler_util.ts"; +import { CompilerHostTarget, Host } from "./host.ts"; +import { ASSETS } from "./sourcefile.ts"; +import { getAsset } from "./util.ts"; // NOTE: target doesn't really matter here, // this is in fact a mock host created just to diff --git a/cli/js/compiler_bundler.ts b/cli/js/compiler/bundler.ts similarity index 95% rename from cli/js/compiler_bundler.ts rename to cli/js/compiler/bundler.ts index 3a9d3a2125..ab987a7fc2 100644 --- a/cli/js/compiler_bundler.ts +++ b/cli/js/compiler/bundler.ts @@ -1,12 +1,8 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { SYSTEM_LOADER } from "./compiler_bootstrap.ts"; -import { - commonPath, - normalizeString, - CHAR_FORWARD_SLASH -} from "./compiler_util.ts"; -import { assert } from "./util.ts"; +import { SYSTEM_LOADER } from "./bootstrap.ts"; +import { commonPath, normalizeString, CHAR_FORWARD_SLASH } from "./util.ts"; +import { assert } from "../util.ts"; /** Local state of what the root exports are of a root module. */ let rootExports: string[] | undefined; diff --git a/cli/js/compiler_host.ts b/cli/js/compiler/host.ts similarity index 96% rename from cli/js/compiler_host.ts rename to cli/js/compiler/host.ts index 413ffa6e1a..8032d83b3c 100644 --- a/cli/js/compiler_host.ts +++ b/cli/js/compiler/host.ts @@ -1,10 +1,10 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { ASSETS, MediaType, SourceFile } from "./compiler_sourcefile.ts"; -import { OUT_DIR, WriteFileCallback, getAsset } from "./compiler_util.ts"; -import { cwd } from "./ops/fs/dir.ts"; -import { assert, notImplemented } from "./util.ts"; -import * as util from "./util.ts"; +import { ASSETS, MediaType, SourceFile } from "./sourcefile.ts"; +import { OUT_DIR, WriteFileCallback, getAsset } from "./util.ts"; +import { cwd } from "../ops/fs/dir.ts"; +import { assert, notImplemented } from "../util.ts"; +import * as util from "../util.ts"; /** Specifies the target that the host should use to inform the TypeScript * compiler of what types should be used to validate the program against. */ diff --git a/cli/js/compiler_imports.ts b/cli/js/compiler/imports.ts similarity index 94% rename from cli/js/compiler_imports.ts rename to cli/js/compiler/imports.ts index a5f3cd17e1..077303b61e 100644 --- a/cli/js/compiler_imports.ts +++ b/cli/js/compiler/imports.ts @@ -1,15 +1,11 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { - MediaType, - SourceFile, - SourceFileJson -} from "./compiler_sourcefile.ts"; -import { normalizeString, CHAR_FORWARD_SLASH } from "./compiler_util.ts"; -import { cwd } from "./ops/fs/dir.ts"; -import { assert } from "./util.ts"; -import * as util from "./util.ts"; -import * as compilerOps from "./ops/compiler.ts"; +import { MediaType, SourceFile, SourceFileJson } from "./sourcefile.ts"; +import { normalizeString, CHAR_FORWARD_SLASH } from "./util.ts"; +import { cwd } from "../ops/fs/dir.ts"; +import { assert } from "../util.ts"; +import * as util from "../util.ts"; +import * as compilerOps from "../ops/compiler.ts"; /** Resolve a path to the final path segment passed. */ function resolvePath(...pathSegments: string[]): string { diff --git a/cli/js/compiler_sourcefile.ts b/cli/js/compiler/sourcefile.ts similarity index 97% rename from cli/js/compiler_sourcefile.ts rename to cli/js/compiler/sourcefile.ts index cc7d4aa3eb..cfa09cde32 100644 --- a/cli/js/compiler_sourcefile.ts +++ b/cli/js/compiler/sourcefile.ts @@ -1,10 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { - getMappedModuleName, - parseTypeDirectives -} from "./compiler_type_directives.ts"; -import { assert, log } from "./util.ts"; +import { getMappedModuleName, parseTypeDirectives } from "./type_directives.ts"; +import { assert, log } from "../util.ts"; // Warning! The values in this enum are duplicated in `cli/msg.rs` // Update carefully! diff --git a/cli/js/ts_global.d.ts b/cli/js/compiler/ts_global.d.ts similarity index 100% rename from cli/js/ts_global.d.ts rename to cli/js/compiler/ts_global.d.ts diff --git a/cli/js/compiler_type_directives.ts b/cli/js/compiler/type_directives.ts similarity index 100% rename from cli/js/compiler_type_directives.ts rename to cli/js/compiler/type_directives.ts diff --git a/cli/js/compiler_util.ts b/cli/js/compiler/util.ts similarity index 96% rename from cli/js/compiler_util.ts rename to cli/js/compiler/util.ts index 3cc661d6c1..c1afbd581c 100644 --- a/cli/js/compiler_util.ts +++ b/cli/js/compiler/util.ts @@ -1,15 +1,15 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { bold, cyan, yellow } from "./colors.ts"; -import { CompilerOptions } from "./compiler_api.ts"; -import { buildBundle } from "./compiler_bundler.ts"; -import { ConfigureResponse, Host } from "./compiler_host.ts"; -import { SourceFile } from "./compiler_sourcefile.ts"; -import { atob, TextEncoder } from "./web/text_encoding.ts"; -import * as compilerOps from "./ops/compiler.ts"; -import * as util from "./util.ts"; -import { assert } from "./util.ts"; -import { writeFileSync } from "./write_file.ts"; +import { bold, cyan, yellow } from "../colors.ts"; +import { CompilerOptions } from "./api.ts"; +import { buildBundle } from "./bundler.ts"; +import { ConfigureResponse, Host } from "./host.ts"; +import { SourceFile } from "./sourcefile.ts"; +import { atob, TextEncoder } from "../web/text_encoding.ts"; +import * as compilerOps from "../ops/compiler.ts"; +import * as util from "../util.ts"; +import { assert } from "../util.ts"; +import { writeFileSync } from "../write_file.ts"; /** Type for the write fall callback that allows delegation from the compiler * host on writing files. */ diff --git a/cli/js/deno.ts b/cli/js/deno.ts index f0115f2612..4f56bb7d1d 100644 --- a/cli/js/deno.ts +++ b/cli/js/deno.ts @@ -11,8 +11,8 @@ export { export { build, OperatingSystem, Arch } from "./build.ts"; export { chmodSync, chmod } from "./ops/fs/chmod.ts"; export { chownSync, chown } from "./ops/fs/chown.ts"; -export { transpileOnly, compile, bundle } from "./compiler_api.ts"; -export { inspect } from "./console.ts"; +export { transpileOnly, compile, bundle } from "./compiler/api.ts"; +export { inspect } from "./web/console.ts"; export { copyFileSync, copyFile } from "./ops/fs/copy_file.ts"; export { Diagnostic, diff --git a/cli/js/globals.ts b/cli/js/globals.ts index 7033afd920..8d122878f8 100644 --- a/cli/js/globals.ts +++ b/cli/js/globals.ts @@ -1,7 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import * as blob from "./web/blob.ts"; -import * as consoleTypes from "./console.ts"; +import * as consoleTypes from "./web/console.ts"; import * as customEvent from "./web/custom_event.ts"; import * as domTypes from "./web/dom_types.ts"; import * as domFile from "./web/dom_file.ts"; @@ -11,11 +11,11 @@ import * as formData from "./web/form_data.ts"; import * as fetchTypes from "./web/fetch.ts"; import * as headers from "./web/headers.ts"; import * as textEncoding from "./web/text_encoding.ts"; -import * as timers from "./timers.ts"; +import * as timers from "./web/timers.ts"; import * as url from "./web/url.ts"; import * as urlSearchParams from "./web/url_search_params.ts"; -import * as workers from "./workers.ts"; -import * as performanceUtil from "./performance.ts"; +import * as workers from "./web/workers.ts"; +import * as performanceUtil from "./web/performance.ts"; import * as request from "./web/request.ts"; // These imports are not exposed and therefore are fine to just import the diff --git a/cli/js/mock_builtin.js b/cli/js/mock_builtin.js deleted file mode 100644 index 0f5bd2a440..0000000000 --- a/cli/js/mock_builtin.js +++ /dev/null @@ -1,2 +0,0 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -export default undefined; diff --git a/cli/js/repl.ts b/cli/js/repl.ts index 8325159dd3..581834cfd8 100644 --- a/cli/js/repl.ts +++ b/cli/js/repl.ts @@ -1,7 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { exit } from "./ops/os.ts"; import { core } from "./core.ts"; -import { stringifyArgs } from "./console.ts"; +import { stringifyArgs } from "./web/console.ts"; import { startRepl, readline } from "./ops/repl.ts"; import { close } from "./ops/resources.ts"; diff --git a/cli/js/symbols.ts b/cli/js/symbols.ts index 4a8a6abfe8..9d8928cf2b 100644 --- a/cli/js/symbols.ts +++ b/cli/js/symbols.ts @@ -1,6 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { internalSymbol } from "./internals.ts"; -import { customInspect } from "./console.ts"; +import { customInspect } from "./web/console.ts"; /** Special Deno related symbols. */ export const symbols = { diff --git a/cli/js/testing.ts b/cli/js/testing.ts index f851b8fccc..f1318f0ce4 100644 --- a/cli/js/testing.ts +++ b/cli/js/testing.ts @@ -1,7 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { red, green, bgRed, gray, italic } from "./colors.ts"; import { exit } from "./ops/os.ts"; -import { Console } from "./console.ts"; +import { Console } from "./web/console.ts"; function formatDuration(time = 0): string { const timeStr = `(${time}ms)`; diff --git a/cli/js/web/README.md b/cli/js/web/README.md new file mode 100644 index 0000000000..865f4e0fb7 --- /dev/null +++ b/cli/js/web/README.md @@ -0,0 +1,8 @@ +# Deno Web APIs + +This directory facilities Web APIs that are available in Deno. + +Please note, that some of implementations might not be completely aligned with +specification. + +Some of the Web APIs are using ops under the hood, eg. `console`, `performance`. diff --git a/cli/js/console.ts b/cli/js/web/console.ts similarity index 98% rename from cli/js/console.ts rename to cli/js/web/console.ts index 60329ab00a..601d5fd094 100644 --- a/cli/js/console.ts +++ b/cli/js/web/console.ts @@ -1,10 +1,10 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { isTypedArray } from "./util.ts"; -import { TypedArray } from "./types.ts"; -import { TextEncoder } from "./web/text_encoding.ts"; -import { File, stdout } from "./files.ts"; +import { isTypedArray } from "../util.ts"; +import { TypedArray } from "../types.ts"; +import { TextEncoder } from "./text_encoding.ts"; +import { File, stdout } from "../files.ts"; import { cliTable } from "./console_table.ts"; -import { exposeForTest } from "./internals.ts"; +import { exposeForTest } from "../internals.ts"; type ConsoleContext = Set; type ConsoleOptions = Partial<{ diff --git a/cli/js/console_table.ts b/cli/js/web/console_table.ts similarity index 96% rename from cli/js/console_table.ts rename to cli/js/web/console_table.ts index 882f1243bb..276d77f1d9 100644 --- a/cli/js/console_table.ts +++ b/cli/js/web/console_table.ts @@ -1,8 +1,8 @@ // Copyright Joyent, Inc. and other Node contributors. MIT license. // Forked from Node's lib/internal/cli_table.js -import { TextEncoder } from "./web/text_encoding.ts"; -import { hasOwnProperty } from "./util.ts"; +import { TextEncoder } from "./text_encoding.ts"; +import { hasOwnProperty } from "../util.ts"; const encoder = new TextEncoder(); diff --git a/cli/js/web/headers.ts b/cli/js/web/headers.ts index 65d52cacda..652dd2de63 100644 --- a/cli/js/web/headers.ts +++ b/cli/js/web/headers.ts @@ -2,7 +2,7 @@ import * as domTypes from "./dom_types.ts"; import { DomIterableMixin } from "./dom_iterable.ts"; import { requiredArguments } from "../util.ts"; -import { customInspect } from "../console.ts"; +import { customInspect } from "./console.ts"; // From node-fetch // Copyright (c) 2016 David Frank. MIT License. diff --git a/cli/js/performance.ts b/cli/js/web/performance.ts similarity index 89% rename from cli/js/performance.ts rename to cli/js/web/performance.ts index 7aaa359520..cb4daa8463 100644 --- a/cli/js/performance.ts +++ b/cli/js/web/performance.ts @@ -1,5 +1,5 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { now as opNow } from "./ops/timers.ts"; +import { now as opNow } from "../ops/timers.ts"; export class Performance { /** Returns a current time from Deno's start in milliseconds. diff --git a/cli/js/timers.ts b/cli/js/web/timers.ts similarity index 98% rename from cli/js/timers.ts rename to cli/js/web/timers.ts index 844a0b2047..806b7c1605 100644 --- a/cli/js/timers.ts +++ b/cli/js/web/timers.ts @@ -1,7 +1,7 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -import { assert } from "./util.ts"; -import { startGlobalTimer, stopGlobalTimer } from "./ops/timers.ts"; -import { RBTree } from "./rbtree.ts"; +import { assert } from "../util.ts"; +import { startGlobalTimer, stopGlobalTimer } from "../ops/timers.ts"; +import { RBTree } from "../rbtree.ts"; const { console } = globalThis; diff --git a/cli/js/web/url.ts b/cli/js/web/url.ts index 076ec81f1a..6ef6b367cd 100644 --- a/cli/js/web/url.ts +++ b/cli/js/web/url.ts @@ -2,7 +2,7 @@ import * as urlSearchParams from "./url_search_params.ts"; import * as domTypes from "./dom_types.ts"; import { getRandomValues } from "../ops/get_random_values.ts"; -import { customInspect } from "../console.ts"; +import { customInspect } from "./console.ts"; interface URLParts { protocol: string; diff --git a/cli/js/workers.ts b/cli/js/web/workers.ts similarity index 94% rename from cli/js/workers.ts rename to cli/js/web/workers.ts index 818c0ecf44..256090d57a 100644 --- a/cli/js/workers.ts +++ b/cli/js/web/workers.ts @@ -5,15 +5,15 @@ import { hostTerminateWorker, hostPostMessage, hostGetMessage -} from "./ops/worker_host.ts"; -import { log } from "./util.ts"; -import { TextDecoder, TextEncoder } from "./web/text_encoding.ts"; +} from "../ops/worker_host.ts"; +import { log } from "../util.ts"; +import { TextDecoder, TextEncoder } from "./text_encoding.ts"; /* import { blobURLMap } from "./web/url.ts"; import { blobBytesWeakMap } from "./web/blob.ts"; */ -import { Event } from "./web/event.ts"; -import { EventTarget } from "./web/event_target.ts"; +import { Event } from "./event.ts"; +import { EventTarget } from "./event_target.ts"; const encoder = new TextEncoder(); const decoder = new TextDecoder(); diff --git a/cli/source_maps.rs b/cli/source_maps.rs index 6cf5bfbbde..384a5f9e03 100644 --- a/cli/source_maps.rs +++ b/cli/source_maps.rs @@ -389,7 +389,6 @@ mod tests { assert_eq!(actual.message, "TypeError: baz"); // Because this is accessing the live bundle, this test might be more fragile assert_eq!(actual.frames.len(), 1); - assert_eq!(actual.frames[0].script_name, "$deno$/io.ts"); } #[test] diff --git a/cli/tests/error_011_bad_module_specifier.ts.out b/cli/tests/error_011_bad_module_specifier.ts.out index 4dd198e12e..773ddf8a83 100644 --- a/cli/tests/error_011_bad_module_specifier.ts.out +++ b/cli/tests/error_011_bad_module_specifier.ts.out @@ -2,6 +2,6 @@ [WILDCARD]dispatch_json.ts:[WILDCARD] at unwrapResponse ($deno$/ops/dispatch_json.ts:[WILDCARD]) at sendSync ($deno$/ops/dispatch_json.ts:[WILDCARD]) - at resolveModules ($deno$/compiler_imports.ts:[WILDCARD]) - at processImports ($deno$/compiler_imports.ts:[WILDCARD]) - at processImports ($deno$/compiler_imports.ts:[WILDCARD]) + at resolveModules ($deno$/compiler/imports.ts:[WILDCARD]) + at processImports ($deno$/compiler/imports.ts:[WILDCARD]) + at processImports ($deno$/compiler/imports.ts:[WILDCARD]) diff --git a/cli/tests/error_012_bad_dynamic_import_specifier.ts.out b/cli/tests/error_012_bad_dynamic_import_specifier.ts.out index a1c2b21aab..618f45acd1 100644 --- a/cli/tests/error_012_bad_dynamic_import_specifier.ts.out +++ b/cli/tests/error_012_bad_dynamic_import_specifier.ts.out @@ -2,6 +2,6 @@ [WILDCARD]dispatch_json.ts:[WILDCARD] at unwrapResponse ($deno$/ops/dispatch_json.ts:[WILDCARD]) at sendSync ($deno$/ops/dispatch_json.ts:[WILDCARD]) - at resolveModules ($deno$/compiler_imports.ts:[WILDCARD]) - at processImports ($deno$/compiler_imports.ts:[WILDCARD]) - at processImports ($deno$/compiler_imports.ts:[WILDCARD]) + at resolveModules ($deno$/compiler/imports.ts:[WILDCARD]) + at processImports ($deno$/compiler/imports.ts:[WILDCARD]) + at processImports ($deno$/compiler/imports.ts:[WILDCARD]) diff --git a/cli/tests/error_type_definitions.ts.out b/cli/tests/error_type_definitions.ts.out index 8a5d627b5d..20c03d0bed 100644 --- a/cli/tests/error_type_definitions.ts.out +++ b/cli/tests/error_type_definitions.ts.out @@ -2,6 +2,6 @@ [WILDCARD]dispatch_json.ts:[WILDCARD] at unwrapResponse ($deno$/ops/dispatch_json.ts:[WILDCARD]) at sendSync ($deno$/ops/dispatch_json.ts:[WILDCARD]) - at resolveModules ($deno$/compiler_imports.ts:[WILDCARD]) - at processImports ($deno$/compiler_imports.ts:[WILDCARD]) - at processImports ($deno$/compiler_imports.ts:[WILDCARD]) + at resolveModules ($deno$/compiler/imports.ts:[WILDCARD]) + at processImports ($deno$/compiler/imports.ts:[WILDCARD]) + at processImports ($deno$/compiler/imports.ts:[WILDCARD])