Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
stu2010
· 5y ago · 0 comments
You cannot actually do this at npmjs.org, regularly used packages can only be marked "deprecated" now:
https://docs.npmjs.com/policies/unpublish
Comments
[–]
rahimnathwani
5y ago
The article mentions this, and links to the same page.
[–]
velcrovan
5y ago
Still, though, could there not be a similar scheme where instead of unpublishing the module, the maintainer intentionally inserts a divide by zero somewhere and pushes it as a minor update?
[–]
rahimnathwani
5y ago
To my mind, that crosses some invisible line, that unpublishing a module does not.
[–]
maccolgan
5y ago
What would divide by zero do for a JS dependency?
[–]
itstaken
5y ago
That's how you break the web