esm: Make import.meta.resolve(…)
take an options argument
#31861
Labels
esm
Issues and PRs related to the ECMAScript Modules implementation.
require.resolve(…)
takes a second optionaloptions
argument, instead of a second optionalparent
string argument.This differs from what's been implemented in #31032.
import.meta.resolve(…)
andrequire.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
The text was updated successfully, but these errors were encountered: