summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-02-10 13:40:03 +0100
committerGitHub <noreply@github.com>2023-02-10 12:40:03 +0000
commit1740e0fc3650dbf072ada4a530618db2a84a0854 (patch)
treed99449f7087bf216334a8f4adc9898cd51c14173
parentc83abb80febd6b9b4f661d13716a573e9d0cfc28 (diff)
chore: upgrade rusty_v8 to 0.63.0 (#17705)
-rw-r--r--Cargo.lock4
-rw-r--r--Cargo.toml2
-rw-r--r--core/ops_builtin_v8.rs2
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