Skip to content

Commit 116e3c1

Browse files
committed
module: print location of unsettled top-level await in entry points
nodejs/node#51999
1 parent dc6172e commit 116e3c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎patches/node/fix_do_not_resolve_electron_entrypoints.patch‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ index f3dfc69cd2cdec50bc3b3f7cb2d63349812d87dd..b6f2d7194cb75ecc8c47869761c63184
3333
if (!loaded) {
3434
module = new CJSModule(filename);
3535
diff --git a/lib/internal/modules/run_main.js b/lib/internal/modules/run_main.js
36-
index ca401044c0178c46db9b439b27c440a5d7924c84..dc1a682f0a3cf1ba1095c60bf6a6ca992d6043b3 100644
36+
index 1e1a1ea46fc6c1b43cad4038ab0d9cdf21d6ba3d..7daf0cb5f6cc7cb7f3f6cd88af3443558ff0e82f 100644
3737
--- a/lib/internal/modules/run_main.js
3838
+++ b/lib/internal/modules/run_main.js
3939
@@ -2,6 +2,7 @@
4040

4141
const {
4242
StringPrototypeEndsWith,
4343
+ StringPrototypeStartsWith,
44+
globalThis,
4445
} = primordials;
4546

46-
const { containsModuleSyntax } = internalBinding('contextify');
4747
@@ -22,6 +23,13 @@ const {
4848
* @param {string} main - Entry point path
4949
*/

0 commit comments

Comments
 (0)