Skip to content

Commit

Permalink
DYN-7393 Update RestSharp to v112.0.0 (#15494)
Browse files Browse the repository at this point in the history
  • Loading branch information
QilongTang authored Sep 23, 2024
1 parent 8876c2c commit 702c7f8
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 21 deletions.
4 changes: 2 additions & 2 deletions src/DynamoCore/DynamoCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
</ItemGroup>
<ItemGroup Label="Common dependencies">
<PackageReference Include="Autodesk.IDSDK" Version="1.1.8" />
<PackageReference Include="Greg" Version="3.0.2.5756" />
<PackageReference Include="Greg" Version="3.0.2.6284" />
<PackageReference Include="DynamoVisualProgramming.LibG_230_0_0" Version="3.0.0.6246" GeneratePathProperty="true" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" CopyXML="true" />
<PackageReference Include="RestSharp" Version="108.0.1" CopyXML="true" />
<PackageReference Include="RestSharp" Version="112.0.0" CopyXML="true" />
<PackageReference Include="Lucene.Net" Version="4.8.0-beta00016" />
<PackageReference Include="Lucene.Net.Analysis.Common" Version="4.8.0-beta00016" />
<PackageReference Include="Lucene.Net.QueryParser" Version="4.8.0-beta00016" />
Expand Down
4 changes: 2 additions & 2 deletions src/DynamoCoreWpf/DynamoCoreWpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@
<PackageReference Include="DynamoVisualProgramming.LibG_230_0_0" Version="3.0.0.6246"/>
<PackageReference Include="FontAwesome5" Version="2.1.11" />
<PackageReference Include="AvalonEdit" Version="6.3.0.90" CopyXML="true" />
<PackageReference Include="Greg" Version="3.0.2.5756" />
<PackageReference Include="Greg" Version="3.0.2.6284" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2478.35" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="RestSharp" Version="108.0.1" />
<PackageReference Include="RestSharp" Version="112.0.0" />
<PackageReference Include="Cyotek.Drawing.BitmapFont" Version="2.0.0" />
<PackageReference Include="SharpDX" Version="4.2.0" />
<PackageReference Include="SharpDX.D3DCompiler" Version="4.2.0">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ public List<FilterEntry> InitializeHostFilter()
var hostFilter = new List<FilterEntry>();
try
{
foreach (var host in PackageManagerClientViewModel.Model.GetKnownHosts())
foreach (var host in PackageManagerClientViewModel.Model?.GetKnownHosts())
{
hostFilter.Add(new FilterEntry(host, Resources.PackageFilterByHost, Resources.PackageHostDependencyFilterContextItem, this));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1229,9 +1229,16 @@ internal List<string> GetCommonPaths(string[] paths)
private List<HostComboboxEntry> initializeHostSelections()
{
var hostSelections = new List<HostComboboxEntry>();
foreach (var host in dynamoViewModel.PackageManagerClientViewModel.Model.GetKnownHosts())
try
{
foreach (var host in dynamoViewModel.PackageManagerClientViewModel.Model?.GetKnownHosts())
{
hostSelections.Add(new HostComboboxEntry(host));
}
}
catch (Exception ex)
{
hostSelections.Add(new HostComboboxEntry(host));
dynamoViewModel.Model.Logger.Log("Could not fetch hosts: " + ex.Message);
}
return hostSelections;
}
Expand Down
4 changes: 2 additions & 2 deletions src/DynamoMLDataPipeline/DynamoMLDataPipeline.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="RestSharp" Version="108.0.1" />
<PackageReference Include="Greg" Version="3.0.2.5756" />
<PackageReference Include="RestSharp" Version="112.0.0" />
<PackageReference Include="Greg" Version="3.0.2.6284" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DynamoCore\DynamoCore.csproj">
Expand Down
4 changes: 2 additions & 2 deletions src/DynamoPackages/DynamoPackages.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
<Content Include="PackageManagerExtension_ExtensionDefinition.xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Greg" Version="3.0.2.5756" />
<PackageReference Include="Greg" Version="3.0.2.6284" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="RestSharp" Version="108.0.1" />
<PackageReference Include="RestSharp" Version="112.0.0" />
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
<EnableDefaultPageItems>false</EnableDefaultPageItems>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Greg" Version="3.0.2.5756" />
<PackageReference Include="Greg" Version="3.0.2.6284" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="RestSharp" Version="108.0.1" />
<PackageReference Include="RestSharp" Version="112.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DynamoCoreWpf\DynamoCoreWpf.csproj">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.8.0" />
<PackageReference Include="Greg" Version="3.0.2.5756" />
<PackageReference Include="Greg" Version="3.0.2.6284" />
<PackageReference Include="DynamoVisualProgramming.LibG_230_0_0" Version="3.0.0.6246" />
<PackageReference Include="Magick.NET.Core" Version="7.0.1" />
<PackageReference Include="Magick.NET-Q8-AnyCPU" Version="7.24.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="RestSharp" Version="108.0.1" />
<PackageReference Include="RestSharp" Version="112.0.0" />
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions test/DynamoCoreTests/DynamoCoreTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Greg" Version="3.0.2.5756">
<PackageReference Include="Greg" Version="3.0.2.6284">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -45,7 +45,7 @@

<PackageReference Include="JUnitTestLogger" Version="1.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="RestSharp" Version="108.0.1">
<PackageReference Include="RestSharp" Version="112.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions test/DynamoCoreWpfTests/DynamoCoreWpfTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@

<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="Cyotek.Drawing.BitmapFont" Version="2.0.0" />
<PackageReference Include="Greg" Version="3.0.2.5756">
<PackageReference Include="Greg" Version="3.0.2.6284">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="RestSharp" Version="108.0.1">
<PackageReference Include="RestSharp" Version="112.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
4 changes: 2 additions & 2 deletions test/Libraries/PackageManagerTests/PackageManagerTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageReference Include="RestSharp" Version="108.0.1">
<PackageReference Include="RestSharp" Version="112.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="Greg" Version="3.0.2.5756">
<PackageReference Include="Greg" Version="3.0.2.6284">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 702c7f8

Please sign in to comment.