this post was submitted on 22 Dec 2025
132 points (97.8% liked)
Technology
78002 readers
2139 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
lol JavaScript
This truly has grown past a JS problem. NPM was kind of the first time dependencies were installed by the project rather than through the OS. But nowadays this has become the norm, golang, rust, and to an extent python also work by installing dependies directly from git for the most part. This isn't going to get any better unless we revert to OS based dependencies which noone wants to do because developers want the latest and greatest model.
That's not true at all, the OS doesn't have, and shouldn't have, everything that every random npm package has...
The alternative isn't for the OS to do it: its to implement everything yourself... Speaking previous from experience working at a company that did exactly that... It has its own set of problems... But it is at least possibly secure 😅
There's another alternative, which is manually adding libraries to your project yourself instead of doing it all automatically through a package manager.
Yes, it's less convenient to download and import a package manually, especially if you need to do the same with a litany of dependencies, but I don't feel like that's a bad thing. Raising the barrier of entry for arbitrarily adding thousands of lines of other people's code to your project would force people to think about how much of that they actually need.
Or you can just use git and pin your packages to specific versions and review the changes to the packages when they change using git diff...