summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/path/win32.ts
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-09-10 17:00:08 -0700
committerGitHub <noreply@github.com>2024-09-11 00:00:08 +0000
commitacd62786c24c38d8986475f0660d5205b55a9ad3 (patch)
treef738d331cfd981448cc82e3e8ee60a0ab8611ec5 /ext/node/polyfills/path/win32.ts
parentf959297dcd382b25bdedd0ff6aa27e8fb40e7ecd (diff)
fix(ext/node): Add missing `node:path` exports (#25567)
Apparently `path/posix` and `path/win32` have circular exports. I do not know why. Additionally there's a deprecated function `_makeLong` which is just `toNamespacedPath`
Diffstat (limited to 'ext/node/polyfills/path/win32.ts')
-rw-r--r--ext/node/polyfills/path/win32.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/node/polyfills/path/win32.ts b/ext/node/polyfills/path/win32.ts
index 06806e81b..02e6f97c5 100644
--- a/ext/node/polyfills/path/win32.ts
+++ b/ext/node/polyfills/path/win32.ts
@@ -18,6 +18,9 @@ export const {
resolve,
sep,
toNamespacedPath,
+ _makeLong,
} = path.win32;
+export const posix = path.posix;
+export const win32 = path.win32;
export default path.win32;