-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
esm: graduate import.meta properties #58011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Mark as no longer experimental: * `import.meta.resolve()` * `import.meta.dirname` * `import.meta.filename`
Review requested:
|
@@ -350,10 +350,12 @@ properties. It is only supported in ES modules. | |||
added: | |||
- v21.2.0 | |||
- v20.11.0 | |||
changes: | |||
- version: REPLACEME | |||
pr-url: https://github.com/nodejs/node/pull/00000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pr-url: https://github.com/nodejs/node/pull/00000 | |
pr-url: https://github.com/nodejs/node/pull/58011 |
- version: REPLACEME | ||
pr-url: https://github.com/nodejs/node/pull/00000 | ||
description: This property is no longer experimental. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO we should first make --experimental-import-meta-resolve
a no-op and expose an API to replace it. I have a PR for that, I just need to get back to it
Mark as no longer experimental:
import.meta.resolve()
import.meta.dirname
import.meta.filename