This is an automated email from the ASF dual-hosted git repository.
blankensteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-dotpulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 8555159 Updated NuGet packages
8555159 is described below
commit 855515938ba6486e15186bf2d703907becf6b4f2
Author: Daniel Blankensteiner <[email protected]>
AuthorDate: Fri Aug 5 09:21:55 2022 +0200
Updated NuGet packages
---
src/DotPulsar/DotPulsar.csproj | 2 +-
src/DotPulsar/Internal/Producer.cs | 3 +--
tests/DotPulsar.Tests/DotPulsar.Tests.csproj | 6 +++---
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/DotPulsar/DotPulsar.csproj b/src/DotPulsar/DotPulsar.csproj
index 4f606b0..3bf1148 100644
--- a/src/DotPulsar/DotPulsar.csproj
+++ b/src/DotPulsar/DotPulsar.csproj
@@ -23,7 +23,7 @@
<ItemGroup>
<PackageReference Include="HashDepot" Version="2.0.3" />
- <PackageReference Include="Microsoft.Extensions.ObjectPool"
Version="6.0.6" />
+ <PackageReference Include="Microsoft.Extensions.ObjectPool"
Version="6.0.7" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1"
PrivateAssets="All" />
<PackageReference Include="protobuf-net" Version="3.1.17" />
<PackageReference Include="System.IO.Pipelines" Version="6.0.3" />
diff --git a/src/DotPulsar/Internal/Producer.cs
b/src/DotPulsar/Internal/Producer.cs
index 591c52d..ba9fc0d 100644
--- a/src/DotPulsar/Internal/Producer.cs
+++ b/src/DotPulsar/Internal/Producer.cs
@@ -227,8 +227,7 @@ public sealed class Producer<TMessage> :
IProducer<TMessage>, IRegisterEvent
{
_ = await _state.StateChangedFrom(ProducerState.Disconnected,
cancellationToken).ConfigureAwait(false);
if (_throw is not null)
- //Retain original stack trace by throwing like this
- ExceptionDispatchInfo.Capture(_throw).Throw();
+ ExceptionDispatchInfo.Capture(_throw).Throw(); //Retain
original stack trace by throwing like this
}
if (_producerCount == 1)
diff --git a/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
b/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
index 3f1e3bc..0966a4f 100644
--- a/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
+++ b/tests/DotPulsar.Tests/DotPulsar.Tests.csproj
@@ -11,9 +11,9 @@
<PackageReference Include="FluentAssertions" Version="6.7.0" />
<PackageReference Include="IronSnappy" Version="1.3.0" />
<PackageReference Include="K4os.Compression.LZ4" Version="1.2.16" />
- <PackageReference Include="NSubstitute" Version="4.3.0" />
+ <PackageReference Include="NSubstitute" Version="4.4.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
- <PackageReference Include="xunit" Version="2.4.1" />
+ <PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers;
buildtransitive</IncludeAssets>
@@ -23,7 +23,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers;
buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="ZstdNet" Version="1.4.5" />
- <PackageReference Include="ZstdSharp.Port" Version="0.6.1" />
+ <PackageReference Include="ZstdSharp.Port" Version="0.6.2" />
</ItemGroup>
<ItemGroup>