by RcouF1uZ4gsC · 3y ago · 0 comments
The solution to dependency chaos is grouping dependencies together and versioning the larger group, not splitting into even more dependencies.
Let's take a fictional example: I import D3.js to use the parseDSV() function, after 2 years the method has not received any updates, but the package has gone from version 1.0.2 to 5.0.2. With a granular system, my function would still be on version 1.0.2 (because no changes were made), but with the current system I would have received an unnecessary update.
So, in this case, granular versioning would actually help to put an end to the chaos of dependencies.