summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/module_esm.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/module_esm.ts')
-rw-r--r--ext/node/polyfills/module_esm.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/node/polyfills/module_esm.ts b/ext/node/polyfills/module_esm.ts
index e9cb38ff1..5b1cef0bb 100644
--- a/ext/node/polyfills/module_esm.ts
+++ b/ext/node/polyfills/module_esm.ts
@@ -26,10 +26,7 @@
* Unfortunately we have no way to call ESM resolution in Rust from TypeScript code.
*/
-import {
- fileURLToPath,
- pathToFileURL,
-} from "internal:deno_node/polyfills/url.ts";
+import { fileURLToPath, pathToFileURL } from "internal:deno_node/url.ts";
import {
ERR_INVALID_MODULE_SPECIFIER,
ERR_INVALID_PACKAGE_CONFIG,
@@ -38,7 +35,7 @@ import {
ERR_PACKAGE_IMPORT_NOT_DEFINED,
ERR_PACKAGE_PATH_NOT_EXPORTED,
NodeError,
-} from "internal:deno_node/polyfills/internal/errors.ts";
+} from "internal:deno_node/internal/errors.ts";
const { hasOwn } = Object;