Skip to content

Upgrading better-npm-audit 1 to 2

Breaking1.12.1 → 2.1.0Breaking5New4Changed5Other5

BreakingUpgrade verdict

5 breaking changes.

  • The command line option for ignoring items is now called exclude.
  • The option to show the full list beyond the display limit is gone.
  • The option to show exception notes is gone.
  • In the .nsprc config file, the ignore field is now called active.
Top 3 of 5 that need code or config changes

Adds table ^6.7.1.

Installs 19 packages in all (was 2).

Breaking5
Renames the --ignore -i flag to --exclude -x for better clarity.
--ignore-i--exclude-x
Removes the --display-full flag that was used to ignore the maximum display limit.
--display-full
Removes the --display-notes flag that was used for displaying exception notes.
--display-notes
Renames the ignore field to active in the .nsprc file for better clarity.
ignoreactive.nsprc
Renames the reason field to notes in the .nsprc file for better clarity.
reasonnotes.nsprc