dependabot-nuget 0.313.0 → 0.314.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac365725d12dca90647d4d71f59d1038f9d678bc811f20ffcb2f48ec0fb5da7a
4
- data.tar.gz: 7acd524ff51f1a2f2eba42db8711331410e740761deecb78e97365d6d5ada225
3
+ metadata.gz: 63addcf7753f130114a786641a1c8f3b82b2d8a3cd4c46e4f3d072c3d1b189f7
4
+ data.tar.gz: 36ad00f20c6beb2fd1146ddba62f9cffe9c42246e358f70fc4ec115372c93540
5
5
  SHA512:
6
- metadata.gz: 27bb68098a00a6e05e88e07c5adfe99c9a74fe9fe8cf43d367e77fee46e29046832f8cf7993ac02fe767709da11a570ef3900a0a8c0941bcde5f2bc19d0a6e07
7
- data.tar.gz: 84654a79e5cfb88dbde80c8218ed8737d5211ba5f65cc974d3aca4ab5aac8feae869a5718cebb1ed9724e46891c11287854762d60d89f535a63716ea8fcca9ee
6
+ metadata.gz: 967973760977d8dce179417fe4a786c134db3a0b14fce254b303ca52c930a25b43fa990447b5fbddc36dfd6223129ba727764b628fd817598cab3f7f77feddec
7
+ data.tar.gz: 1616f671a195834522840194d936d3a301f1664f00d66201f31b27276436bdcbe5c1ed604b4d0ec06bae55276e183dfa6f464d1178f2fe0536edc421d3756f49
@@ -979,6 +979,7 @@ internal static partial class MSBuildHelper
979
979
  "The plugin credential provider could not acquire credentials",
980
980
  "401 (Unauthorized)",
981
981
  "error NU1301: Unable to load the service index for source",
982
+ "Response status code does not indicate success: 401",
982
983
  "Response status code does not indicate success: 403",
983
984
  };
984
985
  if (unauthorizedMessageSnippets.Any(stdout.Contains))
@@ -1059,6 +1060,7 @@ internal static partial class MSBuildHelper
1059
1060
  new Regex(@"Could not install package '(?<PackageName>[^ ]+) (?<PackageVersion>[^']+)'. You are trying to install this package"),
1060
1061
  new Regex(@"Unable to find a version of '[^']+' that is compatible with '[^ ]+ [^ ]+ constraint: (?<PackageName>[^ ]+) \([^ ]+ (?<PackageVersion>[^)]+)\)'"),
1061
1062
  new Regex(@"the following error\(s\) may be blocking the current package operation: '(?<PackageName>[^ ]+) (?<PackageVersion>[^ ]+) constraint:"),
1063
+ new Regex(@"Unable to resolve '(?<PackageName>[^']+)'. An additional constraint '\((?<PackageVersion>[^)]+)\)' defined in packages.config prevents this operation."),
1062
1064
  };
1063
1065
  var matches = patterns.Select(p => p.Match(output)).Where(m => m.Success);
1064
1066
  if (matches.Any())
@@ -1773,6 +1773,14 @@ public class MSBuildHelperTests : TestBase
1773
1773
  null,
1774
1774
  ];
1775
1775
 
1776
+ yield return
1777
+ [
1778
+ // output
1779
+ "Response status code does not indicate success: 401",
1780
+ // expectedError
1781
+ new PrivateSourceAuthenticationFailure(["http://localhost/test-feed"]),
1782
+ ];
1783
+
1776
1784
  yield return
1777
1785
  [
1778
1786
  // output
@@ -1853,6 +1861,14 @@ public class MSBuildHelperTests : TestBase
1853
1861
  new UpdateNotPossible(["Some.Package.1.2.3"]),
1854
1862
  ];
1855
1863
 
1864
+ yield return
1865
+ [
1866
+ // output
1867
+ "Unable to resolve 'Some.Package'. An additional constraint '(= 1.2.3)' defined in packages.config prevents this operation.",
1868
+ // expectedError
1869
+ new UpdateNotPossible(["Some.Package.= 1.2.3"]),
1870
+ ];
1871
+
1856
1872
  yield return
1857
1873
  [
1858
1874
  // output
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-nuget
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.313.0
4
+ version: 0.314.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-05-15 00:00:00.000000000 Z
10
+ date: 2025-05-22 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: dependabot-common
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 0.313.0
18
+ version: 0.314.0
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 0.313.0
25
+ version: 0.314.0
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rubyzip
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -558,7 +558,7 @@ licenses:
558
558
  - MIT
559
559
  metadata:
560
560
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
561
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.313.0
561
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.314.0
562
562
  rdoc_options: []
563
563
  require_paths:
564
564
  - lib