<PackageReference Include="JmesPath.Net" Version="1.1.0" />

This commit is contained in:
Stef Heyenrath
2026-03-05 19:45:53 +01:00
parent f1513044b9
commit 7bbfe7a887
6 changed files with 16 additions and 19 deletions
@@ -70,7 +70,7 @@ public class JsonPathMatcher : IStringMatcher, IObjectMatcher
{
try
{
var jToken = JToken.Parse(input);
var jToken = JToken.Parse(input!);
score = IsMatch(jToken);
}
catch (Exception ex)
@@ -42,7 +42,7 @@ internal class MappingFileNameSanitizer
if (!string.IsNullOrEmpty(_settings.ProxyAndRecordSettings?.PrefixForSavedMappingFile))
{
name = $"{_settings.ProxyAndRecordSettings.PrefixForSavedMappingFile}{ReplaceChar}{name}";
name = $"{_settings.ProxyAndRecordSettings!.PrefixForSavedMappingFile}{ReplaceChar}{name}";
}
return $"{Path.GetInvalidFileNameChars().Aggregate(name, (current, c) => current.Replace(c, ReplaceChar))}.json";
}
@@ -37,8 +37,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="JmesPath.Net.SourceOnly" Version="1.0.330-20260228.1" />
<!--<PackageReference Include="JmesPath.Net" Version="1.0.330" />-->
<PackageReference Include="JmesPath.Net" Version="1.1.0" />
<PackageReference Include="NJsonSchema.Extensions" Version="0.2.0" />
<PackageReference Include="NSwag.Core" Version="13.16.1" />
<PackageReference Include="SimMetrics.Net" Version="1.0.5" />