Upgrading better-npm-audit 1 to 2
Breaking1.12.1 → 2.1.0Breaking5New4Changed5Other5
BreakingUpgrade verdict
5 breaking changes.
In plain terms
- 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.
Must act Top 3 of 5 that need code or config changes
Adds table ^6.7.1.
Installs 19 packages in all (was 2).
What you must change
Breaking5
Renames the
--ignore -i flag to --exclude -x for better clarity.--ignore-i--exclude-xRemoves the
--display-full flag that was used to ignore the maximum display limit.--display-fullRemoves the
--display-notes flag that was used for displaying exception notes.--display-notesRenames the
ignore field to active in the .nsprc file for better clarity.ignoreactive.nsprcRenames the
reason field to notes in the .nsprc file for better clarity.reasonnotes.nsprc