diff options
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | core/ops_builtin_v8.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock index 913084af8..93ba0c55e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index 1e6121db1..f2e61205e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" } diff --git a/core/ops_builtin_v8.rs b/core/ops_builtin_v8.rs index 978134ee2..c3c4ec092 100644 --- a/core/ops_builtin_v8.rs +++ b/core/ops_builtin_v8.rs @@ -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 |