<!--- Provide a clear and concise description of what the bug is. --> **Reproduction** - https://unpkg.alipay.com/browse/node-fetch@2.6.4/lib/index.mjs - `import { URL } from 'whatwg-url';` (es module) - https://unpkg.alipay.com/browse/whatwg-url@5.0.0/lib/public-api.js (commonjs, no default export) - `ModuleDependencyError: Can't import the named export 'URL' from non EcmaScript module (only default export is available)` **Expected behavior** <!--- If you're suggesting a change/improvement, tell us how it should work --> <!--- If fetch is behaving incorrectly, please include a link to the spec or documentation that supports that your expected behavior is correct. --> **Screenshots** <!--- If applicable, add screenshots to help explain your problem. --> **Your Environment** <!--- Include as many relevant details about the environment you experienced the bug in --> | software | version | ---------------- | ------- | node-fetch | | node | | npm | | Operating System | **Additional context** <!--- Add any other context about the problem here. -->