dependency graph
The network of packages your project depends on, including what each of them depends on in turn.
In more detail
Walking the graph shows how many packages one install really brings, how deep it goes and how many accounts can publish into it. The graph is usually deeper than any review goes.
Example
The course walks a dependency graph breadth-first to count installed packages, depth and publishing accounts, because the graph is deeper than any review goes.Related terms
- transitive dependency — A package your code needs only because one of your own dependencies needs it.
- breadth-first search — A graph search that visits the start vertex, then all its neighbours, then all of theirs, spreading out in waves using a FIFO queue.
Taught in
- Dependency Risk And Typosquatting — Application Security & Threat Modeling for Engineers