From 55e5848b6ed016c3fc59b636704dbc3a77e86d44 Mon Sep 17 00:00:00 2001 From: Mattias Karlsson Date: Wed, 14 Jan 2026 14:48:33 +0100 Subject: [PATCH] Update package versions and remove unused code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove unused FilePathJsonConverter and PathJsonConverter classes - Update System.* packages to 10.0.2 in ARI.TestWeb - Update Devlead.Testing.MockHttp to 2026.1.14.568 - Update Microsoft.Extensions.Http: 9.0.11 → 9.0.12, 10.0.1 → 10.0.2 - Update Cake.Bridge.DependencyInjection to 2026.1.14.460 - Update Devlead.Console to 2026.1.14.558 --- build/helpers.cs | 22 ---------------------- src/ARI.TestWeb/ARI.TestWeb.csproj | 10 +++++----- src/ARI.Tests/ARI.Tests.csproj | 2 +- src/ARI/ARI.csproj | 8 ++++---- 4 files changed, 10 insertions(+), 32 deletions(-) diff --git a/build/helpers.cs b/build/helpers.cs index afb8923..89d47d5 100644 --- a/build/helpers.cs +++ b/build/helpers.cs @@ -37,25 +37,3 @@ public static CakeTaskBuilder Default(this CakeTaskBuilder cakeTaskBuilder) } } - -public class FilePathJsonConverter : PathJsonConverter -{ - protected override FilePath ConvertFromString(string value) => FilePath.FromString(value); -} - -public abstract class PathJsonConverter : System.Text.Json.Serialization.JsonConverter where TPath : Cake.Core.IO.Path -{ - public override TPath Read(ref System.Text.Json.Utf8JsonReader reader, Type typeToConvert, System.Text.Json.JsonSerializerOptions options) - { - var value = reader.GetString(); - - return value is null ? null : ConvertFromString(value); - } - - public override void Write(System.Text.Json.Utf8JsonWriter writer, TPath value, System.Text.Json.JsonSerializerOptions options) - { - writer.WriteStringValue(value.FullPath); - } - - protected abstract TPath ConvertFromString(string value); -} \ No newline at end of file diff --git a/src/ARI.TestWeb/ARI.TestWeb.csproj b/src/ARI.TestWeb/ARI.TestWeb.csproj index 97d1922..7e2abec 100644 --- a/src/ARI.TestWeb/ARI.TestWeb.csproj +++ b/src/ARI.TestWeb/ARI.TestWeb.csproj @@ -12,17 +12,17 @@ - + - + - - + + - + diff --git a/src/ARI.Tests/ARI.Tests.csproj b/src/ARI.Tests/ARI.Tests.csproj index c692c47..b2ad201 100644 --- a/src/ARI.Tests/ARI.Tests.csproj +++ b/src/ARI.Tests/ARI.Tests.csproj @@ -70,7 +70,7 @@ all - + diff --git a/src/ARI/ARI.csproj b/src/ARI/ARI.csproj index 75153da..9b9e4f9 100644 --- a/src/ARI/ARI.csproj +++ b/src/ARI/ARI.csproj @@ -41,12 +41,12 @@ - - + + - + - +