▲ | the_mitsuhiko 6 days ago | ||||||||||||||||||||||||||||
I think uv should get some credit for being an early supporter of this. They originally added it as a hidden way to create stable fixtures for their own tests, but it has become a pretty popular flag to use. This for instance will only install packages that are older than 14 days: uv sync --exclude-newer $(date -u -v-14d '+%Y-%m-%dT%H:%M:%SZ') It's great to see this kind of stuff being adopted in more places. | |||||||||||||||||||||||||||||
▲ | mcintyre1994 6 days ago | parent [-] | ||||||||||||||||||||||||||||
Nice, but I think the config file is a much better implementation for protecting against supply chain attacks, particularly those targeting developers rather than runtime. You don’t want to rely on every developer passing a flag every time they install. This does suffer from the risk of using `npm install` instead of `pnpm install` though. It would also be nice to have this as a flag so you can use it on projects that haven't configured it though, I wonder if that could be added too. | |||||||||||||||||||||||||||||
|