nixpkgs/pkgs/build-support/node
Winter 7efebca89c
prefetch-npm-deps: fix reproducibility
v1 lockfiles can contain multiple references to the same version of a
package, and these references can contain different `integrity` values,
such as one having SHA-1 and SHA-512, while another just has SHA-512.

Given that HashMap iteration order isn't defined, this causes
reproducibility issues, as a different integrity value could be chosen
each time.

Thanks to @lilyinstarlight for discovering this issue originally, as well
as the idea for the sorting-based implementation.
2023-04-28 18:09:39 -04:00
..
build-npm-package prefetch-npm-deps: download dev deps for git deps with install scripts 2023-04-06 11:32:39 -04:00
fetch-npm-deps prefetch-npm-deps: fix reproducibility 2023-04-28 18:09:39 -04:00
fetch-yarn-deps