From abd96105300a7729a4d8eb69af2e81dd6307a163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 24 Jan 2023 18:54:10 +0100 Subject: refactor: remove Deno.core (#16881) This commit removes "Deno.core" namespace. It is strictly private API that has no stability guarantees, we were supposed to remove it long time ago. Co-authored-by: Yoshiya Hinosawa --- test_napi/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test_napi') diff --git a/test_napi/common.js b/test_napi/common.js index 23f58c60c..915a43818 100644 --- a/test_napi/common.js +++ b/test_napi/common.js @@ -17,5 +17,5 @@ const [libPrefix, libSuffix] = { export function loadTestLibrary() { const specifier = `${targetDir}/${libPrefix}test_napi.${libSuffix}`; - return Deno.core.ops.op_napi_open(specifier); // Internal, used in ext/node + return Deno[Deno.internal].core.ops.op_napi_open(specifier); // Internal, used in ext/node } -- cgit v1.2.3