dependabot-nuget 0.249.0 → 0.251.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de6f0b0f318838044e74746451b7c9b006d1c7d02a5f0eb9dd435be71e531324
|
4
|
+
data.tar.gz: a79152fa48bdead211a0116e40a8e2583fbb780c7a84ae9e11c5a61fed9cd243
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbb569b37e215ec868f66117759bacc09d3de783add60b2274f261d81a1b55ef0a4fffa77c172db4183490dc0fc390551377ba7a404ddd8e1bf1a4d836f43986
|
7
|
+
data.tar.gz: be749544dda69391923d1843c254619cf9f2f9afcc9d5de8a58fc7cf1388352084a2de6f2989d002b9fdd4e5d56c55563cbf6a477a3696757522678ddee73599
|
@@ -264,7 +264,8 @@ internal static partial class MSBuildHelper
|
|
264
264
|
var evaluationResult = GetEvaluatedValue(packageVersion, propertyInfo);
|
265
265
|
if (evaluationResult.ResultType != EvaluationResultType.Success)
|
266
266
|
{
|
267
|
-
|
267
|
+
// if we can't resolve the package version, don't report the dependency
|
268
|
+
continue;
|
268
269
|
}
|
269
270
|
|
270
271
|
packageVersion = evaluationResult.EvaluatedValue.TrimStart('[', '(').TrimEnd(']', ')');
|
@@ -568,6 +569,7 @@ internal static partial class MSBuildHelper
|
|
568
569
|
var repoRootPathPrefix = repoRootPath.NormalizePathToUnix() + "/";
|
569
570
|
var buildFilesInRepo = buildFileList
|
570
571
|
.Where(f => f.StartsWith(repoRootPathPrefix, StringComparison.OrdinalIgnoreCase))
|
572
|
+
.Where(File.Exists)
|
571
573
|
.Distinct()
|
572
574
|
.ToArray();
|
573
575
|
var result = buildFilesInRepo
|
@@ -2497,5 +2497,66 @@ public partial class UpdateWorkerTests
|
|
2497
2497
|
"""
|
2498
2498
|
);
|
2499
2499
|
}
|
2500
|
+
|
2501
|
+
[Fact]
|
2502
|
+
public async Task ProcessingProjectWithAspireDoesNotFailEvenThoughWorkloadIsNotInstalled()
|
2503
|
+
{
|
2504
|
+
// enumerating the build files will fail if the Aspire workload is not installed; this test ensures we can
|
2505
|
+
// still process the update
|
2506
|
+
await TestUpdateForProject("Newtonsoft.Json", "7.0.1", "13.0.1",
|
2507
|
+
projectContents: """
|
2508
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
2509
|
+
<PropertyGroup>
|
2510
|
+
<TargetFramework>net8.0</TargetFramework>
|
2511
|
+
<IsAspireHost>true</IsAspireHost>
|
2512
|
+
</PropertyGroup>
|
2513
|
+
<ItemGroup>
|
2514
|
+
<PackageReference Include="Newtonsoft.Json" Version="7.0.1" />
|
2515
|
+
</ItemGroup>
|
2516
|
+
</Project>
|
2517
|
+
""",
|
2518
|
+
expectedProjectContents: """
|
2519
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
2520
|
+
<PropertyGroup>
|
2521
|
+
<TargetFramework>net8.0</TargetFramework>
|
2522
|
+
<IsAspireHost>true</IsAspireHost>
|
2523
|
+
</PropertyGroup>
|
2524
|
+
<ItemGroup>
|
2525
|
+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
2526
|
+
</ItemGroup>
|
2527
|
+
</Project>
|
2528
|
+
"""
|
2529
|
+
);
|
2530
|
+
}
|
2531
|
+
|
2532
|
+
[Fact]
|
2533
|
+
public async Task UnresolvablePropertyDoesNotStopOtherUpdates()
|
2534
|
+
{
|
2535
|
+
// the property `$(MauiVersion)` cannot be resolved
|
2536
|
+
await TestUpdateForProject("Newtonsoft.Json", "7.0.1", "13.0.1",
|
2537
|
+
projectContents: """
|
2538
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
2539
|
+
<PropertyGroup>
|
2540
|
+
<TargetFramework>net8.0</TargetFramework>
|
2541
|
+
</PropertyGroup>
|
2542
|
+
<ItemGroup>
|
2543
|
+
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
|
2544
|
+
<PackageReference Include="Newtonsoft.Json" Version="7.0.1" />
|
2545
|
+
</ItemGroup>
|
2546
|
+
</Project>
|
2547
|
+
""",
|
2548
|
+
expectedProjectContents: """
|
2549
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
2550
|
+
<PropertyGroup>
|
2551
|
+
<TargetFramework>net8.0</TargetFramework>
|
2552
|
+
</PropertyGroup>
|
2553
|
+
<ItemGroup>
|
2554
|
+
<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />
|
2555
|
+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
2556
|
+
</ItemGroup>
|
2557
|
+
</Project>
|
2558
|
+
"""
|
2559
|
+
);
|
2560
|
+
}
|
2500
2561
|
}
|
2501
2562
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-nuget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.251.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dependabot-common
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.251.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.251.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubyzip
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -385,7 +385,7 @@ licenses:
|
|
385
385
|
- Nonstandard
|
386
386
|
metadata:
|
387
387
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
388
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
388
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.251.0
|
389
389
|
post_install_message:
|
390
390
|
rdoc_options: []
|
391
391
|
require_paths:
|