So, funny story: I registered the "nazi" npm package. When you require it, it says "I did nazi that coming." That's it. (Though it would've been a funny name for a linter.) ... Or it did. I received a harshly worded letter from npm saying they axed it. It hit all the talking points about inclusiveness and making sure no one feels even slightly annoyed. Meh. No point to this story. Just an interesting situation with a…
Does "stalinist" work?
Many packages suddenly disappeared
31–40 of 520 posts
Re: Many packages suddenly disappeared
#32Re: Many packages suddenly disappeared
#33This wouldn't fix the issue of someone deleting the actual package (this happened here?), but it would prevent some malicious code being installed if someone uses the same package name.
Re: Many packages suddenly disappeared
#34Re: Many packages suddenly disappeared
#35Re: Many packages suddenly disappeared
#36PSA: Please be cautious because this is an excellent opportunity for taking over packages and injecting malware by malicious people. Example: https://www.npmjs.com/package/duplexer3 which has 4M monthly downloads just reappeared, published by a fresh npm user. They published another two versions since then, so it's possible they've initially republished unchanged package, but now are messing with the code. Previously…
didn't npm make some changes where a published package name cannot be republished, at least not without npm intervention?
Re: Many packages suddenly disappeared
#37In my company we take the stable version of the library we want to use and we self-host it. We basically have added a cache that we manage and control what goes into it instead of just trusting a manager. Especially for server-side deployment this is mandatory for security. Things like let's say ffmpeg etc - we never get from random packages but we host them ourselves.
Re: Many packages suddenly disappeared
#38Re: Many packages suddenly disappeared
#39Earlier quoted context omitted.
What's the alternative? Have the maintainer snail-mail you the packages?
You run a private NPM mirror where you copy dependencies that you rely on, after auditing them (for code quality and licensing).
Re: Many packages suddenly disappeared
#40I don't understand much about the blockchain, but one thing I have heard is that it's impossible (or very hard) to remove things from it. It is immutable, sort of append only, if I understand it correctly. So my question is, is there anyone working on moving npm to the blockchain? Or doing something like a package manager on the blockchain? If not, why not?