diff --git a/Cargo.lock b/Cargo.lock index 59fd0dbe3d..63e1bcea52 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 116247c2f5..9e90fdac34 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 8a41b60270..4dee34a933 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, referrer: v8::Local, specifier: v8::Local, + _import_assertions: v8::Local, ) -> *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> { let scope = &mut unsafe { v8::CallbackScope::new(context) };