(no title)
dsff3f3f3f | 5 months ago
Tons of people think these kind of micro dependencies are harmful and many of them have been saying it for years.
dsff3f3f3f | 5 months ago
Tons of people think these kind of micro dependencies are harmful and many of them have been saying it for years.
Groxx|5 months ago
I didn't think it'll make things perfect, not by a long shot. But it can make the exploits a lot harder to pull off.
gmueckl|5 months ago
It didn't go well. The JVM did it's part well, but they couldn't harden the library APIs. They ended up playing whack-a-mole with a steady stream of library bugs in privileged parts of the system libraries that allowed for sandbox escapes.
crazygringo|5 months ago
If a package wants to access the filesystem, shell, OS API's, sockets, etc., those should be permissions you have to explicitly grant in your code.
bunderbunder|5 months ago
Versus, when I've worked at places that eschew automatic dependency management, yes, there is some extra work associated with manually managing them. But it's honestly not that much. And in some ways it becomes a boon for maintainability because it encourages keeping your dependency graph pruned. That, in turn, reduces exposure to third-party software vulnerabilities and toil associated with responding to them.
mbrevda1|5 months ago
SebastianKra|5 months ago
https://e18e.dev/
Micro-dependencies are not the only thing that went wrong here, but hopefully this is a wakeup call to do some cleaning.
skydhash|5 months ago
stickfigure|5 months ago
ilvez|5 months ago
Upgrading when falling off the train is serious drawback on moving fast..
jcelerier|5 months ago
anonzzzies|5 months ago
balder1991|5 months ago
benoau|5 months ago
procaryote|5 months ago
Nixing javascript in the frontend is a harder sell, sadly
christophilus|5 months ago
Ruby, Python, and Clojure, though? They weren’t any better than my npm projects, being roughly the same order of magnitude. Same seems to be true for Rust.
amarant|5 months ago
Hey that was also on NPM iirc!
amysox|5 months ago