diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-02-05 22:25:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 22:25:02 +0100 |
commit | a6723fafc5cb4dfb58bfbc709845beaed8cd38e9 (patch) | |
tree | 95a9f80c4b5aed4efc61df92584367c0d547b905 /core | |
parent | b6353672f8d01b8c7a67131aac52c6492b432677 (diff) |
upgrade: rusty_v8 0.17.0, v8 9.0.123 (#9413)
Diffstat (limited to 'core')
-rw-r--r-- | core/Cargo.toml | 2 | ||||
-rw-r--r-- | core/bindings.rs | 2 |
2 files changed, 3 insertions, 1 deletions
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) }; |