Skip to content

Commit 808b9cd

Browse files
authored
docs: update with further context for npm audit
1 parent 3fc7134 commit 808b9cd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

accepted/0028-npm-license.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ Since this proposal moves `npm audit` into a wholistic auditing suite rather tha
3232
- `--no-audit-security` should block **only security auditing**
3333
- `--no-audit-license` should block **only license auditing**
3434

35+
On action if a module doesn't have a compatible license:
36+
37+
- the `npm audit fix` command *should* search for and implement a replacement if at all possible given the list of allowed/blocked licenses and semver ranges
38+
- the `npm audit fix --force` command *should* search for and force a replacement if at all possible given the list of allowed/blocked licenses and semver ranges
39+
- the `npm audit` command *should* report license failures and which versions would "fix" licenses that are blocked but have already been resolved.
40+
- the audit report on `npm install` should report how many modules do not comply with license requirements
41+
3542

3643
<!-- Old "Detailed Explanation" - saved for context while drafting.
3744
- It should be possible to get a full report of the licenses from all dependencies.

0 commit comments

Comments
 (0)