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

Programmer Humor

19512 readers
367 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] 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.

[–] [email protected] -2 points 1 year ago (1 children)
[–] [email protected] 12 points 1 year ago (1 children)

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

[–] [email protected] -1 points 1 year ago

It's the final straw.