From e5da9226681a6d1efba09cef25618d7106ae2bb9 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Sun, 10 Feb 2019 17:42:22 +0800 Subject: process: use primordials in bootstrap/node.js PR-URL: https://github.com/nodejs/node/pull/26033 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell --- lib/internal/bootstrap/node.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index a8bc57cd1b..c40d4fe09a 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -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'); -- cgit v1.2.3