Uh oh!
There was an error while loading. Please reload this page.
esm: fix hint on invalid module specifier - #51223
Conversation
nodejs-github-bot
commented
Dec 19, 2023
Review requested:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Nit: This might be a little bit more readable.
| found=`${pathToFileURL(found)}`; | |
| found=pathToFileURL(found).href; |
There was a problem hiding this comment.
I think we try to always "coerce to string" in core rather than calling the .href getter, that way if the prototype gets tampered with, all of core is affected consistently.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
afafad2 to
67439d1Comparefix for Windows (`?` is illegal in file names apparently)
nodejs-github-bot
commented
Dec 21, 2023
nodejs-github-bot
commented
Dec 21, 2023
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
nodejs-github-bot
commented
Dec 23, 2023
nodejs-github-bot
commented
Dec 23, 2023
nodejs-github-bot
commented
Dec 23, 2023
Landed in a717fa2 |
URLs are hard to work with.
Fixes: #51216