News for hackers. Stuff that matters.
Re:Survey of popular Node.js packages reveals credential leaks by Killswitch on Monday December 07, 2015 @09:38AM (#10689661)
> It baffles me that automatically update your dependencies is considering the right thing to do.

The idea is to rely on semver. If you do ~1.3.4 in your dependency then if that dependency follows semver properly, you'll get 1.3.5 if it's out, and your stuff will still work, but you're getting bug fixes and patches without having to keep an eye on the sometimes hundreds of dependencies. Luckily tools like greenkeeper.io are around now.

The drawback is many people don't follow semver, so I opt to appending --save-exact to all npm installs (actually have npm config set save-exact true)

Re:Survey of popular Node.js packages reveals credential leaks by gedrap on Tuesday December 08, 2015 @04:30AM (#10695518)
Exactly. In ideal world, semver would solve this issue really easily (probably not completely but to a large extent). However, there are so many dependencies in a typical nodejs project that I have hard time trusting that devs will follow semvar :)