[Secrets] Ui.Tests restores vulnerable AngleSharp 1.2.0 via bunit 1.40.0 (NU1902) #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ZB.MOM.WW.Secrets.Ui.TestsresolvesAngleSharp1.2.0 via bunit 1.40.0, which raises NU1902 (GHSA-pgww-w46g-26qg) on restore with NuGetAudit on. Seen while verifying scadaproj#22 — it is the only audit warning left in the Secrets solution.Theme's tests already solved the same thing by moving to bUnit 2.7.2 (AngleSharp 1.5.0). Do the same here, or add a transitive
AngleSharppin inZB.MOM.WW.Secrets/Directory.Packages.props. Test-only dependency; no package release needed.Fixed on main
a05ce8c: transitive pinAngleSharp1.5.0 in ZB.MOM.WW.Secrets/Directory.Packages.props (transitive pinning already on). bUnit 2.7.2 route rejected — 32 build errors (RenderComponent obsolete CS0619, AddTestAuthorization removed); bUnit stays 1.40.0. Evidence:dotnet restore ZB.MOM.WW.Secrets.slnx --force→ 0 NU190x warnings; Secrets.Ui.Tests 17/17 passed.