Quit making mashup software. It was naive from day one. Every dependency you engage with is a loan you take out. It had better pretty be damn well worth it to stay in your stack.
Somehow, for too many software developers, software creation became like managers who pad their egos using head count. It got cool to bring as many dependencies under your umbrella as possible. Adds gravitas and all that to your product.
Do more with less.