transitive dependency
A package your code needs only because one of your own dependencies needs it.
In more detail
Most of what you ship comes in this way. A lockfile's via comments show who pulled each one in, which tells you whether to bump the package itself or its parent.
Example
The full set, called the closure, is usually five to ten times the list you wrote by hand; in the course one package became nine, four levels deep, publishable by ten accounts.Related terms
- dependency — Anything a program needs in order to work, such as a library, a tool or another service.
- lockfile — A file that records the exact version of every dependency, including transitive ones, so every install gets the same set.
- software composition analysis — Finding the open-source packages in your software and checking their exact versions against known vulnerability advisories.
- Maven coordinates — The group, artifact and version that together uniquely name a project or library, such as com.example:inventory:1.0.0.
- dependency scope — A Maven setting on a dependency that says when it is on the class path, such as only while compiling and running tests.
- dependency graph — The network of packages your project depends on, including what each of them depends on in turn.
- maintainer account — An account allowed to publish new versions of a package to a registry.
Taught in
- Software Composition Analysis with Trivy — Cloud Security & DevSecOps Engineering
- The Toolchain: Maven — Modern Java: Virtual Threads & High-Throughput Services
- Dependency Risk And Typosquatting — Application Security & Threat Modeling for Engineers
- Lockfiles And Reproducible Builds — Application Security & Threat Modeling for Engineers