1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 09:39:08 -05:00
denoland-deno/cli
Andreu Botella 38505db391
fix(modules): Immediately resolve follow-up dyn imports to a dyn imported module (#14958)
When a dynamically imported module gets resolved, any code that comes after an
await import() to that module will continue running. However, if that is the
last code in the evaluation of another dynamically imported module, that second
module will not resolve until the next iteration of the event loop, even though
it does not depend on the event loop at all.

When the event loop is being blocked by a long-running operation, such as a
long-running timer, or by an async op that might never end, such as with workers
or BroadcastChannels, that will result in the second dynamically imported module
not being resolved for a while, or ever.

This change fixes this by running the dynamic module loading steps in a loop
until no more dynamic modules can be resolved.
2022-06-25 20:56:29 +02:00
..
bench fix(cli/bench): Use deno check instead of deno cache (#14916) 2022-06-20 20:07:24 +05:30
compat v1.23.1 (#14954) 2022-06-23 15:27:41 -06:00
dts fix: upgrade swc via deno_ast 0.16 (#14930) 2022-06-22 15:42:08 -04:00
lsp refactor(snapshots): to their own crate (#14794) 2022-06-24 15:04:45 +02:00
ops refactor(bench): Allocate IDs for benches (#14757) 2022-05-30 19:58:44 +02:00
schemas fix(config-file): fix config-file.v1.json schema to allow colons in the task name (#14013) 2022-03-17 13:55:24 -04:00
tests fix(modules): Immediately resolve follow-up dyn imports to a dyn imported module (#14958) 2022-06-25 20:56:29 +02:00
tools fix: don't error if Deno.bench() or Deno.test() are used in run subcommand (#14946) 2022-06-24 12:00:53 +02:00
tsc fix(check): ignore TS2306 (#14940) 2022-06-23 12:18:32 -04:00
auth_tokens.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
build.rs refactor(snapshots): to their own crate (#14794) 2022-06-24 15:04:45 +02:00
cache.rs refactor: add EmitCache trait (#14925) 2022-06-20 17:59:52 -04:00
Cargo.toml refactor(snapshots): to their own crate (#14794) 2022-06-24 15:04:45 +02:00
cdp.rs fix(repl): fix null eval result (#13804) 2022-03-02 13:39:08 +09:00
checksum.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
config_file.rs feat(vendor): support using an existing import map (#14836) 2022-06-14 10:05:37 -04:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_dir.rs perf(fmt/lint): incremental formatting and linting (#14314) 2022-04-19 22:14:00 -04:00
diagnostics.rs Remove unstable Deno.sleepSync (#14719) 2022-06-13 21:28:00 +02:00
diff.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
disk_cache.rs refactor: add EmitCache trait (#14925) 2022-06-20 17:59:52 -04:00
display.rs refactor: add cli/display.rs module (#13879) 2022-03-09 00:19:02 +01:00
emit.rs refactor: add EmitCache trait (#14925) 2022-06-20 17:59:52 -04:00
errors.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
file_fetcher.rs refactor: upgrade to deno_ast 0.15 (#14680) 2022-05-20 16:40:55 -04:00
file_watcher.rs fix: watch dynamic imports in --watch (#14775) 2022-06-08 12:07:25 +02:00
flags.rs fix(docs): update description of --check flag (#14890) 2022-06-18 18:11:15 +02:00
flags_allow_net.rs chore: upgrade clap to v3 (#13266) 2022-01-14 17:38:17 +01:00
fmt_errors.rs perf(core): Cache source lookups (#14816) 2022-06-20 14:42:20 +02:00
fs_util.rs feat(vendor): support using an existing import map (#14836) 2022-06-14 10:05:37 -04:00
graph_util.rs refactor: upgrade to deno_ast 0.15 (#14680) 2022-05-20 16:40:55 -04:00
http_cache.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
http_util.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
lockfile.rs chore(tests): use custom temp dir creation for the tests (#14153) 2022-04-01 11:15:37 -04:00
logger.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
main.rs fix(core): don't panic on non-existent cwd (#14957) 2022-06-25 09:21:58 +05:30
module_loader.rs chore: remove all pub(crate)s from the cli crate (#14083) 2022-03-23 09:54:22 -04:00
proc_state.rs refactor: add EmitCache trait (#14925) 2022-06-20 17:59:52 -04:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
resolver.rs feat(vendor): support using an existing import map (#14836) 2022-06-14 10:05:37 -04:00
standalone.rs refactor(snapshots): to their own crate (#14794) 2022-06-24 15:04:45 +02:00
text_encoding.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
tsc.rs refactor(snapshots): to their own crate (#14794) 2022-06-24 15:04:45 +02:00
unix_util.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
version.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
windows_util.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00

Deno CLI Crate

crates docs

This provides the actual deno executable and the user-facing APIs.

The deno crate uses the deno_core to provide the executable.