diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-01-24 18:54:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-24 18:54:10 +0100 |
commit | abd96105300a7729a4d8eb69af2e81dd6307a163 (patch) | |
tree | 75b7556f876b2a2df3e22b905922dfb11572ef6d /test_napi/common.js | |
parent | 1084027d502d54ebf256c867fe85600b295d8a06 (diff) |
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 <stibium121@gmail.com>
Diffstat (limited to 'test_napi/common.js')
-rw-r--r-- | test_napi/common.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |