Skip to content

Commit c6fdc01

Browse files
committed
Package updates.
1 parent 5c7437a commit c6fdc01

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

SQLHelper.SpeedTests/SQLHelper.SpeedTests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
<ItemGroup>
1010
<PackageReference Include="BenchmarkDotNet" Version="0.12.1" />
11-
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="3.1.5" />
11+
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="3.1.8" />
1212
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" />
13-
<PackageReference Include="ZString" Version="2.1.2" />
13+
<PackageReference Include="ZString" Version="2.2.0" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

SQLHelper.SpeedTests/Tests/AltImplementations/HelperClasses/Batch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ private static List<dynamic> GetValues(DbDataReader tempReader)
229229
/// Executes the commands.
230230
/// </summary>
231231
/// <returns>The list of results</returns>
232-
private List<List<dynamic>> ExecuteCommands() => ExecuteCommandsAsync().GetAwaiter().GetResult();
232+
private List<List<dynamic>> ExecuteCommands() => AsyncHelper.RunSync(ExecuteCommandsAsync);
233233

234234
/// <summary>
235235
/// Executes the commands asynchronously.

SQLHelper.SpeedTests/Tests/AltImplementations/SQLHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public SQLHelper CreateBatch(IConnection connection)
191191
/// <typeparam name="TData">The type of the data to return.</typeparam>
192192
/// <param name="defaultValue">The default value.</param>
193193
/// <returns>The first value of the batch</returns>
194-
public TData ExecuteScalar<TData>(TData defaultValue = default) => ExecuteScalarAsync(defaultValue).GetAwaiter().GetResult();
194+
public TData ExecuteScalar<TData>(TData defaultValue = default) => AsyncHelper.RunSync(() => ExecuteScalarAsync(defaultValue));
195195

196196
/// <summary>
197197
/// Executes the batched commands and returns the first value, ignoring the rest (async).

src/SQLHelper.DB/SQLHelper.DB.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
</PropertyGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0">
29+
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
3030
<PrivateAssets>all</PrivateAssets>
3131
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3232
</PackageReference>
33-
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="3.1.5" />
34-
<PackageReference Include="SQLParser" Version="2.0.10" />
33+
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="3.1.8" />
34+
<PackageReference Include="SQLParser" Version="2.0.11" />
3535
<PackageReference Include="System.Data.Common" Version="4.3.0" />
36-
<PackageReference Include="System.Data.SqlClient" Version="4.8.1" />
36+
<PackageReference Include="System.Data.SqlClient" Version="4.8.2" />
3737
<PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />
38-
<PackageReference Include="BigBook" Version="3.0.42" />
39-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.5" />
38+
<PackageReference Include="BigBook" Version="3.0.47" />
39+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.8" />
4040
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
4141
</ItemGroup>
4242
</Project>

test/SQLHelper.Tests/SQLHelper.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
</ItemGroup>
2828

2929
<ItemGroup>
30-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
31-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.2">
30+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
31+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
3232
<PrivateAssets>all</PrivateAssets>
3333
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
3434
</PackageReference>
3535
<PackageReference Include="xunit" Version="2.4.1" />
36-
<PackageReference Include="FileCurator" Version="3.1.13" />
36+
<PackageReference Include="FileCurator" Version="3.1.17" />
3737
</ItemGroup>
3838

3939
<ItemGroup>

0 commit comments

Comments
 (0)