Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
homebrewer
· 12mo ago · 0 comments
pnpm does all that on top of node. Also disables postinstall scripts by default, making the recent security incidents we've seen a non-issue.
Comments
[–]
junon
12mo ago
As the victim of the larger pre-Shai-Hulud attack, unfortunately the install script validation wouldn't have protected you. Also, if you already have an infected package on the whitelist, a new infection in the install script will still affect you.
[–]
antihero
12mo ago
I’m not sure why but bun still feels snappier.
[–]
B56b
12mo ago
This is why:
https://bun.com/blog/behind-the-scenes-of-bun-install
[–]
babyshake
12mo ago
Aside from speed, what would the major selling points be on migrating from pnpm to bun?
[–]
daheza
12mo ago
Are there any popular packages that require postinstall scripts that this hurts?
[–]
replete
12mo ago
A whitelist in package.json is only a partial assist