WSWhat Scene?

Learn · Developer tools

What are dependencies, and why do they matter?

Dependencies are outside libraries your project relies on to work. Using them saves you from reinventing common functionality, but each one is code you didn't write and must keep updated. Outdated dependencies are a leading source of security vulnerabilities, so managing them is a real ongoing task.

Modern projects can have dozens or hundreds of dependencies, including the dependencies of your dependencies. Most are fine, but any can develop a security flaw or stop being maintained, which is why teams audit and update them regularly.

The balance is practical: lean on trusted, well-maintained libraries for hard problems, but avoid pulling in a heavy dependency for something trivial you could write in a few lines. Fewer, healthier dependencies mean a smaller attack surface and less maintenance.

Updated July 2026

Related

Want this built, not just explained?