From c84796ae8120f835165bc98d182fa9fb9540e87d Mon Sep 17 00:00:00 2001 From: Gabe Stocco <98900+gfs@users.noreply.github.com> Date: Fri, 1 Nov 2024 21:36:18 +0000 Subject: [PATCH] Bump Dependencies (#594) --- AppInspector.Benchmarks/AppInspector.Benchmarks.csproj | 4 ++-- AppInspector.CLI/AppInspector.CLI.csproj | 6 +++--- AppInspector.Common/AppInspector.Common.csproj | 2 +- AppInspector.Logging/AppInspector.Logging.csproj | 4 ++-- .../AppInspector.RulesEngine.csproj | 10 +++++----- AppInspector.RulesEngine/TextContainer.cs | 3 ++- AppInspector.Tests/AppInspector.Tests.csproj | 8 ++++---- AppInspector/AppInspector.Commands.csproj | 10 +++++----- Directory.Build.props | 2 +- 9 files changed, 25 insertions(+), 24 deletions(-) diff --git a/AppInspector.Benchmarks/AppInspector.Benchmarks.csproj b/AppInspector.Benchmarks/AppInspector.Benchmarks.csproj index 4e0e9dd0..738150a0 100644 --- a/AppInspector.Benchmarks/AppInspector.Benchmarks.csproj +++ b/AppInspector.Benchmarks/AppInspector.Benchmarks.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/AppInspector.CLI/AppInspector.CLI.csproj b/AppInspector.CLI/AppInspector.CLI.csproj index 43f52a65..71bea6b9 100644 --- a/AppInspector.CLI/AppInspector.CLI.csproj +++ b/AppInspector.CLI/AppInspector.CLI.csproj @@ -80,10 +80,10 @@ - + - - + + diff --git a/AppInspector.Common/AppInspector.Common.csproj b/AppInspector.Common/AppInspector.Common.csproj index ffe8bd1d..a2f2749d 100644 --- a/AppInspector.Common/AppInspector.Common.csproj +++ b/AppInspector.Common/AppInspector.Common.csproj @@ -30,7 +30,7 @@ - + diff --git a/AppInspector.Logging/AppInspector.Logging.csproj b/AppInspector.Logging/AppInspector.Logging.csproj index 19b2f29c..09747de1 100644 --- a/AppInspector.Logging/AppInspector.Logging.csproj +++ b/AppInspector.Logging/AppInspector.Logging.csproj @@ -32,8 +32,8 @@ - - + + diff --git a/AppInspector.RulesEngine/AppInspector.RulesEngine.csproj b/AppInspector.RulesEngine/AppInspector.RulesEngine.csproj index 5d8e6cc4..25f49e12 100644 --- a/AppInspector.RulesEngine/AppInspector.RulesEngine.csproj +++ b/AppInspector.RulesEngine/AppInspector.RulesEngine.csproj @@ -30,12 +30,12 @@ - + - - - - + + + + diff --git a/AppInspector.RulesEngine/TextContainer.cs b/AppInspector.RulesEngine/TextContainer.cs index 678d1ce2..b9d8873b 100644 --- a/AppInspector.RulesEngine/TextContainer.cs +++ b/AppInspector.RulesEngine/TextContainer.cs @@ -534,8 +534,9 @@ public bool ScopeMatch(IList scopes, Boundary boundary) var theDocuments = _ymlDocument.Documents.ToImmutableArray(); foreach (var match in theDocuments.Select(document => document.RootNode.Query(Path)).SelectMany(matches => matches)) { + // TODO: Should update Boundary object to have longs intead of int rather than this casting yield return (match.ToString(), - new Boundary() { Index = match.Start.Index, Length = match.End.Index - match.Start.Index }); + new Boundary() { Index = (int)match.Start.Index, Length = (int)match.End.Index - (int)match.Start.Index }); } } } \ No newline at end of file diff --git a/AppInspector.Tests/AppInspector.Tests.csproj b/AppInspector.Tests/AppInspector.Tests.csproj index f3aba5a8..710a1743 100644 --- a/AppInspector.Tests/AppInspector.Tests.csproj +++ b/AppInspector.Tests/AppInspector.Tests.csproj @@ -17,10 +17,10 @@ - - - - + + + + diff --git a/AppInspector/AppInspector.Commands.csproj b/AppInspector/AppInspector.Commands.csproj index 7b7ef916..e139b08e 100644 --- a/AppInspector/AppInspector.Commands.csproj +++ b/AppInspector/AppInspector.Commands.csproj @@ -54,12 +54,12 @@ - - - - + + + + - + diff --git a/Directory.Build.props b/Directory.Build.props index 16a0fad2..ffa96d81 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,7 +2,7 @@ - 3.6.133 + 3.6.146 all