←back to thread

1208 points jamesberthoty | 2 comments | | HN request time: 0.404s | source
Show context
kace91 ◴[] No.45261497[source]
I think these kinds of attack would be strongly reduced if js had a strong standard library.

If it was provided, it would significantly trim dependency trees of all the small utility libraries.

Perhaps we need a common community effort to create a “distro” of curated and safe dependencies one can install safely, by analyzing the most popular packages and checking what’s common and small enough to be worth being included/forked.

replies(4): >>45267948 #>>45269564 #>>45270100 #>>45272304 #
1. silverwind ◴[] No.45272304[source]
Node.js has been adding APIs that make it feasible to write stuff without dependencies, it's slowly getting there.
replies(1): >>45275980 #
2. pier25 ◴[] No.45275980[source]
What stuff?