Skip to content

Commit

Permalink
Bump dependencies to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
stesee authored Nov 12, 2024
2 parents 4b3024e + e3133c8 commit 4f27279
Show file tree
Hide file tree
Showing 110 changed files with 127 additions and 124 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: cla-assistant/github-action@v2.3.1
uses: cla-assistant/github-action@v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# the below token should have repo scope and must be manually added by you in the repository's secret
Expand Down
4 changes: 2 additions & 2 deletions ClosedXML.Examples/ClosedXML.Examples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<ItemGroup>
<ProjectReference Include="..\ClosedXML\ClosedXML.csproj" />
<PackageReference Include="DocumentFormat.OpenXml" Version="2.20.0" />
<PackageReference Include="morelinq" Version="4.1.0" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.15.0.81779">
<PackageReference Include="morelinq" Version="4.3.0" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML.Sandbox/ClosedXML.Sandbox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.15.0.81779">
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
12 changes: 6 additions & 6 deletions ClosedXML.Tests/ClosedXML.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@


<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="NUnit" Version="4.0.1" />
<PackageReference Include="NUnit.Analyzers" Version="3.10.0">
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit.Analyzers" Version="4.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.15.0.81779">
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.Data.OleDb" Version="8.0.0" />
<PackageReference Include="System.Data.OleDb" Version="8.0.1" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion ClosedXML.Tests/Excel/CalcEngine/LookupTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Excel;
using ClosedXML.Excel.CalcEngine.Exceptions;
using NUnit.Framework;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML.Tests/Excel/CalcEngine/MathTrigTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Excel;
using ClosedXML.Excel.CalcEngine.Exceptions;
using NUnit.Framework;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML.Tests/Excel/NamedRanges/NamedRangesTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Excel;
using NUnit.Framework;
using System;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML.Tests/Excel/Protection/XLSheetProtectionTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Excel;
using NUnit.Framework;
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Excel;
using NUnit.Framework;
using System;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML.Tests/Excel/Worksheets/XLSheetViewTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Excel;
using NUnit.Framework;
using System;
Expand Down
Binary file modified ClosedXML.Tests/Resource/Examples/Misc/CellValues.xlsx
Binary file not shown.
Binary file modified ClosedXML.Tests/Resource/Examples/Misc/DataTypes.xlsx
Binary file not shown.
Binary file modified ClosedXML.Tests/Resource/Examples/Ranges/Sorting.xlsx
Binary file not shown.
10 changes: 5 additions & 5 deletions ClosedXML.Tests/TestHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ public static void SaveWorkbook(XLWorkbook workbook, params string[] fileNamePar
public static void RunTestExample<T>(string filePartName, bool evaluateFormula = false, string expectedDiff = null, bool ignoreColumnFormats = false)
where T : IXLExample, new()
{
// Make sure tests run on a deterministic culture
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
// Make sure tests run on a deterministic culture, details: https://github.com/dotnet/runtime/issues/108742
Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;

var example = new T();
var pathParts = filePartName.Split(new[] { '\\' });
var pathParts = filePartName.Split(['\\']);
var filePath1 = Path.Combine(new List<string> { ExampleTestsOutputDirectory }.Concat(pathParts).ToArray());

var extension = Path.GetExtension(filePath1);
Expand Down Expand Up @@ -65,7 +65,7 @@ public static void RunTestExample<T>(string filePartName, bool evaluateFormula =
wb.SaveAs(ms, validate: true, evaluateFormula);
}

// Uncomment to replace expectation running .net6.0,
// Uncomment to replace expectation running .net,
//var expectedFileInVsSolution = Path.GetFullPath(Path.Combine("../../../", "resource", "examples", filePartName.Replace("\\", "/")));
//File.Copy(filePath2, expectedFileInVsSolution, true);
// Uncomment to replace expectation running .net4.8,
Expand Down Expand Up @@ -120,7 +120,7 @@ public static void CreateAndCompare(Func<IXLWorkbook> workbookGenerator, string
{
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");

var pathParts = referenceResource.Split(new[] { '\\' });
var pathParts = referenceResource.Split(['\\']);
var filePath1 = Path.Combine(new List<string> { TestsOutputDirectory }.Concat(pathParts).ToArray());

var extension = Path.GetExtension(filePath1);
Expand Down
8 changes: 4 additions & 4 deletions ClosedXML/ClosedXML.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="SkiaSharp" Version="2.88.7" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.7" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.15.0.81779">
<PackageReference Include="SkiaSharp" Version="2.88.9" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.9" />
<PackageReference Include="SonarAnalyzer.CSharp" Version="9.32.0.97167">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="System.IO.Packaging" Version="8.0.0" />
<PackageReference Include="System.IO.Packaging" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
13 changes: 8 additions & 5 deletions ClosedXML/Excel/AutoFilters/IXLAutoFilter.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
// Keep this file CodeMaid organised and cleaned
using System;
using System.Collections.Generic;

namespace ClosedXML.Excel
{
public enum XLFilterDynamicType { AboveAverage, BelowAverage }
public enum XLFilterDynamicType
{ AboveAverage, BelowAverage }

public enum XLFilterType { Regular, Custom, TopBottom, Dynamic, DateTimeGrouping }
public enum XLFilterType
{ Regular, Custom, TopBottom, Dynamic, DateTimeGrouping }

public enum XLTopBottomPart { Top, Bottom }
public enum XLTopBottomPart
{ Top, Bottom }

public interface IXLAutoFilter
{
[Obsolete("Use IsEnabled")]
bool Enabled { get; set; }

IEnumerable<IXLRangeRow> HiddenRows { get; }
bool IsEnabled { get; set; }
IXLRange Range { get; set; }
Expand All @@ -32,4 +35,4 @@ public interface IXLAutoFilter

IXLAutoFilter Sort(int columnToSortBy = 1, XLSortOrder sortOrder = XLSortOrder.Ascending, bool matchCase = false, bool ignoreBlanks = true);
}
}
}
2 changes: 1 addition & 1 deletion ClosedXML/Excel/AutoFilters/XLAutoFilter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;
using System.Linq;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/AutoFilters/XLFilter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;

namespace ClosedXML.Excel
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/CalcEngine/Functions/Lookup.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Excel.CalcEngine.Exceptions;
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/CalcEngine/Functions/Tally.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Excel.CalcEngine.Exceptions;
using System;
using System.Collections;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/Cells/IXLCell.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;
using System.Collections;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/IXLDataValidation.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System.Collections.Generic;

namespace ClosedXML.Excel
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/IXLDataValidations.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;
using System.Collections.Generic;

Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/IXLValidationCriteria.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;

namespace ClosedXML.Excel
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/XLDataValidation.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Excel.Ranges;
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/XLDataValidations.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Excel.Ranges.Index;
using System;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/XLDateCriteria.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;

namespace ClosedXML.Excel
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/XLDecimalCriteria.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned


namespace ClosedXML.Excel
{
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/XLTextLengthCriteria.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned


namespace ClosedXML.Excel
{
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/XLTimeCriteria.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;

namespace ClosedXML.Excel
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/XLValidationCriteria.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;

namespace ClosedXML.Excel
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/DataValidation/XLWholeNumberCriteria.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

namespace ClosedXML.Excel
{
public class XLWholeNumberCriteria : XLWholeNumberCriteriaBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned


namespace ClosedXML.Excel
{
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/Drawings/IXLPicture.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using SkiaSharp;
using System;

Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/Drawings/XLMarker.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using SkiaSharp;
using System;
using System.Diagnostics;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/IXLFileSharing.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned


namespace ClosedXML.Excel
{
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/IXLSheetView.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned


namespace ClosedXML.Excel
{
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/IXLWorkbook.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;
using System.Collections.Generic;
using System.Data;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/InsertData/ArrayReader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;
using System.Collections;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/InsertData/DataRecordReader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;
using System.Collections.Generic;
using System.Data;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/InsertData/IInsertDataReader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System.Collections.Generic;

namespace ClosedXML.Excel.InsertData
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/InsertData/InsertDataReaderFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;
using System.Collections;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/InsertData/NullDataReader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System.Collections.Generic;
using System.Linq;

Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/InsertData/ObjectReader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using ClosedXML.Attributes;
using ClosedXML.Extensions;
using System;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/InsertData/SimpleNullableTypeReader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;
using System.Collections;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/InsertData/SimpleTypeReader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;
using System.Collections;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/InsertData/UntypedObjectReader.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System;
using System.Collections;
using System.Collections.Generic;
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/LoadOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned


namespace ClosedXML.Excel
{
Expand Down
2 changes: 1 addition & 1 deletion ClosedXML/Excel/PivotTables/IXLPivotFields.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System.Collections.Generic;

namespace ClosedXML.Excel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

namespace ClosedXML.Excel
{
public interface IXLPivotFieldStyleFormats
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

namespace ClosedXML.Excel
{
public interface IXLPivotStyleFormat
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

using System.Collections.Generic;

namespace ClosedXML.Excel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Keep this file CodeMaid organised and cleaned

namespace ClosedXML.Excel
{
public interface IXLPivotTableStyleFormats
Expand Down
Loading

0 comments on commit 4f27279

Please sign in to comment.