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] Can't exec bin that start with . #116

Closed
1 task done
remiposo opened this issue Aug 18, 2024 · 0 comments · Fixed by #119
Closed
1 task done

[BUG] Can't exec bin that start with . #116

remiposo opened this issue Aug 18, 2024 · 0 comments · Fixed by #119

Comments

@remiposo
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

After #105, bin that start with . are now considered invalid to prevent out of scope path traversals. As a result, bin like "bin": {"hoge": ".bin/hoge.js"} are now also considered invalid and removed. Was this an intentional change?

It seems that scripts like create-rust-webpack are no longer executable.
rustwasm/rust-webpack-template#190

❯ npm init rust-webpack
npm error could not determine executable to run

Expected Behavior

If this change was not intentional, I would like to continue executing scripts as before.

Steps To Reproduce

  1. Run npm init rust-webpack

Environment

  • npm: 10.8.2
  • Node: 22.6.0
  • OS: Sonoma 14.5
  • platform: M2 Mac mini
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