Skip to content

Commit 580c00f

Browse files
authored
Merge pull request #10 from microsoft/users/v-cuggam/cgbugs-fix
Upgraded vulnerable packages
2 parents 47e7b6b + d72fe09 commit 580c00f

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/gated-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v2
16+
1617
- name: Setup .NET Core
1718
uses: actions/setup-dotnet@v1
1819
with:
19-
dotnet-version: 3.1.301
20+
dotnet-version: 6.0.x
2021
- name: Install dependencies
2122
run: dotnet restore **/AppInsights.EnterpriseTelemetry.sln
2223
- name: Build

src/AppInsights.EnterpriseTelemetry.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<PackageId>AppInsights.EnterpriseTelemetry</PackageId>
55
<Title>AppInsights.EnterpriseTelemetry</Title>
6-
<Version>2.0.1</Version>
6+
<Version>2.0.2</Version>
77
<Authors>Pratik Bhattacharya</Authors>
88
<Company>Microsoft</Company>
99
<PackageDescription>Library for capturing telemetry in an Enterprise level application</PackageDescription>
@@ -18,8 +18,9 @@
1818

1919
<ItemGroup>
2020
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.20.0" />
21+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
2122
<PackageReference Include="System.Text.Encodings.Web" Version="6.0.0" />
22-
<PackageReference Include="System.Text.Json" Version="6.0.1" />
23+
<PackageReference Include="System.Text.Json" Version="6.0.10" />
2324
</ItemGroup>
2425

2526
</Project>

tests/AppInsights.EnterpriseTelemetry.Tests/AppInsights.EnterpriseTelemetry.Tests.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
@@ -15,6 +15,7 @@
1515
<PrivateAssets>all</PrivateAssets>
1616
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1717
</PackageReference>
18+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
1819
</ItemGroup>
1920

2021
<ItemGroup>

0 commit comments

Comments
 (0)