The JavaScript ecosystem is famous for bloat like this. Python is much better, though there is still an O(n^m) dependency tree. Languages like C/++ and FORTRAN commonly have effectively O(n) dependency trees.
I suspect it’s related to the ease of use to add new libraries/modules.
I suspect it’s related to the ease of use to add new libraries/modules.