diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-04-26 19:57:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 19:57:38 +0200 |
commit | 14aaa73c0200d7fac4aa224d623e28b5955daab9 (patch) | |
tree | b5a0c41f831fefb2d506f323a55570493a216787 /core/01_core.js | |
parent | 2df6db36c85c27d424d54e9c168ef4ea09c5c08c (diff) |
refactor: don't expose Deno[Deno.internal].core namespace (#18816)
Diffstat (limited to 'core/01_core.js')
-rw-r--r-- | core/01_core.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/01_core.js b/core/01_core.js index a8bdeb2a8..7663db5d9 100644 --- a/core/01_core.js +++ b/core/01_core.js @@ -453,7 +453,6 @@ BadResourcePrototype, Interrupted, InterruptedPrototype, - enableOpCallTracing, isOpCallTracingEnabled, opCallTraces, refOp, @@ -507,8 +506,11 @@ }); ObjectAssign(globalThis.__bootstrap, { core }); - const internals = {}; - ObjectAssign(globalThis.__bootstrap, { internals }); + ObjectAssign(globalThis.__bootstrap, { + internals: { + enableOpCallTracing, + }, + }); ObjectAssign(globalThis.Deno, { core }); // Direct bindings on `globalThis` |