-
Notifications
You must be signed in to change notification settings - Fork 584
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
The windows logic in std/path breaks in DNT #5468
Comments
This is likely an issue with the build script. Try adding |
It seems we used to cast globalThis to any before accessing to navigator https://github.com/denoland/std/blob/release-2024.06.03/path/_os.ts#L27 DNT probably checks types with I think this is probably a Node.js compat issue. |
Describe the bug
I want to publish a package to NPM using DNT. It worked fine until now. After updating
@std/path
from 0.225.2 to 1.0.0, the build process breaks:Steps to Reproduce
deno task build-npm 1.12.10
Expected behavior
The build is done successfully
Environment
The text was updated successfully, but these errors were encountered: