Skip to content

Commit d53888b

Browse files
2.1.9
1 parent 52f2f74 commit d53888b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/LuminaSupplemental.Excel/LuminaSupplemental.Excel.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<PackageProjectUrl>https://github.com/Critical-Impact/LuminaSupplemental</PackageProjectUrl>
77
<PackageLicenseFile>LICENSE</PackageLicenseFile>
88
<RepositoryUrl>https://github.com/Critical-Impact/LuminaSupplemental</RepositoryUrl>
9-
<PackageVersion>2.1.8</PackageVersion>
10-
<FileVersion>2.1.8</FileVersion>
9+
<PackageVersion>2.1.9</PackageVersion>
10+
<FileVersion>2.1.9</FileVersion>
1111
<Description>Supplemental data for lumina and dalamud plugins.</Description>
1212
</PropertyGroup>
1313

@@ -53,7 +53,7 @@
5353

5454

5555
<ItemGroup>
56-
<PackageReference Include="CSVFile" Version="3.1.0" />
56+
<PackageReference Include="CSVFile" Version="3.2.0" />
5757
<PackageReference Include="CsvHelper" Version="30.0.1" />
5858
</ItemGroup>
5959

src/LuminaSupplemental.Excel/Services/CsvLoader.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ public static class CsvLoader
3434
return items;
3535
}
3636

37+
FileInfo f = new FileInfo(filePath);
3738
var fileContents = reader.ReadToEnd();
3839
fileContents = fileContents.ReplaceLineEndings("\n"); // Works around the fact that apparently CI can change line endings
39-
var csvReader = CSVFile.CSVReader.FromString( fileContents, new CSVSettings { Encoding = Encoding.UTF8, LineSeparator = "\n" } );
40+
var csvReader = CSVFile.CSVReader.FromString( fileContents, new CSVSettings { Encoding = Encoding.UTF8, LineSeparator = "\n", BufferSize = (int)f.Length} ); //BufferSize fixes a infinite loop
4041
foreach( var line in csvReader.Lines() )
4142
{
4243
T item = new T();

src/LuminaSupplemental.SpaghettiGenerator/LuminaSupplemental.SpaghettiGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<Content Include="../GarlandTools/Supplemental/patches.json" CopyToOutputDirectory="Always" />
2020
<Content Include="../ffxiv-lodestone-item-id/lodestone-item-id.txt" CopyToOutputDirectory="Always" />
2121
<PackageReference Include="Autofac" Version="8.0.0" />
22-
<PackageReference Include="CSVFile" Version="3.1.0" />
22+
<PackageReference Include="CSVFile" Version="3.2.0" />
2323
<PackageReference Include="CsvHelper" Version="30.0.1" />
2424
<PackageReference Include="HtmlAgilityPack" Version="1.11.46" />
2525
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />

0 commit comments

Comments
 (0)