1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-05 13:59:01 -05:00

chore: update rusty_v8 to 0.56.1 (#16835)

This commit is contained in:
Bartek Iwańczuk 2022-11-26 20:11:27 +01:00 committed by Yoshiya Hinosawa
parent e095c54422
commit 5e9e1395d0
No known key found for this signature in database
GPG key ID: 0E8BFAA8A5B4E92B
3 changed files with 5 additions and 4 deletions

4
Cargo.lock generated
View file

@ -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",

View file

@ -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" }

View file

@ -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.