How a 2016 npm naming dispute caused 11 lines of code to break the internet

On March 22, 2016, developer Azer Koçulu unpublished all 273 of his npm packages in protest after npm transferred his 'kik' package name to the messaging app Kik following a trademark dispute. Among the removed packages was left-pad, an 11-line utility function that had been downloaded nearly 2.5 million times the previous month and was a transitive dependency for major tools like Babel and Atom. Within minutes, thousands of software builds began failing at a rate npm described as hundreds per minute. npm resolved the outage in about two and a half hours by taking the unusual step of restoring the original package from backup. The incident prompted npm to introduce an unpublish time window — initially 24 hours, later extended to 72 hours — and highlighted the fragility of live-resolved transitive dependencies in modern software development.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in