High key mad that people are actually blaming the guy who changed his own solely developed node.js code and got branded as some kind of hacker or something because a ton of corporate houses unthinkingly pulled in his changes because to them the repo was just a source of free code they would never have to pay for, look at, or contribute back to.

Serves them right. They had ways to prevent this and they chose not to do them.

@trysdyn ain't like the old versions are no longer in the commons either, after npm changed their policies because of leftpad! if you aren't pinning or at a minimum testing dependencies you pretty much get what you ask for

which is why npm is friggin awful why is there no way to pin a dependency in your goddamn package manager

Follow

@starfall @trysdyn what?? there's absolutely a way to pin your dependencies and that's what everything does by default?? you have a package lockfile that defines everything in your nested deps by hash + exact version

@f0x @trysdyn i forget what exactly we were doing

but we couldn't figure it out without using yarn

@f0x @trysdyn might have been a transitive dependency like six levels down or something

@starfall @trysdyn those are still tied to whatever is in package-lock.json, no matter how deep. Yarn does have the additional `resolutions` key which isn't supported by npm yet

@f0x @trysdyn yeah that's the one

given the alternative is manually managing package-lock.json for an enterprise react app, using a different package manager, or the obnoxious pattern of adding extra direct dependencies (that didn't seem to work nearly as well as maven where it's also an unmaintainable mess) it's really bewildering that hasn't been upstreamed

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.