Re:Yarn – A new package manager for JavaScript
by dchest on Tuesday October 11, 2016 @03:56PM
(#12688004)
Lock file contains hashes of packages, so it works like many "trust on first use" systems (e.g. SSH): if you installed [email protected], you can be sure that futher installations of this same package will be exactly the same — if malicious npm server gives you something else, this should be detected and rejected.
Looks like they use SHA-1 hashes, though. Please, let's get rid of SHA-1 already.
Looks like they use SHA-1 hashes, though. Please, let's get rid of SHA-1 already.