Countless projects were left in limbo because of a three-way spat between the programmer, Azer Koçulu, the company behind npm, and messaging app Kik.
It ended up with Koçulu deleting an 17-line npm package called 'left-pad', which thousands of Node.js programs rely on to function.
Left-pad has been downloaded from npm over 575,000 times in the past week and over 2.5 million times in the past month.
What started the fight, according to Koçulu, was that Kik's lawyers challenged the name of one of his modules on npm, which was also called Kik. A Kik lawyer asked him to delete it from npm.
"My answer was 'no'," Koçulu explained.
Kik's legal team then approached npm CEO Isaac Schlueter and requested the name change. According to Koçulu, following the legal threat, Schlueter "accepted to change the ownership of this module, without my permission".
Koçulu responded by unpublishing all his packages from npm, which included the critical left-pad module.
With thousands of broken packages on its hands, npm took the unprecedented step of "un-un-publishing" a module, Laurie Voss, npm CTO and co-founder, said.
"This action puts the wider interests of the community of npm users at odds with the wishes of one author; we picked the needs of the many," Voss wrote.
"Even within npm, we're not unanimous that this was the right call, but I cannot see hundreds of builds failing every second and not fix it.
"In the meantime, several thousand open-source projects have been repaired, and I'm sleeping fine tonight."
As coder Steve Klabnik explained on Reddit, npm didn't technically republish Koçulu's left-pad module. Koçulu offered to transfer any of his modules if anyone volunteers to take ownership of them in GitHub.
"TL;DR: they allowed a new maintainer to publish an old version identical to a deleted one," wrote Klabnik.
More on software development
- Microsoft open sources Visual Studio Productivity Power Tools
- Meet 2016's developers, according to Stack Overflow's annual survey
- CoreOS delivers container security with Clair
- US warns against Android apps that secretly listen in on your TV habits
- Opera's CTO: Why the world needs a new web browser
- First Android N update: Google promises new OTA release will fix performance issues