News for hackers. Stuff that matters.
Re:Outdated vs. Complete: In defense of apps that don’t need... by franciscop on Tuesday September 27, 2022 @04:12AM (#32992744)
> "The author of leftpad could check its compatibility with each new version of Node that's released"

Really? This sounds feasible at all for you for all the millions libraries in npm not to be labelled as "obsolete"? Checking if string concatenation still works on every major node release and tagging it as such?

Re:Outdated vs. Complete: In defense of apps that don’t need... by onion2k on Tuesday September 27, 2022 @04:24AM (#32992812)
This sounds feasible at all for you for all the millions libraries in npm not to be labelled as "obsolete"?

Yes. I mean, they could just leave the max version of the engines property blank because it should always work if it's something as trivial as leftpad, but in a well-run package repository the work of checking library compatibility should be getting done. The fact that NPM is full of old libraries that haven't been tested in new versions of Node is a bad thing, and those libraries should be flagged as untested.