We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Incorrect support data (example: BrowserX says "86" but support was added in "40")
Says "Returns a URL object instead of a string" which is no longer true with latest Node
Node.js
Version information for when it starts returning strings
console.log(typeof import.meta.resolve("./worker.js"));
nodejs/node#49698
I don't know which Node versions it corresponds to exactly; the history in Node docs didn't list this change.
No response
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import.meta/resolve
javascript.operators.import_meta.resolve
The text was updated successfully, but these errors were encountered:
According to this comment on node.js issue it got fixed in 20.8.0. It's also in the changelog and here are the commit and PR in which it landed.
Sorry, something went wrong.
per nodejs/node#49698, it is also backlog to v18.19.0
see https://nodejs.org/docs/latest/api/esm.html#importmetaresolvespecifier
Fixes mdn#24054 | Update nodejs data for import.meta.resolve
import.meta.resolve
643bd7c
bd1ae82
Successfully merging a pull request may close this issue.
What type of issue is this?
Incorrect support data (example: BrowserX says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
Says "Returns a URL object instead of a string" which is no longer true with latest Node
What browsers does this problem apply to, if applicable?
Node.js
What did you expect to see?
Version information for when it starts returning strings
Did you test this? If so, how?
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
nodejs/node#49698
I don't know which Node versions it corresponds to exactly; the history in Node docs didn't list this change.
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import.meta/resolve
MDN metadata
MDN page report details
javascript.operators.import_meta.resolve
The text was updated successfully, but these errors were encountered: