3 ms·
Version conflicts on shared transitive dependencies is a real problem, to the point that there are tools available to library authors that allow them to rename
by Cyykratahk 4y ago
Version conflicts on shared transitive dependencies is a real problem, to the point that there are tools available to library authors that allow them to rename their dependencies to be under their own namespace to avoid collisions.
If two packages I require depend on incompatible versions of some third package, there aren't any easy ways for me to resolve it.
This problem exists because of the global nature of PHP namespaces.
- DJBunnies 4y agoI have encountered this once in my career, it’s pretty rare.
- supriyo-biswas 4y agoPeople complain about the size of node_modules. I think Composer's approach to find a common set of dependencies that satisfy all version constraints keeps things lean.