4 ms·
I haven't followed this closely, but I think I can answer your question. > "Why did everyone else's code refer directly to that guy's repository, and not some
by dalke 11y ago
I haven't followed this closely, but I think I can answer your question.
> "Why did everyone else's code refer directly to that guy's repository, and not some centrally-maintained clone thereof?"
I believe the repository, which is on github, did not change. Quoting this article: "And he used that command, deleting 273 modules he had registered in npm (though he left the modules available through GitHub)."
Instead, it was the central registry which changed.
It looks like npm lets others manage "their" parts of the registry, unlike Red Hat which is in complete control of what they release.
> "What I'm really asking is: why is it not done this way for npm also?"
My thought is that it's cheaper. Otherwise each new project in the registry needs an employee to manage it. There's also a long tension going back to at least the WELL's "You Own Your Own Words" of who controls the content provided by members. If something starts off as "we control everything you do" then that's going to be viewed with suspicion.