News for hackers. Stuff that matters.
Re:Marak's GitHub account suspended after he erased his fake... by leros on Friday January 07, 2022 @10:56AM (#29840590)
Interesting. So he got upset with his project and pushed a new version to NPM which was an empty repo, breaking lots of people's builds. Fair enough I suppose. It's his project.

Then NPM reverted the last version to unbreak things probably suspecting his account had been hacked. Fair enough.

Now what happens when the author declares it was him? Is it his right to push a broken version? Is it his right to delete the npm package entirely? I'm sure there are some npm terms of service around this, but it's an interesting scenario.

Re:Marak's GitHub account suspended after he erased his fake... by Macha on Friday January 07, 2022 @01:57PM (#29843185)
> Now what happens when the author declares it was him? Is it his right to push a broken version? Is it his right to delete the npm package entirely? I'm sure there are some npm terms of service around this, but it's an interesting scenario.

NPM's terms of service indicate they can refuse service for any reason, and the package's own license of GPL indicates that NPM legally can distribute it without the author's consent otherwise. Even if the package was not license as such, NPM's terms of use indicate you grant them an irrevocable license to distribute what you upload. Unlike some social media platforms, they don't reserve the right to sublicense it, but they do require you agree they aren't the ones liable if someone they distribute it to breaches the license.

Re:Marak's GitHub account suspended after he erased his fake... by aleksandrh on Saturday January 08, 2022 @08:25AM (#29851437)
> breaking lots of people's builds

Why would it break people's builds? I can only see this happening if they upgraded faker.js.

Besides, best practice says to check each package's repo before upgrading because of 1) malware, and 2) potentially breaking changes.

Also, many forks exist, and you can point to GitHub versions of a package.