Skip to content

Commit 5364783

Browse files
committed
chore: code clean up and updated dependencies
1 parent 2880820 commit 5364783

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

src/AngleSharp.Diffing.Tests/AngleSharp.DiffingTests.csproj

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net5.0</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<AssemblyName>AngleSharp.Diffing.Tests</AssemblyName>
77
<RootNamespace>AngleSharp.Diffing</RootNamespace>
@@ -10,15 +10,18 @@
1010
</PropertyGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
14-
<PackageReference Include="GitHubActionsTestLogger" Version="1.2.0" />
15-
<PackageReference Include="Shouldly" Version="4.0.3" />
16-
<PackageReference Include="xunit" Version="2.4.1" />
17-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
14+
<PackageReference Include="GitHubActionsTestLogger" Version="2.0.1">
1815
<PrivateAssets>all</PrivateAssets>
1916
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2017
</PackageReference>
21-
<PackageReference Include="coverlet.collector" Version="3.0.3">
18+
<PackageReference Include="Shouldly" Version="4.1.0" />
19+
<PackageReference Include="xunit" Version="2.4.2" />
20+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
21+
<PrivateAssets>all</PrivateAssets>
22+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
23+
</PackageReference>
24+
<PackageReference Include="coverlet.collector" Version="3.2.0">
2225
<PrivateAssets>all</PrivateAssets>
2326
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2427
</PackageReference>

src/AngleSharp.Diffing/Strategies/AttributeStrategies/DiffingStrategyPipelineBuilderExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public static IDiffingStrategyCollection AddBooleanAttributeComparer(this IDiffi
5858
/// <summary>
5959
/// Enables the special style attributes comparer during diffing.
6060
/// </summary>
61+
/// <param name="builder"></param>
6162
/// <param name="ignoreOrder">Then the flag is true, the comparer orders the styles in ascending order before comparing them.
6263
/// Therefore two styles are identical if they have the same properties and values but in different order.
6364
/// </param>

src/AngleSharp.Diffing/Strategies/DiffingStrategyPipelineBuilderExtensions.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ public static IDiffingStrategyCollection AddDefaultOptions(this IDiffingStrategy
2626
.AddBooleanAttributeComparer(BooleanAttributeComparision.Strict)
2727
.AddStyleAttributeComparer()
2828
.AddIgnoreChildrenElementSupport()
29-
.AddIgnoreAttributesElementSupport()
30-
;
29+
.AddIgnoreAttributesElementSupport();
3130
}
3231
}
3332
}

src/Directory.Build.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>0.16.0</Version>
3+
<Version>0.17.0</Version>
44
</PropertyGroup>
55

66
<PropertyGroup>
7-
<LangVersion>9.0</LangVersion>
7+
<LangVersion>11.0</LangVersion>
88
<Nullable>enable</Nullable>
99
<WarningsAsErrors>CS8600;CS8602;CS8603;CS8625</WarningsAsErrors>
1010
<SignAssembly>true</SignAssembly>
1111
<AssemblyOriginatorKeyFile>../Key.snk</AssemblyOriginatorKeyFile>
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="AngleSharp" Version="0.16.0" />
16-
<PackageReference Include="AngleSharp.Css" Version="0.16.0" />
15+
<PackageReference Include="AngleSharp" Version="0.17.0" />
16+
<PackageReference Include="AngleSharp.Css" Version="0.17.0" />
1717
</ItemGroup>
1818
</Project>

0 commit comments

Comments
 (0)