Skip to content

Commit

Permalink
Ignore security warning on old package
Browse files Browse the repository at this point in the history
  • Loading branch information
thohng committed Nov 27, 2024
1 parent 28a83c9 commit adf191a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<LangVersion>12.0</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
</PropertyGroup>

<PropertyGroup Condition=" '$(TEAMCITY_VERSION)' != '' OR '$(CI)' == 'true' OR '$(TF_BUILD)' == 'true' OR '$(GITHUB_ACTIONS)' == 'true'">
Expand Down
9 changes: 9 additions & 0 deletions src/Hosting/Hosting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,13 @@
<PackageReference Include="NetLah.Extensions.HttpOverrides" />
</ItemGroup>

<ItemGroup>
<!-- Newtonsoft.Json 11.0.2 -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-5crp-9r3c-p9vr" />
<!-- System.Drawing.Common 4.7.0 -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-rxg9-xrhp-64gj" />
<!-- System.Text.RegularExpressions 4.3.0 -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-cmhx-cq75-c4mj" />
</ItemGroup>

</Project>
10 changes: 10 additions & 0 deletions test/Hosting.Test/Hosting.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,14 @@
<ProjectReference Include="..\..\src\Hosting\Hosting.csproj" />
</ItemGroup>

<ItemGroup>
<!-- System.Text.Json 6.0.0/7.0.0/8.0.0 -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-hh2w-p6rv-4g7w" />
<!-- System.Drawing.Common 4.7.0 -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-rxg9-xrhp-64gj" />
<!-- System.Text.RegularExpressions 4.3.0 -->
<NuGetAuditSuppress Include="https://github.com/advisories/GHSA-cmhx-cq75-c4mj" />
</ItemGroup>

</Project>

0 comments on commit adf191a

Please sign in to comment.