Skip to content

Commit

Permalink
Add notice and unsound (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkforest authored Apr 3, 2023
1 parent 13d7e3e commit 7cb7a4e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions src/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,20 @@ function makeReport(
});
break;

case 'unsound':
preparedWarnings.push({
advisory: warning.advisory,
package: warning.package,
});
break;

case 'notice':
preparedWarnings.push({
advisory: warning.advisory,
package: warning.package,
});
break;

case 'informational':
preparedWarnings.push({
advisory: warning.advisory,
Expand Down

0 comments on commit 7cb7a4e

Please sign in to comment.