diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-09-10 17:00:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-11 00:00:08 +0000 |
commit | acd62786c24c38d8986475f0660d5205b55a9ad3 (patch) | |
tree | f738d331cfd981448cc82e3e8ee60a0ab8611ec5 /ext/node/polyfills/path/_posix.ts | |
parent | f959297dcd382b25bdedd0ff6aa27e8fb40e7ecd (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/_posix.ts')
-rw-r--r-- | ext/node/polyfills/path/_posix.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/node/polyfills/path/_posix.ts b/ext/node/polyfills/path/_posix.ts index 555b7dc6d..bf0b91d48 100644 --- a/ext/node/polyfills/path/_posix.ts +++ b/ext/node/polyfills/path/_posix.ts @@ -478,6 +478,9 @@ export function parse(path: string): ParsedPath { return ret; } + +export const _makeLong = toNamespacedPath; + export default { basename, delimiter, @@ -492,4 +495,5 @@ export default { resolve, sep, toNamespacedPath, + _makeLong, }; |