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

Taught in

References