News for hackers. Stuff that matters.
Re:What NPM should do to stop a new colors attack by paulhodge on Monday January 10, 2022 @06:26PM (#29884567)
> should use the version of colors that svgo asked for

Another thing about setting exact dependencies is reducing duplication. Libraries are encouraged to use loose ranges, because if everyone pins exact versions for every dependency, then you could end up with 10 to 20 different copies of 'colors' in your tree, instead of having just 1 or 2 copies that work across the board.

There are no comments on this comment yet.