mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
parent
f377fce640
commit
aef9bca876
3 changed files with 20 additions and 10 deletions
17
Cargo.lock
generated
17
Cargo.lock
generated
|
@ -1257,9 +1257,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "deno_core"
|
||||
version = "0.269.0"
|
||||
version = "0.270.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "a14bd0f882d9f2c9041c7e311ca11ebb96f31d0524d67d9ced650bb0bf1c0923"
|
||||
checksum = "2af854955a06a4bde79c68600a78d2269f5a783417f5adc1d2d1fd410b6cc434"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bincode",
|
||||
|
@ -1716,9 +1716,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "deno_ops"
|
||||
version = "0.145.0"
|
||||
version = "0.146.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "855c2a983b2e0533c05172fa1afc7cc00c23cb3d8de1a4ec4428fb54507a13e2"
|
||||
checksum = "13689abbb2af68c19b949a8852d9612f063fdc68a446a9c9d2b7b1e340f8516c"
|
||||
dependencies = [
|
||||
"proc-macro-rules",
|
||||
"proc-macro2",
|
||||
|
@ -5629,12 +5629,11 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "serde_v8"
|
||||
version = "0.178.0"
|
||||
version = "0.179.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b2a1c7ecee7d18a29aa6a079cfd1202bdee92eff4b3c3ae6e7d1256b9d0ff8ce"
|
||||
checksum = "80ed6b8604315921ba50f2a872b89b93327aa53a1219d11304ee29fb625344bc"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"derive_more",
|
||||
"num-bigint",
|
||||
"serde",
|
||||
"smallvec",
|
||||
|
@ -7121,9 +7120,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "v8"
|
||||
version = "0.83.2"
|
||||
version = "0.85.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9f6c8a960dd2eb74b22eda64f7e9f3d1688f82b80202828dc0425ebdeda826ef"
|
||||
checksum = "ec8e09551fa5c3500b47f08912b4a39e07ae20a3874051941408fbd52e3e5190"
|
||||
dependencies = [
|
||||
"bitflags 2.4.1",
|
||||
"fslock",
|
||||
|
|
|
@ -44,7 +44,7 @@ repository = "https://github.com/denoland/deno"
|
|||
|
||||
[workspace.dependencies]
|
||||
deno_ast = { version = "0.34.1", features = ["transpiling"] }
|
||||
deno_core = { version = "0.269.0", features = ["lazy_eval_snapshot"] }
|
||||
deno_core = { version = "0.270.0", features = ["lazy_eval_snapshot"] }
|
||||
|
||||
deno_bench_util = { version = "0.135.0", path = "./bench_util" }
|
||||
deno_lockfile = "0.19.0"
|
||||
|
|
|
@ -497,6 +497,17 @@ impl MainWorker {
|
|||
if let Some(op_summary_metrics) = op_summary_metrics {
|
||||
js_runtime.op_state().borrow_mut().put(op_summary_metrics);
|
||||
}
|
||||
extern "C" fn message_handler(
|
||||
_msg: v8::Local<v8::Message>,
|
||||
_exception: v8::Local<v8::Value>,
|
||||
) {
|
||||
// TODO(@littledivy): Propogate message to users.
|
||||
}
|
||||
|
||||
// Register message listener
|
||||
js_runtime
|
||||
.v8_isolate()
|
||||
.add_message_listener(message_handler);
|
||||
|
||||
if let Some(server) = options.maybe_inspector_server.clone() {
|
||||
server.register_inspector(
|
||||
|
|
Loading…
Reference in a new issue