diff --git a/crates/static-analysis-kernel/Cargo.toml b/crates/static-analysis-kernel/Cargo.toml index 7e0f86ce..a1dca00b 100644 --- a/crates/static-analysis-kernel/Cargo.toml +++ b/crates/static-analysis-kernel/Cargo.toml @@ -17,7 +17,7 @@ indexmap = { workspace = true } tree-sitter = { workspace = true } # other -deno_core = "0.292.0" +deno_core = "0.321.0" globset = "0.4.14" graphviz-rust = "0.9.0" sequence_trie = "0.3.6" diff --git a/crates/static-analysis-kernel/src/analysis/ddsa_lib/test_utils.rs b/crates/static-analysis-kernel/src/analysis/ddsa_lib/test_utils.rs index 117f06c4..9f4e2c2b 100644 --- a/crates/static-analysis-kernel/src/analysis/ddsa_lib/test_utils.rs +++ b/crates/static-analysis-kernel/src/analysis/ddsa_lib/test_utils.rs @@ -466,7 +466,7 @@ pub fn cfg_test_v8() -> V8Platform { // In order to get around this, we can use the "unprotected" v8 platform. let platform = v8::new_unprotected_default_platform(0, false); let shared_platform = platform.make_shared(); - deno_core::JsRuntime::init_platform(Some(shared_platform)); + deno_core::JsRuntime::init_platform(Some(shared_platform), false); } V8Platform::(std::marker::PhantomData) } diff --git a/crates/static-analysis-kernel/src/analysis/ddsa_lib/v8_platform.rs b/crates/static-analysis-kernel/src/analysis/ddsa_lib/v8_platform.rs index 913a660e..02c83c2c 100644 --- a/crates/static-analysis-kernel/src/analysis/ddsa_lib/v8_platform.rs +++ b/crates/static-analysis-kernel/src/analysis/ddsa_lib/v8_platform.rs @@ -29,7 +29,7 @@ impl V8Platform { fn initialize(self, thread_pool_size: u32) -> V8Platform { let platform = v8::new_default_platform(thread_pool_size, false); let shared_platform = platform.make_shared(); - deno_core::JsRuntime::init_platform(Some(shared_platform)); + deno_core::JsRuntime::init_platform(Some(shared_platform), false); V8Platform::(std::marker::PhantomData) }