Skip to content

Commit

Permalink
Merge pull request #68 from guitarrapc/feature/package_update
Browse files Browse the repository at this point in the history
feat: bump NuGet packages to latest
  • Loading branch information
guitarrapc authored Dec 13, 2023
2 parents 4401da1 + db23b37 commit 176ec03
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 20 deletions.
8 changes: 4 additions & 4 deletions samples/BlazorWasm/BlazorWasm.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.10" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.10" PrivateAssets="all" />
<PackageReference Include="Microsoft.Fast.Components.FluentUI" Version="2.4.2" />
<PackageReference Include="SkiaSharp.Views.Blazor" Version="2.88.3" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.Fast.Components.FluentUI" Version="3.4.1" />
<PackageReference Include="SkiaSharp.Views.Blazor" Version="2.88.6" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions samples/ManualGenerate/ManualGenerate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SkiaSharp" Version="2.80.2" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.80.2" />
<PackageReference Include="SkiaSharp" Version="2.88.6" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.6" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions samples/NanoServerGenerate60/NanoServerGenerate60.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.14.0" />
<PackageReference Include="SkiaSharp.NativeAssets.NanoServer" Version="2.80.2" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.19.5" />
<PackageReference Include="SkiaSharp.NativeAssets.NanoServer" Version="2.88.6" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions samples/SimpleGenerate/SimpleGenerate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SkiaSharp" Version="2.80.2" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.80.2" />
<PackageReference Include="SkiaSharp" Version="2.88.6" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.6" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/SkiaSharp.QrCode/SkiaSharp.QrCode.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SkiaSharp" Version="2.80.2" />
<PackageReference Include="SkiaSharp" Version="2.88.6" />
</ItemGroup>

</Project>
16 changes: 14 additions & 2 deletions tests/SkiaSharp.QrCode.Tests/GenerateUnitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,14 @@ public void SKImageInfoColorTest()
case SKColorType.Rgba16161616:
Assert.Equal(80000, c.BytesSize);
break;
case SKColorType.Bgra1010102:
Assert.Equal(40000, c.BytesSize);
break;
case SKColorType.Bgr101010x:
Assert.Equal(40000, c.BytesSize);
break;
default:
throw new NotImplementedException();
throw new NotImplementedException($"{nameof(colorType)} {colorType}");
}
}
}
Expand Down Expand Up @@ -253,8 +259,14 @@ public void SKImageInfoAlphaTest()
case SKColorType.Rgba16161616:
Assert.Equal(80000, d.BytesSize);
break;
case SKColorType.Bgra1010102:
Assert.Equal(40000, d.BytesSize);
break;
case SKColorType.Bgr101010x:
Assert.Equal(40000, d.BytesSize);
break;
default:
throw new NotImplementedException();
throw new NotImplementedException($"{nameof(colorType)} {colorType}");
}
}
}
Expand Down
14 changes: 7 additions & 7 deletions tests/SkiaSharp.QrCode.Tests/SkiaSharp.QrCode.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GitHubActionsTestLogger" Version="1.4.1">
<PackageReference Include="GitHubActionsTestLogger" Version="2.3.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.80.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.6" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="xunit" Version="2.6.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.2">
<PackageReference Include="coverlet.collector" Version="6.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.msbuild" Version="3.1.2">
<PackageReference Include="coverlet.msbuild" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 176ec03

Please sign in to comment.