5/28/2023 0 Comments Antes do por do sol downloadIf your code still won't build after the left-pad revival, try running npm cache clear to catch up with the changes.Īnd that's how JavaScript app development works in 2016. Meanwhile, Oakland-based Koçulu has hosted his work on GitHub. Now NPM has forcibly resurrected that particular version to keep everyone's stuff building and running as expected.Ī new maintainer, who stepped forward to look after left-pad on NPM, requested the restoration of version 0.0.3. Normally, when a particular version is unpublished, it's gone and cannot be restored. To fix the internet, Laurie Voss, CTO and cofounder of NPM, took the " unprecedented" step of restoring the unpublished left-pad 0.0.3 that apps required. You can witness some of the fallout here, here, here and here. Left-pad was fetched 2,486,696 times in just the last month, according to NPM. With left-pad removed from NPM, these applications and widely used bits of open-source infrastructure were unable to obtain the dependency, and thus fell over during development and deployment. And thousands of projects including Node and Babel relied on it. It pads out the lefthand-side of strings with zeroes or spaces. Unfortunately, one of those dependencies was left-pad.
0 Comments
Leave a Reply. |