1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
denoland-deno/cli
Bert Belder ff932b411d
fix(core): poll async ops eagerly (#12385)
Currently all async ops are polled lazily, which means that op
initialization code is postponed until control is yielded to the event
loop. This has some weird consequences, e.g.

```js
let listener = Deno.listen(...);
let conn_promise = listener.accept();
listener.close();
// `BadResource` is thrown. A reasonable error would be `Interrupted`.
let conn = await conn_promise;
```

JavaScript promises are expected to be eagerly evaluated. This patch
makes ops actually do that.
2021-10-17 19:50:42 +02:00
..
ast fix: bundler should have a hygiene pass (#12418) 2021-10-12 22:47:11 -04:00
bench bench(deno_common): track void ops (#12389) 2021-10-10 16:36:55 +02:00
dts fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00
lsp chore: upgrade crates based on deno ast 0.3 (#12403) 2021-10-12 09:58:04 -04:00
ops fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00
schemas fix(config-schema): correct default value of "lib" (#12145) 2021-09-20 11:30:00 -04:00
tests fix(core): poll async ops eagerly (#12385) 2021-10-17 19:50:42 +02:00
tools chore: upgrade crates based on deno ast 0.3 (#12403) 2021-10-12 09:58:04 -04: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 fix: fmt should not remove parens around sequence expressions (#12461) 2021-10-16 14:57:45 -04:00
checksum.rs chore: update copyright to 2021 (#9092) 2021-01-11 18:13:41 +01:00
compat.rs 1.15.0 2021-10-12 23:27:07 +05:30
config_file.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11: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 refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11: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): re-enable allowSyntheticDefaultImports for tsc (#12435) 2021-10-14 21:13:15 +11:00
errors.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
file_fetcher.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
file_watcher.rs chore: update dependencies (#11856) 2021-09-02 23:38:44 +02:00
flags.rs fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04: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): Abbreviate long data URLs in stack traces (#12127) 2021-09-18 15:40:04 +02:00
fs_util.rs feat(cli/fmt): support more markdown extensions (#12195) 2021-09-23 21:49:25 +05:30
http_cache.rs fix(doc): fix rustdoc bare_urls warning (#11921) 2021-09-05 16:22:45 +02:00
http_util.rs feat(tls): custom in memory CA certificates (#12219) 2021-09-30 09:26:15 +02: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 refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
module_loader.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
proc_state.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
README.md Remove deno_typescript (#6813) 2020-07-20 19:49:57 -04:00
resolver.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11:00
source_maps.rs refactor: Rename ProgramState to ProcState (#12204) 2021-09-24 11:10:42 -04:00
standalone.rs feat(runtime): allow passing extensions via Worker options (#12362) 2021-10-08 17:03:49 +02:00
text_encoding.rs fix(doc): fix rustdoc bare_urls warning (#11921) 2021-09-05 16:22:45 +02:00
tokio_util.rs feat: native HTTP bindings (#9935) 2021-04-08 18:34:15 -04:00
tsc.rs refactor: integrate deno_graph into CLI (#12369) 2021-10-11 08:26:22 +11: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

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.