-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.
Description
require.resolve(…)
takes a second optional options
argument, instead of a second optional parent
string argument.
This differs from what's been implemented in #31032.
import.meta.resolve(…)
and require.resolve(…)
should both take a string and an options object, instead of one taking two strings and the other taking a string and an options object.
/cc @guybedford
Metadata
Metadata
Assignees
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.