From acd62786c24c38d8986475f0660d5205b55a9ad3 Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Tue, 10 Sep 2024 17:00:08 -0700 Subject: 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` --- ext/node/polyfills/path/_win32.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/node/polyfills/path/_win32.ts') diff --git a/ext/node/polyfills/path/_win32.ts b/ext/node/polyfills/path/_win32.ts index b8fe241bb..11c82e0ee 100644 --- a/ext/node/polyfills/path/_win32.ts +++ b/ext/node/polyfills/path/_win32.ts @@ -953,6 +953,8 @@ export function parse(path: string): ParsedPath { return ret; } +export const _makeLong = toNamespacedPath; + export default { basename, delimiter, @@ -967,4 +969,5 @@ export default { resolve, sep, toNamespacedPath, + _makeLong, }; -- cgit v1.2.3