mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
refactor(ext/node): export GlobalsStorage
(#28683)
This commit is contained in:
parent
aa1f43702d
commit
cf4afb9c9c
2 changed files with 2 additions and 1 deletions
|
@ -105,7 +105,7 @@ enum Mode {
|
|||
Node,
|
||||
}
|
||||
|
||||
struct GlobalsStorage {
|
||||
pub struct GlobalsStorage {
|
||||
deno_globals: v8::Global<v8::Object>,
|
||||
node_globals: v8::Global<v8::Object>,
|
||||
}
|
||||
|
|
|
@ -40,6 +40,7 @@ pub use ops::vm::VM_CONTEXT_INDEX;
|
|||
|
||||
use crate::global::global_object_middleware;
|
||||
use crate::global::global_template_middleware;
|
||||
pub use crate::global::GlobalsStorage;
|
||||
|
||||
pub fn is_builtin_node_module(module_name: &str) -> bool {
|
||||
DenoIsBuiltInNodeModuleChecker.is_builtin_node_module(module_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue