From d72e0281ff41a87c32aefd0876bace23470a4dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 26 May 2023 16:17:12 +0200 Subject: chore: upgrade rusty_v8 to 0.73.0 (#19278) --- cli/napi/js_native_api.rs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'cli/napi') diff --git a/cli/napi/js_native_api.rs b/cli/napi/js_native_api.rs index ed8aacb47..900a50f40 100644 --- a/cli/napi/js_native_api.rs +++ b/cli/napi/js_native_api.rs @@ -1444,18 +1444,21 @@ fn napi_define_class( None }; - let mut accessor_property = v8::NONE; + let mut accessor_property = v8::PropertyAttribute::NONE; if getter.is_some() && setter.is_some() && (p.attributes & napi_writable) == 0 { - accessor_property = accessor_property | v8::READ_ONLY; + accessor_property = + accessor_property | v8::PropertyAttribute::READ_ONLY; } if p.attributes & napi_enumerable == 0 { - accessor_property = accessor_property | v8::DONT_ENUM; + accessor_property = + accessor_property | v8::PropertyAttribute::DONT_ENUM; } if p.attributes & napi_configurable == 0 { - accessor_property = accessor_property | v8::DONT_DELETE; + accessor_property = + accessor_property | v8::PropertyAttribute::DONT_DELETE; } let proto = tpl.prototype_template(scope); -- cgit v1.2.3