0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-29 08:58:01 -04:00
denoland-deno/cli/tools
Bartek Iwańczuk e5beb800c9
refactor: move JsRuntimeInspector to deno_core (#10763)
This commit moves implementation of "JsRuntimeInspector" to "deno_core" crate.

To achieve that following changes were made:

* "Worker" and "WebWorker" no longer own instance of "JsRuntimeInspector",
instead it is now owned by "deno_core::JsRuntime".

* Consequently polling of inspector is no longer done in "Worker"/"WebWorker",
instead it's done in "deno_core::JsRuntime::poll_event_loop".

* "deno_core::JsRuntime::poll_event_loop" and "deno_core::JsRuntime::run_event_loop",
now accept "wait_for_inspector" boolean that tells if event loop should still be 
"pending" if there are active inspector sessions - this change fixes the problem 
that inspector disconnects from the frontend and process exits once the code has
stopped executing.
2021-05-26 21:07:12 +02:00
..
coverage.rs refactor: move JsRuntimeInspector to deno_core (#10763) 2021-05-26 21:07:12 +02:00
doc.rs fix: static import permissions in dynamic imports 2021-05-17 09:45:54 +02:00
fmt.rs feat(lsp): support formatting json and markdown files (#10180) 2021-05-18 16:35:46 +10:00
installer.rs fix(deno install): support file: scheme URLs (#10562) 2021-05-19 07:40:23 -04:00
lint.rs chore: upgrade crates (#10559) 2021-05-10 22:39:16 +02:00
mod.rs feat(cli/doc): use type definitions "deno doc" if available (#8459) 2021-02-25 16:24:05 +01:00
repl.rs refactor: move JsRuntimeInspector to deno_core (#10763) 2021-05-26 21:07:12 +02:00
standalone.rs Remove denort optimization (#10350) 2021-04-26 13:28:38 -04:00
test_runner.rs refactor: move JsRuntimeInspector to deno_core (#10763) 2021-05-26 21:07:12 +02:00
upgrade.rs fix(cli/upgrade): modify download size paddings (#10639) 2021-05-24 16:55:44 +09:00