1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/cli
Bartek Iwańczuk 208c91b68f
fix(core): run macrotasks and next ticks after polling dynamic imports (#17173)
This commit fixes handling of rejected promises in dynamic imports
evaluation.

Previously we were running callbacks for next ticks and macrotasks
_before_ polling
dynamic imports and checked for unhandled rejections immediately after.
This is wrong,
as `unhandledrejection` event is dispatched and its callbacks are run as
macrotasks.

This commit changes order of actions performed by the event loop to
following:
- poll async ops
- poll dynamic imports
- run next tick callbacks
- run macrotask callbacks
- check for unhandled promise rejections
2022-12-23 19:46:24 +01:00
..
args fix: ignore local lockfile for deno install and uninstall (#17145) 2022-12-20 12:00:57 -05:00
bench chore: update to Rust 1.66.0 (#17078) 2022-12-17 23:20:15 +01:00
cache chore: update to Rust 1.66.0 (#17078) 2022-12-17 23:20:15 +01:00
js fix(test): improve how --fail-fast shuts down when hitting limit (#16956) 2022-12-05 16:17:49 -05:00
lsp fix(lsp/format): language formatter used should be based on language id (#17148) 2022-12-20 15:19:35 -05:00
napi chore: update to Rust 1.66.0 (#17078) 2022-12-17 23:20:15 +01:00
node chore: update to Rust 1.66.0 (#17078) 2022-12-17 23:20:15 +01:00
npm fix(npm): resolve npm specifiers when root redirected (#17144) 2022-12-20 11:40:26 -05:00
ops fix(test): improve how --fail-fast shuts down when hitting limit (#16956) 2022-12-05 16:17:49 -05:00
schemas fix: add missing verb in description (#17163) 2022-12-22 14:51:22 +01:00
tests fix(core): run macrotasks and next ticks after polling dynamic imports (#17173) 2022-12-23 19:46:24 +01:00
tools fix(init): update comment style (#17074) 2022-12-17 23:26:25 +01:00
tsc chore: update to Rust 1.66.0 (#17078) 2022-12-17 23:20:15 +01:00
util fix: hide progress bars when showing permission prompt (#17130) 2022-12-19 14:31:19 -05:00
auth_tokens.rs chore: update copyright to 2022 (#13306) 2022-01-07 22:09:52 -05:00
build.rs fix: upgrade to TS 4.9.4 (#17048) 2022-12-14 13:00:51 -05:00
Cargo.toml refactor(progress bars): global control for drawing (#17091) 2022-12-19 11:19:33 -05:00
deno.ico fix(cli): add icon and metadata to deno.exe on Windows (#6693) 2020-07-15 21:54:38 +02:00
deno_std.rs chore: update node compat layer to std@0.170.0 (#17147) 2022-12-20 18:23:02 +01:00
emit.rs fix(coverage): Error if the emit cache is invalid (#16850) 2022-11-29 18:43:54 +01:00
errors.rs refactor: remove deno_graph::Locker usage (#16877) 2022-12-06 14:12:51 -05:00
file_fetcher.rs fix: hide progress bars when showing permission prompt (#17130) 2022-12-19 14:31:19 -05:00
graph_util.rs fix: respect the --quiet flag in more cases (#16998) 2022-12-09 10:54:24 -05:00
http_util.rs fix: hide progress bars when showing permission prompt (#17130) 2022-12-19 14:31:19 -05:00
js.rs feat(core): Ability to create snapshots from existing snapshots (#16597) 2022-11-21 14:36:26 +01:00
main.rs fix: hide progress bars when showing permission prompt (#17130) 2022-12-19 14:31:19 -05:00
module_loader.rs refactor: create util folder, move nap_sym to napi/sym, move http_cache to cache folder (#16857) 2022-11-28 17:28:54 -05:00
proc_state.rs feat(repl): support npm packages (#16770) 2022-12-13 13:53:32 +01:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
resolver.rs refactor: move lockfile.rs to args module (#16818) 2022-11-25 17:00:28 -05:00
standalone.rs fix(runtime): expose extensions_with_js from WorkerOptions (#17109) 2022-12-19 03:55:50 +01:00
version.rs feat(cli): check for updates in background (#15974) 2022-10-20 16:15:21 +02:00
worker.rs fix(runtime): expose extensions_with_js from WorkerOptions (#17109) 2022-12-19 03:55:50 +01: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.