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

🐛 Bug Report — path/posix and path/win32 #3012

Closed
vicb opened this issue Oct 27, 2024 · 0 comments · Fixed by #3015
Closed

🐛 Bug Report — path/posix and path/win32 #3012

vicb opened this issue Oct 27, 2024 · 0 comments · Fixed by #3015

Comments

@vicb
Copy link
Contributor

vicb commented Oct 27, 2024

With Node.js:

path = await import('node:path')
path.delimiter
// ':'

pathPosix = await import('node:path/posix')
pathPosix.delimiter
// ':'

With workerd:

const path = await import("node:path");
console.log(path.delimiter); // ':'

const pathPosix = await import("node:path/posix");
console.log(pathPosix.delimiter); // undefined 
console.log(pathPosix.default.delimiter); // ':'

/cc @anonrig

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 a pull request may close this issue.

1 participant