Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a3b96bb

Browse files
committedMar 7, 2024·
fixup! module: print location of unsettled top-level await in entry points
1 parent 178a286 commit a3b96bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lib/internal/modules/esm/module_job.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ const {
55
ArrayPrototypePush,
66
ArrayPrototypeSome,
77
FunctionPrototype,
8-
globalThis,
98
ObjectSetPrototypeOf,
109
PromiseResolve,
1110
PromisePrototypeThen,
@@ -18,6 +17,7 @@ const {
1817
StringPrototypeIncludes,
1918
StringPrototypeSplit,
2019
StringPrototypeStartsWith,
20+
globalThis,
2121
} = primordials;
2222

2323
const { ModuleWrap } = internalBinding('module_wrap');

‎lib/internal/modules/run_main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use strict';
22

33
const {
4-
globalThis,
54
StringPrototypeEndsWith,
5+
globalThis,
66
} = primordials;
77

88
const { containsModuleSyntax } = internalBinding('contextify');

0 commit comments

Comments
 (0)
Please sign in to comment.