process: use primordials in bootstrap/node.js
PR-URL: https://github.com/nodejs/node/pull/26033 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
fda80e3c99
commit
e5da922668
@ -34,9 +34,10 @@
|
||||
// This file is compiled as if it's wrapped in a function with arguments
|
||||
// passed by node::RunBootstrapping()
|
||||
/* global process, loaderExports, isMainThread, ownsProcessState */
|
||||
/* global primordials */
|
||||
|
||||
const { internalBinding, NativeModule } = loaderExports;
|
||||
|
||||
const { Object, Symbol } = primordials;
|
||||
const { getOptionValue } = NativeModule.require('internal/options');
|
||||
const config = internalBinding('config');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user