News for hackers. Stuff that matters.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by tomjen3 on Monday January 10, 2022 @01:06AM (#29871220)
Keeping dependencies loosely coupled and reusable has been best practice since forever, but it is only really with NPM that it has become the default.
Re:Dev corrupts NPM libs 'colors' and 'faker', breaking thou... by chrisandchris on Monday January 10, 2022 @06:47AM (#29873343)
But actually it's more like dependency hell because you pull in the same dependency in N versions and you can't update transitive dependencies in a senseful matter? And you get a lot of libraries that are like 4 lines and computing basic operations (like there was a lib "isOdd"... i mean x% 2 === 0?).

So you won't gain anything from this type of dependency management, because it is way to complicate to understand and to manage for a developer.