chore: upgrade rusty_v8 to 0.63.0 (#17705)

This commit is contained in:
Bartek Iwańczuk 2023-02-10 13:40:03 +01:00 committed by GitHub
parent c83abb80fe
commit 1740e0fc36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

4
Cargo.lock generated
View file

@ -5439,9 +5439,9 @@ dependencies = [
[[package]]
name = "v8"
version = "0.62.2"
version = "0.63.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a317c7a8a25e2cf54acd715038c50f52c0e26aca888b85b62d472f59e221282"
checksum = "547e58962ac268fe0b1fbfb653ed341a08e3953994f7f7c978e46ec30afdf8f0"
dependencies = [
"bitflags",
"fslock",

View file

@ -41,7 +41,7 @@ license = "MIT"
repository = "https://github.com/denoland/deno"
[workspace.dependencies]
v8 = { version = "0.62.2", default-features = false }
v8 = { version = "0.63.0", default-features = false }
deno_ast = { version = "0.24.0", features = ["transpiling"] }
deno_core = { version = "0.171.0", path = "./core" }

View file

@ -611,7 +611,7 @@ fn op_set_promise_hooks(
Ok::<_, Error>(v8_fns)
})?;
scope.get_current_context().set_promise_hooks(
scope.set_promise_hooks(
v8_fns[0], // init
v8_fns[1], // before
v8_fns[2], // after