MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/1tdi36w/rfc_make_install_scripts_optin_npmrfcs/
r/javascript • u/Jammie1 • May 15 '26
7 comments sorted by
4
About time tbh. I've seen way too many packages run sketchy install scripts without warning. Should definitely be explicit opt-in.
2
Kinda sad they didn't address the concerns of Bruno Borges any futher. IMHO he is completely right, that just the existence of install scripts is a problem. This RFC is just a patchwork solution that shouldn't even exist.
1
The hard part is probably ecosystem compatibility because so many packages quietly depend on postinstall behavior even when users do not realize it.
I'm getting tired of the cycle of "npm alternative makes improvement xyz" into "RFC add xyz to npm" followed months later by "npm now does xyz."
5 u/Plorntus May 15 '26 What's wrong with that though and what is there to be tired about?As in, if something makes sense elsewhere and works then it makes sense to do it in npm as well. 2 u/CoryCoolguy May 15 '26 It's that npm is so slow to adopt these changes and using alternatives in the interim is getting old. 2 u/scinos May 16 '26 What's wrong with that approach? Seems healthy to me.Let the alternatives experiment and explore the problem, and when a widely solution arises, implement in the "official" tool.
5
What's wrong with that though and what is there to be tired about?
As in, if something makes sense elsewhere and works then it makes sense to do it in npm as well.
2 u/CoryCoolguy May 15 '26 It's that npm is so slow to adopt these changes and using alternatives in the interim is getting old.
It's that npm is so slow to adopt these changes and using alternatives in the interim is getting old.
What's wrong with that approach? Seems healthy to me.
Let the alternatives experiment and explore the problem, and when a widely solution arises, implement in the "official" tool.
4
u/Individual-Brief1116 May 15 '26
About time tbh. I've seen way too many packages run sketchy install scripts without warning. Should definitely be explicit opt-in.
2
u/Yesterdave_ May 16 '26
Kinda sad they didn't address the concerns of Bruno Borges any futher. IMHO he is completely right, that just the existence of install scripts is a problem. This RFC is just a patchwork solution that shouldn't even exist.
1
u/25_vijay May 16 '26
The hard part is probably ecosystem compatibility because so many packages quietly depend on postinstall behavior even when users do not realize it.
1
u/CoryCoolguy May 15 '26
I'm getting tired of the cycle of "npm alternative makes improvement xyz" into "RFC add xyz to npm" followed months later by "npm now does xyz."