Skip to content

Commit

Permalink
Merge pull request #127 from adrianiftode/fixes/reopen-118
Browse files Browse the repository at this point in the history
Bump newtonsoft and webapi.client to non-vulnerable versions
  • Loading branch information
adrianiftode authored Nov 29, 2024
2 parents 896676e + 6faed9f commit 3f63336
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

<ItemGroup>
<PackageVersion Include="FluentAssertions" Version="6.5.1" />
<PackageVersion Include="Microsoft.AspNet.WebApi.Client" Version="5.2.4" />
<PackageVersion Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="System.Text.Json" Version="5.0.2" />
<PackageVersion Include="System.Text.Json" Version="8.0.5" />
</ItemGroup>

<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions samples/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>
<IsPackable>false</IsPackable>
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
</PropertyGroup>

</Project>
1 change: 1 addition & 0 deletions test/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors>
<NoWarn>$(NoWarn);NU1902;NU1903</NoWarn>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 0 additions & 3 deletions test/Sample.Api.Tests/Sample.Api.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,16 @@

<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' ">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" VersionOverride="6.0.36" />
<PackageReference Include="System.Text.Json" VersionOverride="6.0.11" />
<ProjectReference Include="..\..\samples\Sample.Api.Net60\Sample.Api.Net60.csproj" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net7.0' ">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" VersionOverride="7.0.20" />
<PackageReference Include="System.Text.Json" VersionOverride="7.0.4" />
<ProjectReference Include="..\..\samples\Sample.Api.Net70\Sample.Api.Net70.csproj" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net8.0' ">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" VersionOverride="8.0.11" />
<PackageReference Include="System.Text.Json" VersionOverride="8.0.5" />
<ProjectReference Include="..\..\samples\Sample.Api.Net80\Sample.Api.Net80.csproj" />
</ItemGroup>

Expand Down

0 comments on commit 3f63336

Please sign in to comment.