From 5e9e1395d081cacab9d96fe94c60f28ded36fbbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 26 Nov 2022 20:11:27 +0100 Subject: [PATCH] chore: update rusty_v8 to 0.56.1 (#16835) --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- core/inspector.rs | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f5091c5456..e954a63586 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5387,9 +5387,9 @@ dependencies = [ [[package]] name = "v8" -version = "0.56.0" +version = "0.56.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4182d3112bf61cc6bbc4839b728c27d5aa5c6b12ee26b91b039308715a61c208" +checksum = "f7591a2478046263bc28ec09c70f4a43a5ac33b60f4480a29e2dde1ba4335c24" dependencies = [ "bitflags", "fslock", diff --git a/Cargo.toml b/Cargo.toml index 034536d251..c797d1c870 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ license = "MIT" repository = "https://github.com/denoland/deno" [workspace.dependencies] -v8 = { version = "0.56.0", default-features = false } +v8 = { version = "0.56.1", default-features = false } deno_ast = { version = "0.21.0", features = ["transpiling"] } deno_core = { version = "0.161.0", path = "./core" } diff --git a/core/inspector.rs b/core/inspector.rs index b1047d421d..daedd291d1 100644 --- a/core/inspector.rs +++ b/core/inspector.rs @@ -183,12 +183,13 @@ impl JsRuntimeInspector { // Tell the inspector about the global context. let context = v8::Local::new(scope, context); let context_name = v8::inspector::StringView::from(&b"global context"[..]); + let aux_data = v8::inspector::StringView::from(&b""[..]); self_ .v8_inspector .borrow_mut() .as_mut() .unwrap() - .context_created(context, Self::CONTEXT_GROUP_ID, context_name); + .context_created(context, Self::CONTEXT_GROUP_ID, context_name, aux_data); // Poll the session handler so we will get notified whenever there is // new incoming debugger activity.