Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gehongyan committed Jul 15, 2024
1 parent cabc8c5 commit 006b7b7
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Import Project="../../Kook.Net.Sample.targets" />

<ItemGroup>
<PackageReference Include="AspNet.Security.OAuth.Kook" Version="8.0.0" />
<PackageReference Include="AspNet.Security.OAuth.Kook" Version="8.1.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Serilog" Version="4.0.0" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Kook.Net.Core/Kook.Net.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<ItemGroup>
<PackageReference Include="System.Collections.Immutable" Version="8.0.0" />
<PackageReference Include="System.Linq.Async" Version="6.0.1"/>
<PackageReference Include="System.Text.Json" Version="8.0.3" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
</ItemGroup>

<ItemGroup Condition=" !$(TargetFramework.StartsWith('net8.0')) ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MassTransit" Version="8.2.2" />
<PackageReference Include="MassTransit" Version="8.2.3" />
<PackageReference Include="MassTransit.Extensions.DependencyInjection" Version="7.3.1" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Kook.Net.Rest/Kook.Net.Rest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<ItemGroup>
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
<PackageReference Include="System.Text.Json" Version="8.0.3" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/Kook.Net.Tests.Integration.Rest/ChannelTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ await channel.ModifyPermissionOverwriteAsync(role, permissions => permissions
Assert.Equal(PermValue.Deny, rolePermissionOverwrite.Permissions.SendMessages);
Assert.Equal(PermValue.Inherit, rolePermissionOverwrite.Permissions.AttachFiles);
await channel.RemovePermissionOverwriteAsync(role);
Assert.Empty(channel.RolePermissionOverwrites.Where(overwrite => overwrite.Target > 0));
Assert.DoesNotContain(channel.RolePermissionOverwrites, overwrite => overwrite.Target > 0);

// check permission sync
Assert.True(channel.IsPermissionSynced);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

<Import Project="../../Kook.Net.Test.targets" />

<ItemGroup>
<PackageReference Update="xunit" Version="2.9.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private async Task InitializeAsync()
List<SocketGuild> guilds = Client.Guilds
.Where(x => x.Name == guildName)
.ToList();
await RemoveUselessTestGuildsAsync(guilds.Skip(1));
// await RemoveUselessTestGuildsAsync(guilds.Skip(1));

// If there is a guild created by this bot, use it
if (guilds.Find(x => x.OwnerId == Client.CurrentUser?.Id) is { } guild)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@

<Import Project="../../Kook.Net.Test.targets" />

<ItemGroup>
<PackageReference Update="xunit" Version="2.9.0" />
</ItemGroup>

</Project>
4 changes: 4 additions & 0 deletions test/Kook.Net.Tests.Unit/Kook.Net.Tests.Unit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
<ProjectReference Include="..\..\src\Kook.Net.CardMarkup\Kook.Net.CardMarkup.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="xunit" Version="2.9.0" />
</ItemGroup>

</Project>

0 comments on commit 006b7b7

Please sign in to comment.