You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd find it really useful if the level option could be passed in as an environment variable, as it can be to the native npm audit command via NPM_CONFIG_AUDIT_LEVEL environment variable. This would allow for setting a global audit level across all of our CI pipeline builds, some of which use 'npm audit' and some of which use 'better-npm-audit audit'.
Would you consider a PR which would set a default value for level as a fourth parameter here
Hi,
I'd find it really useful if the level option could be passed in as an environment variable, as it can be to the native
npm audit
command viaNPM_CONFIG_AUDIT_LEVEL
environment variable. This would allow for setting a global audit level across all of our CI pipeline builds, some of which use 'npm audit' and some of which use 'better-npm-audit audit'.Would you consider a PR which would set a default value for level as a fourth parameter here
better-npm-audit/index.js
Line 173 in 7ad4a72
process.env.NPM_CONFIG_AUDIT_LEVEL
?Cheers
The text was updated successfully, but these errors were encountered: