Skip to content

Commit

Permalink
Update nuget packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
peters committed Oct 9, 2024
1 parent 416935a commit 655f4d1
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 23 deletions.
20 changes: 9 additions & 11 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,21 @@
<PackageVersion Include="LibLog" Version="5.0.8" />
<PackageVersion Include="LightInject" Version="6.6.4" />
<PackageVersion Include="MessagePack" Version="2.5.172" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
<PackageVersion Include="Mono.Cecil" Version="0.11.5" />
<PackageVersion Include="Moq" Version="4.20.71" />
<PackageVersion Include="NLog" Version="5.3.3" />
<PackageVersion Include="NuGet.Packaging" Version="6.11.0" />
<PackageVersion Include="NuGet.Protocol" Version="6.11.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageVersion Include="Moq" Version="4.20.72" />
<PackageVersion Include="NLog" Version="5.3.4" />
<PackageVersion Include="NuGet.Packaging" Version="6.11.1" />
<PackageVersion Include="NuGet.Protocol" Version="6.11.1" />
<PackageVersion Include="SharpCompress" Version="0.38.0" />
<PackageVersion Include="System.CodeDom" Version="8.0.0" />
<PackageVersion Include="System.Security.Permissions" Version="8.0.0" />
<PackageVersion Include="xunit" Version="2.9.0" />
<PackageVersion Include="xunit" Version="2.9.2" />
<PackageVersion Include="Mono.Cecil" Version="0.11.6" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageVersion>
<PackageVersion Include="XunitXml.TestLogger" Version="4.0.254" />
<PackageVersion Include="YamlDotNet" Version="16.1.0" />
<PackageVersion Include="YamlDotNet" Version="16.1.3" />
<!-- Transitive dependencies -->
<PackageVersion Include="System.Formats.Asn1" Version="[8.0.1,)" />
</ItemGroup>
</Project>
</Project>
2 changes: 0 additions & 2 deletions src/Snap.Installer.Tests/Snap.Installer.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Moq" />
<PackageReference Include="System.CodeDom" />
<PackageReference Include="System.Security.Permissions" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio">
<PrivateAssets>all</PrivateAssets>
Expand Down
6 changes: 3 additions & 3 deletions src/Snap.Tests/NuGet/NugetService.V2Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ public async Task TestGetMetadatasAsync_Include_PreRelease()
var packages = await _nugetService
.GetMetadatasAsync("Nuget.Packaging", packageSources, true, cancellationToken: CancellationToken.None);

Assert.NotEmpty(packages.Where(x => x.Identity.Version.IsPrerelease));
Assert.NotEmpty(packages.Where(x => !x.Identity.Version.IsPrerelease));
Assert.Contains(packages, x => x.Identity.Version.IsPrerelease);
Assert.Contains(packages, x => !x.Identity.Version.IsPrerelease);
}

[Fact]
Expand Down Expand Up @@ -193,4 +193,4 @@ public async Task TestDownloadAsyncWithProgressAsync_Unknown_File_Size()

Assert.Equal(progressSourceMock.Invocations.Count, percentages.Count);
}
}
}
6 changes: 3 additions & 3 deletions src/Snap.Tests/NuGet/NugetService.V3Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ public async Task TestGetMetadatasAsync_Include_PreRelease()
var packages = await _nugetService
.GetMetadatasAsync("Nuget.Packaging", packageSources, true, cancellationToken: CancellationToken.None);

Assert.NotEmpty(packages.Where(x => x.Identity.Version.IsPrerelease));
Assert.NotEmpty(packages.Where(x => !x.Identity.Version.IsPrerelease));
Assert.Contains(packages, x => x.Identity.Version.IsPrerelease);
Assert.Contains(packages, x => !x.Identity.Version.IsPrerelease);
}

[Fact]
Expand Down Expand Up @@ -209,4 +209,4 @@ public async Task TestDirectDownloadWithProgressAsync_Unknown_File_Size()

Assert.Equal(progressSourceMock.Invocations.Count, percentages.Count);
}
}
}
2 changes: 0 additions & 2 deletions src/Snap.Tests/Snap.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Moq" />
<PackageReference Include="System.CodeDom" />
<PackageReference Include="System.Security.Permissions" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio">
<PrivateAssets>all</PrivateAssets>
Expand Down
2 changes: 0 additions & 2 deletions src/Snapx.Tests/Snapx.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="Moq" />
<PackageReference Include="System.CodeDom" />
<PackageReference Include="System.Security.Permissions" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio">
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 655f4d1

Please sign in to comment.