esm: add import.meta.dirname and import.meta.filename by jsumners · Pull Request #48740 · nodejs/node
This PR adds import.meta.dirname and import.meta.filename for ECMAScript Modules that are loaded from the local filesystem. In my view, these properties don’t make any sense for modules loaded from...