Hacker News new | past | comments | ask | show | jobs | submit login

> there can be a small attack gap when adding new dependencies to the project

Most package managers will keep the versions of transitive dependencies as unchanged as possible when adding a new direct dependency.

Of course if the only solution to satisfy the dependencies of the new direct dependency is to upgrade a transitive dependency, that will be done.

(I've seen a lot of people treat dependency additions as completely unpredictable operations that regenerate the whole lockfile in the past, which is why I wanted to clear this up.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: