4 ms·
The JavaScript culture around dependencies is baffling to me. The simplest of tools will easily have hundreds of transitive dependencies, making these sort of
by crehn 5y ago
The JavaScript culture around dependencies is baffling to me.
The simplest of tools will easily have hundreds of transitive dependencies, making these sort of events a mess to deal with, and causing the blast radius to be avoidably large.
- userbinator 5y agoLeft-pad was already a warning sign that something is seriously wrong with the culture. https://news.ycombinator.com/item?id=11348798 https://news.ycombinator.com/item?id=11348798
- Zababa 5y agoThe worst thing about it is that now left-pad is in the standard (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/padStart https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...), but that's it. is-odd has more than 400k weekly downloads https://www.npmjs.com/package/is-odd https://www.npmjs.com/package/is-odd.
- imtringued 5y agohttps://github.com/helpers/handlebars-helpers/issues/315 https://github.com/helpers/handlebars-helpers/issues/315 This is the only package that even uses (is even includes is odd) it while having more than 10 weekly downloads.
- GordonS 5y agoIMO this is largely a side effect of the JavaScript standard library being so anaemic - if available functions were bolstered significantly, it would eventually have some impact on this madness.