dependabot-nuget 0.233.0 → 0.235.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: c1ec1203739f2409e8dd1bd22a191986cebb5b620753cd3652ad638644058f3e
4
- data.tar.gz: 8c932f3faa4a4d77514f69467c060179ddd92d34c7007869bb31c2829e3aef4a
3
+ metadata.gz: ac77f91e526f12294cebe908909f01bb2f337518958afd14f295d11c6834a125
4
+ data.tar.gz: e5b967e365aa81f3ba2b6630f2c59c9c585c515b0a404815576c1caa9b3bfa36
5
5
  SHA512:
6
- metadata.gz: f7eb2407f376b9380d89e8f19f812a7a4826d04200948ab40529a9807b7610da66a04176285913b6b78f4a77d61313c171ab258f22e2382e07f87cf1dfa81ab6
7
- data.tar.gz: 2adab06ca11c23b83de5e74bfb1635721cfd3f682ca27a092b6aba2caa179a42b08ca74e4aeb9ad54fa73be820556a36d5aa731fbda006b7ec4e96919ff4f2e0
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
- &.fetch("@id")
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
- &.attribute("url")&.value,
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
- &.dig(:metadata, :property_name)
81
+ &.dig(:metadata, :property_name)
82
82
 
83
83
  raise "No requirement with a property name!" unless @property_name
84
84
 
@@ -96,7 +96,7 @@ module Dependabot
96
96
 
97
97
  doc.remove_namespaces!
98
98
  base_url = doc.at_xpath("service")&.attributes
99
- &.fetch("base", nil)&.value
99
+ &.fetch("base", nil)&.value
100
100
 
101
101
  base_url ||= repo_details.fetch(:url)
102
102
 
@@ -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
- &.gsub(/index\.json$/, "#{v}/#{sanitized_name}.nuspec")
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
- &.fetch("versions")
284
- &.map { |d| d.fetch("version") }
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.233.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-06 00:00:00.000000000 Z
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.233.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.233.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.233.0
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: