1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/tools
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
..
coverage fix(test/coverage): exclude test files (#18748) 2023-04-19 23:30:52 +02:00
init refactor(init): remove CURRENT_STD_URL (#18375) 2023-03-23 03:11:18 +00:00
repl fix(repl): print unhandled rejections and event errors (#18878) 2023-04-27 23:36:49 +02:00
vendor refactor(npm): add CliNodeResolver (#18742) 2023-04-17 15:36:23 -04:00
bench.rs refactor(cli): extract out ProcState from CliMainWorker (#18867) 2023-04-27 10:05:20 -04:00
bundle.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
check.rs refactor(ext/node): allow injecting NodeFs from CLI (#18829) 2023-04-24 19:44:35 -04:00
doc.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
fmt.rs feat(core): initialize SQLite off-main-thread (#18401) 2023-03-27 22:01:52 +00:00
info.rs refactor(node): move most of cli/node to ext/node (#18797) 2023-04-21 21:02:46 -04:00
installer.rs refactor: break up ProcState (#18707) 2023-04-14 16:22:33 -04:00
lint.rs feat(core): initialize SQLite off-main-thread (#18401) 2023-03-27 22:01:52 +00:00
mod.rs chore: update copyright year to 2023 (#17247) 2023-01-02 21:00:42 +00:00
run.rs refactor(cli): extract out ProcState from CliMainWorker (#18867) 2023-04-27 10:05:20 -04:00
standalone.rs fix(compile): write bytes directly to output file (#18777) 2023-04-19 21:50:56 +00:00
task.rs refactor(ext/node): allow injecting NodeFs from CLI (#18829) 2023-04-24 19:44:35 -04:00
test.rs refactor(cli): extract out ProcState from CliMainWorker (#18867) 2023-04-27 10:05:20 -04:00
upgrade.rs refactor(cli,ext,ops): cleanup regex with lazy-regex (#17296) 2023-04-13 03:08:01 +02:00