←back to thread

1208 points jamesberthoty | 1 comments | | HN request time: 0.22s | source
Show context
foxfired ◴[] No.45268501[source]
My problem is that, in the JS ecosystem, every single time you go through a CI/CD pipeline, you redownload everything. We should only download the first time and with the versions that are known to work. When we make a manual update to version, than only that should be downloaded once more.

I just checked one of our repos right now and it has a 981 packages. It's not even realistic to vet the packages or to know which one is compromised. 99% of them are dependencies of dependencies. Where do we even get started?

replies(3): >>45268537 #>>45268574 #>>45268604 #
1. amarshall ◴[] No.45268537[source]
Redownloading everything isn’t a risk when the lock file contains a hash of the download on first update.