Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

[flagged]


It prompts for transitive dependencies, too. I have never had workerd as a direct dependency of any project of mine but I get prompted to approve its postinstall script whenever I install cloudflare's wrangler package (since workerd needs to download the appropriate Workers runtime for your platform).


From what I can tell, it blocks it everywhere.


[flagged]


After using pnpm for years (at least 5, don't remember exactly), I've only ever had to whitelist one library that uses a postinstall script to download a native executable for your system. And even this is not necessary, it's just poorly designed.

For example, esbuild and typescript 7 split binaries for different systems and architectures into separate packages, and rely on your package manager to pull the correct one.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: