What should you pay attention to before adding a dependency?

Open source explained in plain language.

Check the license, origin, maintenance status, vulnerabilities and necessity. Also ask whether the part is really necessary.

Each dependency adds rights, obligations and management.