Skip to content

Software dependency

A software dependency is another software component a program needs. Indirectly introduced packages can also affect operation.

Software Development

Know the components an application requires

A software dependency is a component a program needs to build or run. It may be a library, framework or development tool. The project includes a direct dependency itself; an indirect dependency can arrive through another component.

In a fictional import program, package A is used. It needs package B to read a file. Although the team does not select B directly, a change to it may affect the import.

In npm, a lockfile records the exact package versions and their dependencies and helps reproduce that arrangement. This does not replace checking an update. A library names the component itself; dependency describes the program's relationship to it. Maintenance therefore needs to account for the versions actually included.

Sources

Articles on this topic

Software Development with ASES

Custom software, web and mobile apps