Skip to content

Commit

Permalink
Upgrade dotnet dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Sep 16, 2023
1 parent 91a5136 commit ba1c6a1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion IsraelHiking.API/Executors/ImagesUrlsStorageExecutor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ private byte[] ResizeImage(Image originalImage, int newSizeInPixels)
public async Task StoreImage(MD5 md5, byte[] content, string imageUrl)
{
var hash = md5.ComputeHash(content).ToHashString();
var image = Image.Load(content, out var _);
var image = Image.Load(content);
var imageItemInDatabase = await _imagesRepository.GetImageByHash(hash);
if (imageItemInDatabase != null && !imageItemInDatabase.ImageUrls.Contains(imageUrl))
{
Expand Down
2 changes: 1 addition & 1 deletion IsraelHiking.API/IsraelHiking.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<PackageReference Include="OsmSharp.IO.API" Version="1.0.4" />
<PackageReference Include="ProjNet" Version="2.0.0" />
<PackageReference Include="SharpZipLib.NETStandard" Version="1.0.7" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta15" />
<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="2.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="Wangkanai.Detection" Version="7.4.0" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion IsraelHiking.Common/IsraelHiking.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="7.0.0" />
<PackageReference Include="NetTopologySuite" Version="2.5.0" />
<PackageReference Include="NetTopologySuite.IO.GeoJSON4STJ" Version="3.1.0-pre.193970619" />
<PackageReference Include="NetTopologySuite.IO.GeoJSON4STJ" Version="4.0.0" />
<PackageReference Include="OsmSharp" Version="7.0.0-pre022" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions IsraelHiking.Web/IsraelHiking.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@
<ItemGroup>
<PackageReference Include="Codecov" Version="1.13.0" />
<PackageReference Include="LazyCache.AspNetCore" Version="2.4.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.9" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.11" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
<PackageReference Include="NLog.Web.AspNetCore" Version="5.3.2" />
<PackageReference Include="NLog.Web.AspNetCore" Version="5.3.4" />
<PackageReference Include="OsmSharp.IO.API" Version="1.0.4" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.5.0" />
<PackageReference Include="Wangkanai.Detection" Version="7.4.0" />
<PackageReference Include="NeoSmart.Caching.Sqlite" Version="6.1.0" />
<PackageReference Include="NeoSmart.Caching.Sqlite" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\IsraelHiking.API\IsraelHiking.API.csproj" />
Expand Down
4 changes: 2 additions & 2 deletions Tests/IsraelHiking.API.Tests/IsraelHiking.API.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="CsvHelper" Version="30.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="NetTopologySuite.IO.GPX" Version="1.1.1" />
<PackageReference Include="NSubstitute" Version="5.0.0" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="System.ComponentModel.TypeConverter" Version="4.3.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="NSubstitute" Version="5.0.0" />
<PackageReference Include="NSubstitute" Version="5.1.0" />
<PackageReference Include="System.ComponentModel.TypeConverter" Version="4.3.0" />
</ItemGroup>

Expand Down

0 comments on commit ba1c6a1

Please sign in to comment.