Skip to content

Commit 49f979d

Browse files
authored
backport unflagging of require(esm) to v20
nodejs/node#56927
1 parent 687093e commit 49f979d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/node/fix_do_not_resolve_electron_entrypoints.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ index 4ad694debfc72f56dd98a4e56dd0bbc63711242e..73f0e00ad34132e7d2fd37ec32111088
4343
+ StringPrototypeStartsWith,
4444
} = primordials;
4545

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

0 commit comments

Comments
 (0)