HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by kofejnik | Hacker News Reader
Parent
Full thread
kofejnik
·
check them into your git
View on HN
dmortin
·
How does that help? You still update from time to time get fixes, new features and then you can get some unwanted code which is not discovered yet.
kofejnik
·
it enables you to run git diff after updating your npm dependencies, so you at least have a chance to detect something shady
bbody
·
In this situation, wouldn't it tell you the package had a version bump?
gedy
·
and/or use fixed versions with package-lock. Or private npm cache if you are concerned.
Reply on news.ycombinator.com