this post was submitted on 11 Sep 2023
984 points (97.5% liked)

Programmer Humor

19821 readers
2 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Ullallulloo@civilloquy.com 29 points 1 year ago (2 children)

Doesn't npm have this already? I've definitely gotten requests for donations and various political messages when installing dependencies.

[–] besbin@lemmygrad.ml 8 points 1 year ago

That's probably cause you or your packages use CoreJS. It's basically a one man project that's holding up the whole modern Internet infrastructure. You can look up the story online, but it was a pretty small donation request for a really relatable individual.

[–] SpacingBat3@szmer.info 1 points 1 year ago* (last edited 1 year ago) (1 children)

I guess this highly depends on package maintainers, Node already provides funding in package.json for much less invasive funding requests (and that can also be disabled) and you might also block executing the scripts during package instalation which are sometimes used for advertisement. I think this was a lot worse in days NPM didn't support funding, especially for projects depending on a huge number of dependencies. But I'm not that old Node/JS dev to tell how things were back then in reality.

[–] BeigeAgenda@lemmy.ca -2 points 1 year ago (1 children)
[–] kensand@sopuli.xyz 12 points 1 year ago (1 children)

That's the reason you pass on node? Compared to all the others?

[–] BeigeAgenda@lemmy.ca -1 points 1 year ago

It's the final straw.