Re:Node.js security advisories
by atishay811 on Thursday September 05, 2013 @11:12AM
(#6334644)
Can't this be made simpler. Something like a cli call
npm vulnerable
This could take the package.json and list which of my packages need to be upgraded or downgraded to be secure as per the known issues database.
[ Parent
| on HN ]
it could also be run automatically when cd-ing into a directory by overriding the default cd
cd() {
builtin cd $*
if [ -f "package.json" ] ; then
npm check-vulnerabilities
fi
}
I reckon you could also use this with david[0] to check if packages are up to date.
Re:Node.js security advisories
by atishay811 on Friday September 06, 2013 @12:30AM
(#6338670)
I did not mean outdated. npm outdated can do that. See https://npmjs.org/doc/cli/npm-outdated.html I was looking insecure version of the same through a public repo.
Re:Node.js security advisories
by brokenparser on Thursday September 05, 2013 @01:31PM
(#6335546)
That's brilliant, but the search operates on titles, the /package/:name route appears to be broken and there's no RSS. I give up.