esm: identify parent importing a url with invalid host
New output:
TypeError [ERR_INVALID_FILE_URL_HOST]: File URL host must be "localhost" or empty on darwin
at new NodeError (node:internal/errors:406:5)
at getPathFromURLPosix (node:internal/url:1385:11)
at fileURLToPath (node:internal/url:1408:50)
at finalizeResolution (node:internal/modules/esm/resolve:210:16)
…
code: 'ERR_INVALID_FILE_URL_HOST',
input: 'file://hmm.js/',
module: 'file:///…/test.mjs'