Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Root797345y@Marl3x
So simple to install packages.
So simple to update your dependencies.
So simple to use it for everything.
So simple to watch as your dependencies require rewrites every month.
So simple to watch your project's dependencies break repeatedly.
So simple to slip into dependency hell.
So simple for package maintainers to update their packages.
So simple to use other people's absolutely atrocious code without ever having to see it.
So simple to get malicious code propagated to your projects without you ever even realizing it.
So simple to screw over your end-users with terrible resource efficiency, spyware, and crypto miners.
So simple to get blamed for all of this, despite you never seeing nor intending any of it.
So simple! -
Root797345y@C0D4 NPM makes it so simple to bait-and-switch fancy features with malicious code that you'd think it was built that way intentionally. Hell, you can even distribute minified production code that differs from what's readable in the package's repo. 🙄
-
C0D4669445y@Root that's always been my concern with these places.
It's one thing to share code, it's another to switch it out for a coin miner or "extra feature", and no one would be the wiser till it's too late.
Then you have the dramas of dependencies breaking, or being deleted... LPAD anyone?
I know it speeds up prototyping, but production costs (dev and time) to maintain software you don't control or have ownership of would piss me off more then it's probably worth.
Open source doesn't mean it's good or viable source. -
C0D4669445y@Marl3x I have this with all really, maven and composer are usually single packages and not like npm where you have dependencies within dependencies, or I've been lucky with my package selections, but it's as if no one actually wrote a line of code at the top package.
-
dmonkey21975y@TechNomad I interpreted your last sentence as "If not with js/npm, then how (would you do the work)??".
My answer to that is "there are just many other languages to pick to build a web application".
Did I misinterpreted something?
Related Rants
avoid npm!! avoid it like it was the plague!
rant
npm
node
nodejs