Skip to content

Commit

Permalink
Dependencies: Fixes Pinning System.Net.Http and System.Text.RegularEx…
Browse files Browse the repository at this point in the history
…pressions to latest patched versions (#4676)

* Pinning System.Net.Http and System.Text.RegularExpressions to latest patched versions

* Fixing the unit test
  • Loading branch information
kirankumarkolli authored Sep 12, 2024
1 parent 0fdb5e4 commit d4c9438
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Microsoft.Azure.Cosmos/src/Microsoft.Azure.Cosmos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="1.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="16.0.102" PrivateAssets="All" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.2" NoWarn="NU1903" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />

<!--Direct Dependencies-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ public void ProjectPackageDependenciesTest()
{ "Microsoft.Bcl.HashCode", new Version(1, 1, 0) },
{ "Azure.Core", new Version(1, 19, 0) },
{ "System.Diagnostics.DiagnosticSource", new Version(6, 0, 1) },
{ "System.Net.Http", new Version(4, 3, 4) },
{ "System.Text.RegularExpressions", new Version(4, 3, 1) },
};

Assert.AreEqual(projectDependencies.Count, baselineDependencies.Count);
Expand Down

0 comments on commit d4c9438

Please sign in to comment.