summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock4
-rw-r--r--core/Cargo.toml2
-rw-r--r--core/bindings.rs2
3 files changed, 5 insertions, 3 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 59fd0dbe3..63e1bcea5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2237,9 +2237,9 @@ dependencies = [
[[package]]
name = "rusty_v8"
-version = "0.16.0"
+version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a50f63f3030b5a676b9f6e7d53bf1f880904973c2350a3f034dbf82facca0b4f"
+checksum = "e4cacd73b88c22512f09c5ec78e56eb89d95e4dc1201fe52bd6c81824b5e041b"
dependencies = [
"bitflags",
"cargo_gn",
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 116247c2f..9e90fdac3 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -20,7 +20,7 @@ lazy_static = "1.4.0"
libc = "0.2.82"
log = "0.4.13"
pin-project = "1.0.4"
-rusty_v8 = "0.16.0"
+rusty_v8 = "0.17.0"
serde = { version = "1.0.121", features = ["derive"] }
serde_json = { version = "1.0.61", features = ["preserve_order"] }
smallvec = "1.6.1"
diff --git a/core/bindings.rs b/core/bindings.rs
index 8a41b6027..4dee34a93 100644
--- a/core/bindings.rs
+++ b/core/bindings.rs
@@ -210,6 +210,7 @@ pub extern "C" fn host_import_module_dynamically_callback(
context: v8::Local<v8::Context>,
referrer: v8::Local<v8::ScriptOrModule>,
specifier: v8::Local<v8::String>,
+ _import_assertions: v8::Local<v8::FixedArray>,
) -> *mut v8::Promise {
let scope = &mut unsafe { v8::CallbackScope::new(context) };
@@ -714,6 +715,7 @@ fn shared_getter(
pub fn module_resolve_callback<'s>(
context: v8::Local<'s, v8::Context>,
specifier: v8::Local<'s, v8::String>,
+ _import_assertions: v8::Local<'s, v8::FixedArray>,
referrer: v8::Local<'s, v8::Module>,
) -> Option<v8::Local<'s, v8::Module>> {
let scope = &mut unsafe { v8::CallbackScope::new(context) };