Skip to content

fix: mixed posix/win32 namespaces#197

Merged
pi0 merged 3 commits intomainfrom
fix/mixed-ns
Jan 9, 2025
Merged

fix: mixed posix/win32 namespaces#197
pi0 merged 3 commits intomainfrom
fix/mixed-ns

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