Skip to content

Commit

Permalink
upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
zlzforever committed Nov 3, 2023
1 parent fb68215 commit f01fd36
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/DotnetSpider.Mongo/DotnetSpider.Mongo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MongoDB.Driver" Version="2.20.0" />
<PackageReference Include="MongoDB.Driver" Version="2.22.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/DotnetSpider.MySql/DotnetSpider.MySql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="MySqlConnector" Version="2.2.6" />
<PackageReference Include="MySqlConnector" Version="2.2.7" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/DotnetSpider.PostgreSql/DotnetSpider.PostgreSql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Npgsql" Version="7.0.4" />
<PackageReference Include="Npgsql" Version="7.0.6" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/DotnetSpider.RabbitMQ/DotnetSpider.RabbitMQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="RabbitMQ.Client" Version="6.5.0" />
<PackageReference Include="Polly" Version="7.2.4" />
<PackageReference Include="RabbitMQ.Client" Version="6.6.0" />
<PackageReference Include="Polly" Version="8.1.0" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/DotnetSpider.Sample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static async Task Main(string[] args)
// // await DistributedSpider.RunAsync();
// await ProxySpider.RunAsync();
// await EntitySpider.RunMySqlQueueAsync();
await CnblogsSpider.RunAsync();
await CnBlogsSpider.RunAsync();

Console.WriteLine("Bye!");
}
Expand Down
6 changes: 3 additions & 3 deletions src/DotnetSpider.Sample/samples/CnblogsSpider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@

namespace DotnetSpider.Sample.samples
{
public class CnblogsSpider : Spider
public class CnBlogsSpider : Spider
{
public static async Task RunAsync()
{
var builder = Builder.CreateDefaultBuilder<CnblogsSpider>();
var builder = Builder.CreateDefaultBuilder<CnBlogsSpider>();
builder.UseSerilog();
builder.UseDownloader<HttpClientDownloader>();
builder.UseQueueDistinctBfsScheduler<HashSetDuplicateRemover>();

await builder.Build().RunAsync();
}

public CnblogsSpider(IOptions<SpiderOptions> options,
public CnBlogsSpider(IOptions<SpiderOptions> options,
DependenceServices services,
ILogger<Spider> logger) : base(
options, services, logger)
Expand Down
2 changes: 1 addition & 1 deletion src/DotnetSpider.Sample/samples/DatabaseSpider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace DotnetSpider.Sample.samples
{
public class DatabaseSpider : CnblogsSpider
public class DatabaseSpider : CnBlogsSpider
{
public static new async Task RunAsync()
{
Expand Down
2 changes: 1 addition & 1 deletion src/DotnetSpider.Tests/DotnetSpider.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="Moq" Version="4.20.69" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/DotnetSpider/DotnetSpider.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

<ItemGroup>
<PackageReference Include="Bert.RateLimiters" Version="1.0.15" />
<PackageReference Include="MessagePack" Version="2.5.124" />
<PackageReference Include="MessagePack" Version="2.5.129" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
<PackageReference Include="Microsoft.VisualBasic" Version="10.3.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Dapper" Version="2.0.143" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.49" />
<PackageReference Include="Dapper" Version="2.1.15" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.54" />
<PackageReference Include="System.Collections.Immutable" Version="7.0.0" />
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.5" />
Expand Down

0 comments on commit f01fd36

Please sign in to comment.