dependabot-go_modules 0.264.0 → 0.266.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: 7006f9b6ed7c801d5b926f0d2ada961f624f7a7bde2057f822c661849744e54c
4
- data.tar.gz: 796211ae01a7396bcb759cd744a4ed7074d83718b89b6ffd163d084ce5c3fdc6
3
+ metadata.gz: 806683de9a074e9486d54064dce6f2d016882be3d8e63859b12bfbeee7069313
4
+ data.tar.gz: cc18e46174fb001de4f5f9bc1f62eaf933fc4e12ec4d398bd309ed612491602b
5
5
  SHA512:
6
- metadata.gz: 8d2f7726c1fccc5324dc6bd7c48d088fd0fd0f2bf33062ef08d70203e92dbbf9f4222336d21b46de44a9b4d674711a860f5ab9cd98b9c9ee3a83de72d1785e8f
7
- data.tar.gz: 76ec94c0e17dd82e22a91aabbf68d4a6976a580e1c18e2cf7c837319370e6a4054a66fc4ed16a815a54c15bd070028c8c831e2eaa500d0e255a889b23b9e4ae9
6
+ metadata.gz: 769bb4c3042987eca65e32f493ac7235e88aafd5425b99908cf95ecd1b057d7e1ed773169d69e7d288f132a2de9cb6954d038754b7a9eb7973ab65d8efa29234
7
+ data.tar.gz: 86d73da43363ae51e76fda9ebbac865911d35a88db8b8cb018c3db1910d530f7cb069a737ee167ded4a3bb13fcd2b3593bb3de1df6a21e67d93783f9b2672ee6
data/helpers/go.mod CHANGED
@@ -4,5 +4,5 @@ go 1.20
4
4
 
5
5
  require (
6
6
  github.com/Masterminds/vcs v1.13.3
7
- golang.org/x/mod v0.18.0
7
+ golang.org/x/mod v0.19.0
8
8
  )
data/helpers/go.sum CHANGED
@@ -1,4 +1,4 @@
1
1
  github.com/Masterminds/vcs v1.13.3 h1:IIA2aBdXvfbIM+yl/eTnL4hb1XwdpvuQLglAix1gweE=
2
2
  github.com/Masterminds/vcs v1.13.3/go.mod h1:TiE7xuEjl1N4j016moRd6vezp6e6Lz23gypeXfzXeW8=
3
- golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0=
4
- golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
3
+ golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8=
4
+ golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
@@ -72,7 +72,7 @@ module Dependabot
72
72
  @latest_version ||= T.let(fetch_latest_version, T.nilable(Dependabot::Version))
73
73
  end
74
74
 
75
- sig { returns(Dependabot::Version) }
75
+ sig { returns(T.nilable(Dependabot::Version)) }
76
76
  def lowest_security_fix_version
77
77
  @lowest_security_fix_version ||= T.let(fetch_lowest_security_fix_version, T.nilable(Dependabot::Version))
78
78
  end
@@ -105,7 +105,7 @@ module Dependabot
105
105
  candidate_versions.max
106
106
  end
107
107
 
108
- sig { returns(Dependabot::Version) }
108
+ sig { returns(T.nilable(Dependabot::Version)) }
109
109
  def fetch_lowest_security_fix_version
110
110
  relevant_versions = available_versions
111
111
  relevant_versions = filter_prerelease_versions(relevant_versions)
@@ -114,7 +114,7 @@ module Dependabot
114
114
  relevant_versions = filter_ignored_versions(relevant_versions)
115
115
  relevant_versions = filter_lower_versions(relevant_versions)
116
116
 
117
- T.must(relevant_versions.min)
117
+ relevant_versions.min
118
118
  end
119
119
 
120
120
  sig { returns(T::Array[Dependabot::Version]) }
@@ -36,7 +36,7 @@ module Dependabot
36
36
  lowest_security_fix_version
37
37
  end
38
38
 
39
- sig { override.returns(Dependabot::Version) }
39
+ sig { override.returns(T.nilable(Dependabot::Version)) }
40
40
  def lowest_security_fix_version
41
41
  latest_version_finder.lowest_security_fix_version
42
42
  end
@@ -26,7 +26,7 @@ module Dependabot
26
26
  version = version.gsub(/^v/, "") if version.is_a?(String)
27
27
  version = version.to_s.split("+").first if version.to_s.include?("+")
28
28
 
29
- super(version)
29
+ super
30
30
  end
31
31
 
32
32
  sig { override.params(version: VersionParameter).void }
@@ -52,7 +52,7 @@ module Dependabot
52
52
 
53
53
  sig { params(other: Object).returns(T.nilable(Integer)) }
54
54
  def <=>(other)
55
- result = super(other)
55
+ result = super
56
56
  return if result.nil?
57
57
  return result unless result.zero?
58
58
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-go_modules
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.264.0
4
+ version: 0.266.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-07-05 00:00:00.000000000 Z
11
+ date: 2024-07-18 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.264.0
19
+ version: 0.266.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.264.0
26
+ version: 0.266.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 1.63.2
117
+ version: 1.65.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 1.63.2
124
+ version: 1.65.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop-performance
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -268,7 +268,7 @@ licenses:
268
268
  - MIT
269
269
  metadata:
270
270
  bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
271
- changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.264.0
271
+ changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.266.0
272
272
  post_install_message:
273
273
  rdoc_options: []
274
274
  require_paths: