Skip to content

Commit 32ad0c2

Browse files
authored
[tests] Bump packages and add references to mitigate vulnerability warnings (open-telemetry#2200)
1 parent d51c9f4 commit 32ad0c2

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

test/OpenTelemetry.Instrumentation.AspNetCore.Tests/OpenTelemetry.Instrumentation.AspNetCore.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
</PropertyGroup>
77

88
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'" >
9-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.8" />
10-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8"/>
9+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="8.0.10" />
10+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.10"/>
1111
</ItemGroup>
1212

1313
<ItemGroup>

test/OpenTelemetry.Instrumentation.EntityFrameworkCore.Tests/OpenTelemetry.Instrumentation.EntityFrameworkCore.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.8" />
10+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.10" />
1111
<PackageReference Include="OpenTelemetry.Exporter.InMemory" Version="$(OpenTelemetryExporterInMemoryPkgVer)" />
1212
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="$(OpenTelemetryCoreLatestVersion)" />
1313
</ItemGroup>

test/OpenTelemetry.Instrumentation.SqlClient.Tests/OpenTelemetry.Instrumentation.SqlClient.Tests.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
<PackageReference Include="Testcontainers.MsSql" Version="3.10.0" />
2121
<PackageReference Include="Testcontainers.SqlEdge" Version="3.10.0" />
2222
<PackageReference Include="OpenTelemetry.Exporter.InMemory" Version="$(OpenTelemetryExporterInMemoryPkgVer)" />
23+
24+
<!-- System.Runtime.Caching is indirect reference through Microsoft.Data.SqlClient package. It is needed to upgrade it directly to avoid https://github.com/advisories/GHSA-qj66-m88j-hmgj -->
25+
<PackageReference Include="System.Runtime.Caching" Version="8.0.1" />
26+
<!-- System.Text.Json is indirect reference through Testcontainers packages. It is needed to upgrade it directly to avoid https://github.com/advisories/GHSA-8g4q-xg66-9fp4 -->
27+
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonLatestNet8OutOfBandPkgVer)" />
2328
</ItemGroup>
2429

2530
<ItemGroup>

0 commit comments

Comments
 (0)