1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-10 16:11:13 -05:00
denoland-deno/cli
Bartek Iwańczuk 9ed7e385a6
fix(test): Improve reliability of deno test's op sanitizer with timers (#12934)
Although not easy to replicate in the wild, the `deno test` op sanitizer
can fail when there are intervals that started before a test runs, since
the op sanitizer can end up running in the time between the timer op for
an interval's run resolves and the op for the next run starts.

This change fixes that by adding a new macrotask callback that will run
after the timer macrotask queue has drained. This ensures that there is
a timer op if there are any timers which are unresolved by the time the
op sanitizer runs.

Co-authored-by: Andreu Botella <abb@randomunok.com>
2021-11-30 12:25:16 +01:00
..
ast refactor: re-export anyhow from deno_core (#12777) 2021-11-16 09:02:28 -05:00
bench fix(bench): migrate to v8 from rusty_v8 (#12571) 2021-10-28 21:40:27 +11:00
compat v1.16.3 2021-11-24 14:45:25 -08:00
dts fix: support "other" event type in FSWatcher (#12836) 2021-11-24 12:54:09 -08:00
lsp fix(lsp): lsp should respect include/exclude files in format config (#12876) 2021-11-24 14:19:41 -08:00
ops fix(cli): don't cache .tsbuildinfo unless emitting (#12830) 2021-11-24 14:19:40 -08:00
schemas feat(cli): support React 17 JSX transforms (#12631) 2021-11-09 12:26:39 +11:00
tests fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 12:25:16 +01:00
tools fix(lsp): lsp should respect include/exclude files in format config (#12876) 2021-11-24 14:19:41 -08:00
tsc fix(cli): don't ignore diagnostics about for await (#12116) 2021-09-17 16:54:52 +10:00
auth_tokens.rs feat(cli): Support Basic authentication in DENO_AUTH_TOKENS (#11910) 2021-09-08 06:18:11 +02:00
build.rs fix: move unstable declarations to deno.unstable (#11876) 2021-08-31 11:25:15 +02:00
cache.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
Cargo.toml v1.16.3 2021-11-24 14:45:25 -08:00
checksum.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
config_file.rs fix(lsp): lsp should respect include/exclude files in format config (#12876) 2021-11-24 14:19:41 -08: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 chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
diagnostics.rs fix: update unstable Deno props for signal API (#12723) 2021-11-10 14:30:20 +01:00
diff.rs refactor: Remove duplicated colors.rs file (#11990) 2021-09-12 12:04:17 -04:00
disk_cache.rs chore: upgrade Rust to 1.54.0 (#11554) 2021-07-30 15:03:41 +02:00
emit.rs fix(cli): don't cache .tsbuildinfo unless emitting (#12830) 2021-11-24 14:19:40 -08:00
errors.rs fix(cli): don't panic when mapping unknown errors (#12659) 2021-11-07 15:33:56 +01:00
file_fetcher.rs refactor: clean up cli/file_fetcher.rs (#12772) 2021-11-15 19:59:19 -05:00
file_watcher.rs fix(fmt/lint): strip unc paths on Windows when displaying file paths in lint and fmt (#12606) 2021-11-01 16:22:08 -04:00
flags.rs typo 2021-11-09 13:43:23 -05:00
flags_allow_net.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
fmt_errors.rs fix(cli/fmt_errors): don't panic on source line formatting errors (#12449) 2021-10-18 18:05:36 +02:00
fs_util.rs fix(lsp): lsp should respect include/exclude files in format config (#12876) 2021-11-24 14:19:41 -08:00
http_cache.rs refactor(lsp): use deno_graph and single document struct (#12535) 2021-10-29 10:56:01 +11:00
http_util.rs feat(cli): support React 17 JSX transforms (#12631) 2021-11-09 12:26:39 +11:00
lockfile.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
logger.rs feat(lsp): add internal debugging logging (#10438) 2021-05-11 14:54:10 +10:00
main.rs fix(lsp): lsp should respect include/exclude files in format config (#12876) 2021-11-24 14:19:41 -08:00
module_loader.rs fix(cli): short-circuit in prepare_module_load() (#12604) 2021-11-16 10:25:52 +11:00
proc_state.rs fix(lsp): lsp should respect include/exclude files in format config (#12876) 2021-11-24 14:19:41 -08:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
resolver.rs feat(cli): support React 17 JSX transforms (#12631) 2021-11-09 12:26:39 +11:00
source_maps.rs refactor: Rename ProgramState to ProcState (#12204) 2021-09-24 11:10:42 -04:00
standalone.rs refactor: re-export anyhow from deno_core (#12777) 2021-11-16 09:02:28 -05:00
text_encoding.rs fix(doc): fix rustdoc bare_urls warning (#11921) 2021-09-05 16:22:45 +02:00
tsc.rs refactor: re-export anyhow from deno_core (#12777) 2021-11-16 09:02:28 -05:00
unix_util.rs chore: update copyright headers (#10243) 2021-04-20 14:27:36 +09:00
version.rs Remove denort optimization (#10350) 2021-04-26 13:28:38 -04:00
windows_util.rs chore: upgrade Rust to 1.56.0 (#12514) 2021-10-26 07:17:11 +02: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.