esm: add `import.meta.node.resolveURL`
I'm not really a fan of implementing Node.js specific APIs, but import.meta.resolve
is not always fitted for Node.js usage. The main differences are:
- Async API is so it can be used in custom loader.
- Returning a
URL
instance so it's easier to use withnode:fs
.