-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disregard ignored advisories in pub get/upgrade report (#4064)
- Loading branch information
Showing
5 changed files
with
84 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
test/testdata/goldens/get/hosted/advisory_test/do not show ignored advisories.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# GENERATED BY: test/get/hosted/advisory_test.dart | ||
|
||
## Section 0 | ||
$ pub get | ||
Resolving dependencies... | ||
+ baz 1.0.0 | ||
+ foo 1.2.3 (affected by advisory: [^0], 2.0.0 available) | ||
Changed 2 dependencies! | ||
Dependencies are affected by security advisories: | ||
[^0]: https://github.com/advisories/456 | ||
1 package has newer versions incompatible with dependency constraints. | ||
Try `dart pub outdated` for more information. | ||
|