dependabot-composer 0.392.0 → 0.393.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78b54a4ac406d7d5f1cae0f767b47f6ba8eb7671d202fd379bd560201f5d7cc7
|
|
4
|
+
data.tar.gz: 020ec993034ceea2e4aa1e4f11d6d87486499bb0a5e241a7087ffbad2b0d981f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de52472901295cf6f857c01953829a2931d77423ec1b713e4789ed782b016012cdd70543be3c9c4463f89f78f2e4239b6c88eee521c71230e227e73f576c0c61
|
|
7
|
+
data.tar.gz: d8ea50434bf9909eb7bc3592bbcbe597c72112ac29e611e04fa6688ea31a2ab45e2984d149c0c89fb365c07bf05836a2a8bc0384ec5d691d58801028311cc58e
|
|
@@ -122,21 +122,24 @@ module Dependabot
|
|
|
122
122
|
|
|
123
123
|
sig { returns(T::Hash[String, String]) }
|
|
124
124
|
def run_update_helper
|
|
125
|
-
|
|
126
|
-
SharedHelpers.
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
125
|
+
T.cast(
|
|
126
|
+
SharedHelpers.with_git_configured(credentials: credentials) do
|
|
127
|
+
SharedHelpers.run_helper_subprocess(
|
|
128
|
+
command: "php -d memory_limit=-1 #{php_helper_path}",
|
|
129
|
+
allow_unsafe_shell_command: true,
|
|
130
|
+
function: "update",
|
|
131
|
+
env: credentials_env,
|
|
132
|
+
args: [
|
|
133
|
+
Dir.pwd,
|
|
134
|
+
dependency.name,
|
|
135
|
+
dependency.version,
|
|
136
|
+
git_credentials,
|
|
137
|
+
registry_credentials
|
|
138
|
+
]
|
|
139
|
+
)
|
|
140
|
+
end,
|
|
141
|
+
T::Hash[String, String]
|
|
142
|
+
)
|
|
140
143
|
end
|
|
141
144
|
|
|
142
145
|
sig { returns(String) }
|
|
@@ -418,13 +421,15 @@ module Dependabot
|
|
|
418
421
|
SharedHelpers.in_a_temporary_directory do
|
|
419
422
|
File.write(PackageManager::MANIFEST_FILENAME, updated_composer_json_content)
|
|
420
423
|
|
|
421
|
-
content_hash =
|
|
424
|
+
content_hash = T.cast(
|
|
422
425
|
SharedHelpers.run_helper_subprocess(
|
|
423
426
|
command: "#{Language::NAME} #{php_helper_path}",
|
|
424
427
|
function: "get_content_hash",
|
|
425
428
|
env: credentials_env,
|
|
426
429
|
args: [Dir.pwd]
|
|
427
|
-
)
|
|
430
|
+
),
|
|
431
|
+
String
|
|
432
|
+
)
|
|
428
433
|
|
|
429
434
|
content.gsub(existing_hash, content_hash)
|
|
430
435
|
end
|
|
@@ -188,19 +188,22 @@ module Dependabot
|
|
|
188
188
|
|
|
189
189
|
sig { returns(T.nilable(String)) }
|
|
190
190
|
def run_update_checker
|
|
191
|
-
|
|
192
|
-
SharedHelpers.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
191
|
+
T.cast(
|
|
192
|
+
SharedHelpers.with_git_configured(credentials: credentials) do
|
|
193
|
+
SharedHelpers.run_helper_subprocess(
|
|
194
|
+
command: "php -d memory_limit=-1 #{php_helper_path}",
|
|
195
|
+
allow_unsafe_shell_command: true,
|
|
196
|
+
function: "get_latest_resolvable_version",
|
|
197
|
+
args: [
|
|
198
|
+
Dir.pwd,
|
|
199
|
+
dependency.name.downcase,
|
|
200
|
+
git_credentials,
|
|
201
|
+
registry_credentials
|
|
202
|
+
]
|
|
203
|
+
)
|
|
204
|
+
end,
|
|
205
|
+
T.nilable(String)
|
|
206
|
+
)
|
|
204
207
|
end
|
|
205
208
|
|
|
206
209
|
sig { params(unlock_requirement: T::Boolean).returns(String) }
|
|
@@ -191,7 +191,7 @@ module Dependabot
|
|
|
191
191
|
if git_commit_checker.pinned_ref_looks_like_version? &&
|
|
192
192
|
git_commit_checker.local_tag_for_latest_version(update_cooldown)
|
|
193
193
|
latest_tag = git_commit_checker.local_tag_for_latest_version(update_cooldown)
|
|
194
|
-
return latest_tag&.
|
|
194
|
+
return latest_tag&.commit_sha
|
|
195
195
|
end
|
|
196
196
|
|
|
197
197
|
# If the dependency is pinned to a tag that doesn't look like a
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dependabot-composer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.393.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dependabot
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.393.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.
|
|
25
|
+
version: 0.393.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: debug
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -276,7 +276,7 @@ licenses:
|
|
|
276
276
|
- MIT
|
|
277
277
|
metadata:
|
|
278
278
|
bug_tracker_uri: https://github.com/dependabot/dependabot-core/issues
|
|
279
|
-
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.
|
|
279
|
+
changelog_uri: https://github.com/dependabot/dependabot-core/releases/tag/v0.393.0
|
|
280
280
|
rdoc_options: []
|
|
281
281
|
require_paths:
|
|
282
282
|
- lib
|