dependabot-nuget 0.233.0 → 0.235.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 +4 -4
- data/lib/dependabot/nuget/file_updater.rb +1 -1
- data/lib/dependabot/nuget/metadata_finder.rb +2 -2
- data/lib/dependabot/nuget/update_checker/property_updater.rb +1 -1
- data/lib/dependabot/nuget/update_checker/repository_finder.rb +1 -1
- data/lib/dependabot/nuget/update_checker/version_finder.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac77f91e526f12294cebe908909f01bb2f337518958afd14f295d11c6834a125
|
4
|
+
data.tar.gz: e5b967e365aa81f3ba2b6630f2c59c9c585c515b0a404815576c1caa9b3bfa36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e6f9b16e4eb07305716191fa796cbf7702daca2a58b1cc238d0874be34968c468c2e9ea58c928a6017b7263e9d7bd97ec729a01d1d84e1c9c8cf79180748b1
|
7
|
+
data.tar.gz: b4c417a4e4c62f11fc9cfa7ddd95a50e49471ebc5444b471838ca7e1fc55cfd88a2468f1456fad54c9d2f9eaefceaf0071801bbf280149048e17fe31be59e842
|
@@ -24,7 +24,7 @@ module Dependabot
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def updated_dependency_files
|
27
|
-
updated_files = dependency_files.dup
|
27
|
+
updated_files = T.let(dependency_files.dup, T.untyped)
|
28
28
|
|
29
29
|
# Loop through each of the changed requirements, applying changes to
|
30
30
|
# all files for that change. Note that the logic is different here
|
@@ -59,7 +59,7 @@ module Dependabot
|
|
59
59
|
JSON.parse(body)
|
60
60
|
.fetch("resources", [])
|
61
61
|
.find { |r| r.fetch("@type") == "SearchQueryService" }
|
62
|
-
|
62
|
+
&.fetch("@id")
|
63
63
|
end
|
64
64
|
|
65
65
|
def extract_source_repo(body)
|
@@ -82,7 +82,7 @@ module Dependabot
|
|
82
82
|
def look_up_source_in_nuspec(nuspec)
|
83
83
|
potential_source_urls = [
|
84
84
|
nuspec.at_css("package > metadata > repository")
|
85
|
-
|
85
|
+
&.attribute("url")&.value,
|
86
86
|
nuspec.at_css("package > metadata > repository > url")&.content,
|
87
87
|
nuspec.at_css("package > metadata > projectUrl")&.content,
|
88
88
|
nuspec.at_css("package > metadata > licenseUrl")&.content
|
@@ -78,7 +78,7 @@ module Dependabot
|
|
78
78
|
def property_name
|
79
79
|
@property_name ||= dependency.requirements
|
80
80
|
.find { |r| r.dig(:metadata, :property_name) }
|
81
|
-
|
81
|
+
&.dig(:metadata, :property_name)
|
82
82
|
|
83
83
|
raise "No requirement with a property name!" unless @property_name
|
84
84
|
|
@@ -110,7 +110,7 @@ module Dependabot
|
|
110
110
|
listing_details = listing.fetch("listing_details")
|
111
111
|
nuspec_url = listing_details
|
112
112
|
.fetch(:versions_url, nil)
|
113
|
-
|
113
|
+
&.gsub(/index\.json$/, "#{v}/#{sanitized_name}.nuspec")
|
114
114
|
|
115
115
|
{
|
116
116
|
version: version_class.new(v),
|
@@ -280,8 +280,8 @@ module Dependabot
|
|
280
280
|
body = remove_wrapping_zero_width_chars(response.body)
|
281
281
|
JSON.parse(body).fetch("data")
|
282
282
|
.find { |d| d.fetch("id").casecmp(sanitized_name).zero? }
|
283
|
-
|
284
|
-
|
283
|
+
&.fetch("versions")
|
284
|
+
&.map { |d| d.fetch("version") }
|
285
285
|
rescue Excon::Error::Timeout, Excon::Error::Socket
|
286
286
|
repo_url = repository_details[:repository_url]
|
287
287
|
raise if repo_url == RepositoryFinder::DEFAULT_REPOSITORY_URL
|
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.235.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-19 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.235.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.235.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,7 +227,7 @@ licenses:
|
|
227
227
|
- Nonstandard
|
228
228
|
metadata:
|
229
229
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
230
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
230
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.235.0
|
231
231
|
post_install_message:
|
232
232
|
rdoc_options: []
|
233
233
|
require_paths:
|