diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/Cargo.toml | 2 | ||||
-rw-r--r-- | core/runtime.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml index 88c1b9c2d..32b9e5e59 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -33,7 +33,7 @@ serde_json = { version = "1.0.79", features = ["preserve_order"] } serde_v8 = { version = "0.62.0", path = "../serde_v8" } sourcemap = "6.1" url = { version = "2.3.1", features = ["serde", "expose_internals"] } -v8 = { version = "0.49.0", default-features = false } +v8 = { version = "0.50.0", default-features = false } [[example]] name = "http_bench_json_ops" diff --git a/core/runtime.rs b/core/runtime.rs index 2c16ddeb8..c88f91d91 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -726,7 +726,7 @@ impl JsRuntime { { let scope = &mut self.handle_scope(); let o = Self::grab_global::<v8::Object>(scope, "Deno.core.ops").unwrap(); - let names = o.get_own_property_names(scope).unwrap(); + let names = o.get_own_property_names(scope, Default::default()).unwrap(); for i in 0..names.length() { let key = names.get_index(scope, i).unwrap(); o.delete(scope, key); |