mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 06:04:48 +00:00
refactor: don't expose Deno[Deno.internal].core namespace (#18816)
This commit is contained in:
parent
2df6db36c8
commit
14aaa73c02
12 changed files with 95 additions and 61 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue