Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
seniorsassycat
· 5y ago · 0 comments
I've used esbuild's metadata file to filter npm audit's report and only warn for packages with files that are required at runtime. It's great at filtering out denial of service in the command line parser of my web server.
Comments
[–]
mylesborins
5y ago
This sounds SUPER interesting. Do you have an example of this? I wonder if this is something we could adopt in npm itself
[–]
seniorsassycat
OP
5y ago
https://github.com/everett1992/npm-esbuild-audit