Skip to content

Commit 3f63336

Browse files
authored
Merge pull request #127 from adrianiftode/fixes/reopen-118
Bump newtonsoft and webapi.client to non-vulnerable versions
2 parents 896676e + 6faed9f commit 3f63336

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
<ItemGroup>
99
<PackageVersion Include="FluentAssertions" Version="6.5.1" />
10-
<PackageVersion Include="Microsoft.AspNet.WebApi.Client" Version="5.2.4" />
10+
<PackageVersion Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" />
1111
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
12-
<PackageVersion Include="System.Text.Json" Version="5.0.2" />
12+
<PackageVersion Include="System.Text.Json" Version="8.0.5" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

samples/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<IncludeOpenAPIAnalyzers>true</IncludeOpenAPIAnalyzers>
66
<IsPackable>false</IsPackable>
77
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
8+
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
89
</PropertyGroup>
910

1011
</Project>

test/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<WarningsAsErrors>CS8600;CS8602;CS8603</WarningsAsErrors>
88
<NoWarn>$(NoWarn);NU1902;NU1903</NoWarn>
99
<CheckEolTargetFramework>false</CheckEolTargetFramework>
10+
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
1011
</PropertyGroup>
1112

1213
<ItemGroup>

test/Sample.Api.Tests/Sample.Api.Tests.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,16 @@
66

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

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

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

0 commit comments

Comments
 (0)