Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: mixed posix/win32 namespaces #197

Merged
merged 3 commits into from
Jan 9, 2025
Merged

fix: mixed posix/win32 namespaces #197

merged 3 commits into from
Jan 9, 2025

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jan 9, 2025

In #176 (2.0) we have introduced posix and win32 top level exports to match exact node:path exports as drop-in replacement.

However it wans't matching runtime behavior (found during unenv upgrade). path.posix.win32 can be chained.

This PR also fixes the issue that pathe.posix.delimiter is always set to : now + allows strict treeshaking (with esbuild)

@pi0 pi0 merged commit a48a600 into main Jan 9, 2025
1 check passed
@pi0 pi0 deleted the fix/mixed-ns branch January 9, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant