The package that broke NPM (accidentally) - uncenter.dev #67
Replies: 9 comments 7 replies
-
Deep breaths. Hoo nelly. This sounds exactly like the kind of thing I could have ended up doing. That unpublish limitation came about because of an instance where a prolific package author one day decided they were just fucking done with everything (and I don't really blame them tbh), and unpublished all their packages all at once. Turns out that tools like Babel and many others had dependency branches that lead to those unpublished packages, and all of a sudden blam, build pipelines around the world just suddenly stopped working. The package that caused the most chaos after being unpublished? Left-pad. All it did was add spaces to the left side of a string. That's it. Nothing else. So, in order to restore balance to the force and get the planet turning on its axis again, NPM un-unpublished the packages, and implemented the limitations on unpublishing, which you rather hilariously ran into :D So all things considered, it could have been worse. Btw yeah, that email from Github was complete nonsense. Clearly there was no explicit intent involved. As the saying goes, don't assume malice for things that can easily be attributed to fucking around and finding out. Happy hacking :) |
Beta Was this translation helpful? Give feedback.
-
Great work! Unfortunately, I learned about your work only after the repository was deleted on GitHub. Can you describe how you did that? Or can you share the list of packages? |
Beta Was this translation helpful? Give feedback.
-
This is scarily amazing, I love it. |
Beta Was this translation helpful? Give feedback.
-
i wasn't here |
Beta Was this translation helpful? Give feedback.
-
made my day |
Beta Was this translation helpful? Give feedback.
-
i know i'm like a week late but.... this was BEYOND epic. screw the killjoys and hats off to everyone involved! |
Beta Was this translation helpful? Give feedback.
-
That was epic. Shame they had that reaction. |
Beta Was this translation helpful? Give feedback.
-
I knew that Java in javascript must have some meaning |
Beta Was this translation helpful? Give feedback.
-
The package that broke NPM (accidentally) - uncenter.dev
How we made a package that depends on every single NPM package... and broke NPM in the process.
https://uncenter.dev/posts/npm-install-everything/
Beta Was this translation helpful? Give feedback.
All reactions