Exactly.<p>If you can&#x27;t handle tracking external dependencies that come with battle tested code and relatively well-defined APIs. What makes you think you can do better by recreating all the same functionality as internal dependencies. Unless you have a glut of excess code monkeys to throw at solving problems that already have existing solutions, eliminating dependencies for the sake of reducing complexity is a lost cause.<p>OTOH, if your goal is to reduce dependency duplication. The problem isn&#x27;t the code, it&#x27;s the poor quality package manager you&#x27;re using. Lately, package managers are switching to flat dependency structures because they solve this exact issue.<p>If you&#x27;re worried about managing the uncertainty that comes with dependency updates, lock in the version numbers and shrinkwrap the dependencies.