1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00
denoland-deno/cli
Nayeem Rahman 504482dadd
fix(repl): print unhandled rejections and event errors (#18878)
Fixes #8858.
Fixes #8869.

```
$ target/debug/deno
Deno 1.32.5
exit using ctrl+d, ctrl+c, or close()
REPL is running with all permissions allowed.
To specify permissions, run `deno repl` with allow flags.
> Promise.reject(new Error("bar"));
Promise { <rejected> Error: bar
    at <anonymous>:2:16 }
Uncaught (in promise) Error: bar
    at <anonymous>:2:16
> reportError(new Error("baz"));
undefined
Uncaught Error: baz
    at <anonymous>:2:13
>
2023-04-27 23:36:49 +02:00
..
args refactor(cli): extract out ProcState from CliMainWorker (#18867) 2023-04-27 10:05:20 -04:00
bench fix(ext/http): internal upgradeHttpRaw works with "Deno.serve()" API (#18859) 2023-04-27 00:58:18 +02:00
cache feat(cli): don't check permissions for statically analyzable dynamic imports (#18713) 2023-04-26 16:23:28 -04:00
js refactor(ext/websocket): use specialized ops (#18819) 2023-04-25 13:53:06 +02:00
lsp refactor(cli): extract out ProcState from CliMainWorker (#18867) 2023-04-27 10:05:20 -04:00
napi chore: forward v1.32.5 release commit to main (#18758) 2023-04-18 22:20:49 +02:00
npm refactor(compile): remove usage of ProcState and CliOptions (#18855) 2023-04-26 13:07:15 -04:00
ops refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
schemas feat(cli): flatten deno.json configuaration (#17799) 2023-04-26 23:02:36 -04:00
standalone refactor(compile): remove usage of ProcState and CliOptions (#18855) 2023-04-26 13:07:15 -04:00
tests fix(repl): print unhandled rejections and event errors (#18878) 2023-04-27 23:36:49 +02:00
tools fix(repl): print unhandled rejections and event errors (#18878) 2023-04-27 23:36:49 +02:00
tsc feat(kv): return ok bool from atomic commit (#18873) 2023-04-27 16:59:02 +02:00
util test(runtime): support Windows in resolve_from_cwd_absolute (#18379) 2023-04-13 01:45:53 +02:00
auth_tokens.rs chore: upgrade to Rust 1.67 (#17548) 2023-01-27 10:43:16 -05:00
build.rs refactor(ext/node): allow injecting NodeFs from CLI (#18829) 2023-04-24 19:44:35 -04:00
Cargo.toml feat(lint): add Deno.run to no-deprecated-deno-api (#18869) 2023-04-27 02:52:52 +00: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: forward v1.32.5 release commit to main (#18758) 2023-04-18 22:20:49 +02:00
emit.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
errors.rs feat: TypeScript 5.0.2 (except decorators) (#18294) 2023-03-21 15:46:40 +00:00
file_fetcher.rs tests: update tests relying on deno.land (#18811) 2023-04-23 20:07:30 +02:00
graph_util.rs feat(cli): don't check permissions for statically analyzable dynamic imports (#18713) 2023-04-26 16:23:28 -04:00
http_util.rs refactor: remove usages of map_or / map_or_else (#18212) 2023-03-15 17:46:36 -04:00
js.rs refactor(core): Improve ergonomics of managing ASCII strings (#18498) 2023-04-04 06:46:31 -06:00
main.rs fix(compile): write bytes directly to output file (#18777) 2023-04-19 21:50:56 +00:00
module_loader.rs refactor(cli): extract out ProcState from CliMainWorker (#18867) 2023-04-27 10:05:20 -04:00
node.rs refactor(ext/node): allow injecting NodeFs from CLI (#18829) 2023-04-24 19:44:35 -04:00
proc_state.rs refactor(cli): extract out ProcState from CliMainWorker (#18867) 2023-04-27 10:05:20 -04:00
README.md docs(cli): do not need gen doc for cli (#17260) 2023-01-04 13:19:58 +01:00
resolver.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
version.rs refactor: make version and user_agent &'static str (#18400) 2023-03-23 23:27:58 +01:00
worker.rs refactor(cli): extract out ProcState from CliMainWorker (#18867) 2023-04-27 10:05:20 -04:00

Deno CLI Crate

crates

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

The deno crate uses the deno_core to provide the executable.