summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/path.ts
diff options
context:
space:
mode:
authorRyan Clements <ryanclementshax@gmail.com>2023-04-18 04:44:25 -0400
committerGitHub <noreply@github.com>2023-04-18 10:44:25 +0200
commitb0b0594767cf52c8d557f57d2c7632b446262f54 (patch)
tree33f0a9b4ec9cb33471e52bf8e36d8a7314850458 /ext/node/polyfills/path.ts
parent54c31194a5bb3b0fc4d09d52b3587e76d4f1cd4a (diff)
fix(path): Remove non node symbols (#18630)
- preserve referential invariants (e.g. path.posix === posix) - remove glob and separator exports - save removal of fromFileUrl and toFileUrl for a different PR as that refactor is more involved - addresses #18177
Diffstat (limited to 'ext/node/polyfills/path.ts')
-rw-r--r--ext/node/polyfills/path.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/node/polyfills/path.ts b/ext/node/polyfills/path.ts
index e5a6ca905..d2b6e673f 100644
--- a/ext/node/polyfills/path.ts
+++ b/ext/node/polyfills/path.ts
@@ -1,4 +1,4 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
export * from "ext:deno_node/path/mod.ts";
-import * as m from "ext:deno_node/path/mod.ts";
-export default { ...m };
+import m from "ext:deno_node/path/mod.ts";
+export default m;