Skip to content

Commit 3129dfe

Browse files
szakariasparlough
andauthored
Update src/tools/pub/pubspec.md
Co-authored-by: Parker Lougheed <parlough@gmail.com>
1 parent 2116b5b commit 3129dfe

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/tools/pub/pubspec.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -451,11 +451,14 @@ are relevant. Tagging with existing topics helps users discover your package.
451451

452452
### Ignored_advisories
453453

454-
If a package has a dependency which is affected by a security advisory, the pub
455-
client will warn about the advisory at dependency resolution. Package authors
456-
can use the 'ignored_advisories' property to allowlist an advisory that is not
457-
relevant for the package. To suppress the warning about an advisory, add the
458-
advisory identifier to the 'ignored_advisories' list. For example:
454+
If a package has a dependency that is affected by a security advisory,
455+
pub warns about the advisory during dependency resolution.
456+
Package authors can use the `ignored_advisories` field as an allowlist
457+
of triggered advisories that are not relevant for the package.
458+
459+
To suppress the warning about an advisory,
460+
add the advisory identifier to the `ignored_advisories` list.
461+
For example:
459462

460463
```yaml
461464
name: myapp

0 commit comments

Comments
 (0)