summaryrefslogtreecommitdiff
path: root/std/node/url.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/url.ts')
-rw-r--r--std/node/url.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/std/node/url.ts b/std/node/url.ts
index 826a274f8..577c5eaf2 100644
--- a/std/node/url.ts
+++ b/std/node/url.ts
@@ -36,6 +36,9 @@ const newlineRegEx = /\n/g;
const carriageReturnRegEx = /\r/g;
const tabRegEx = /\t/g;
+const _url = URL;
+export { _url as URL };
+
export function fileURLToPath(path: string | URL): string {
if (typeof path === "string") path = new URL(path);
else if (!(path instanceof URL)) {