diff --git a/lib/internal/modules/esm/module_job.js b/lib/internal/modules/esm/module_job.js index c55398304b480d..108a8138443de0 100644 --- a/lib/internal/modules/esm/module_job.js +++ b/lib/internal/modules/esm/module_job.js @@ -5,7 +5,6 @@ const { ArrayPrototypePush, ArrayPrototypeSome, FunctionPrototype, - globalThis, ObjectSetPrototypeOf, PromiseResolve, PromisePrototypeThen, @@ -18,6 +17,7 @@ const { StringPrototypeIncludes, StringPrototypeSplit, StringPrototypeStartsWith, + globalThis, } = primordials; const { ModuleWrap } = internalBinding('module_wrap'); diff --git a/lib/internal/modules/run_main.js b/lib/internal/modules/run_main.js index a0f43e90b43554..b134a54cfec92a 100644 --- a/lib/internal/modules/run_main.js +++ b/lib/internal/modules/run_main.js @@ -1,8 +1,8 @@ 'use strict'; const { - globalThis, StringPrototypeEndsWith, + globalThis, } = primordials; const { containsModuleSyntax } = internalBinding('contextify');