| ▲ | vorticalbox 5 hours ago | |||||||
the issue is not that devs don't know what they are its that they don't pin packages if you run `npm i ramda` it will set this to "ramda": "^0.32.0" (as of comment) that ^ means install any version that is a feature or patch. so when a package is released with malware they bump version 0.32.1 and everyone just installs it on next npm i. pinning your deps "ramda": "0.32.0" completely removes the risk assuming the version you listed is not infected. the trade off is you don't get new features/patches without manually changing the version bump. | ||||||||
| ▲ | christophilus 5 hours ago | parent | next [-] | |||||||
> the trade off I see that as a desirable feature. I don’t want new functionality suddenly popping into my codebase without one of my team intending it. | ||||||||
| ||||||||
| ▲ | dboreham 3 hours ago | parent | prev [-] | |||||||
For context: ramada 0.32.0 isn't a concrete thing, in the sense that glibc 2.35 is. It really means "the latest ramada code because if you were to pin on this version it'll at some point stop working". glibc 2.35 never stops working. | ||||||||