Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!(audit): default to None, not Low #67

Merged
merged 1 commit into from
Sep 3, 2024
Merged

feat!(audit): default to None, not Low #67

merged 1 commit into from
Sep 3, 2024

Conversation

bmuenzenmeyer
Copy link
Contributor

@bmuenzenmeyer bmuenzenmeyer commented Aug 29, 2024

BREAKING CHANGE: by default, npm audit will no longer run. Tools like dependabot and Mend should inform maintainers of vulnerabilities. Putting this into publication tooling as a default is optimistic at best - as often times transient, false-positive dependncies are a fact of life.

npm audit output is also naive of the real ramifications of its suggestions. Internally, we've turned off audit for years because it can provide incorrect guidance to teams. In one recent case, the audit command output told a user to downgrade an internal tool 9 major versions to avoid the introduction of a dependency (I think)....which of course is not a great suggestion.

BREAKING CHANGE: by default, npm audit will no longer run. Tools like dependabot and Mend should inform maintainers of vulnerabilities. Putting this into publication tooling as a default is optimistic at best - as often times transient, false-positive dependncies are a fact of life.
@bmuenzenmeyer bmuenzenmeyer marked this pull request as ready for review August 29, 2024 19:49
@bmuenzenmeyer bmuenzenmeyer requested a review from a team as a code owner August 29, 2024 19:49
@ecrupper ecrupper merged commit 76a8b32 into main Sep 3, 2024
11 checks passed
@ecrupper ecrupper deleted the audit-default branch September 3, 2024 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants