From e7934432ced9674d23d31a4b6973398bd8c8d090 Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Sat, 17 Sep 2022 15:25:19 +0530 Subject: chore: upgrade rusty_v8 to v0.50.0 (#15762) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Darshan Sen Co-authored-by: Bartek IwaƄczuk --- core/Cargo.toml | 2 +- core/runtime.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core') 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::(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); -- cgit v1.2.3