dependabot-composer 0.185.0 → 0.186.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: 4d22beb2ca5c2f636f3d87d91508c7b5587863bda7513c14f872ba9aacb82cd9
|
4
|
+
data.tar.gz: c2f8888551709fdb80e8bc82b5704de9288a779dc7059b6fe9a08402d112e529
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d3d03012e067cc47b2ee8a5d653be27aef986080dfa59727fe3e0249244493e200bbcc182f8c5635f5f7f6ef3d9f1be033708462dca2e4216a3e23ab6dc5dc8
|
7
|
+
data.tar.gz: c3870cbb8ba39de4c437b840c651fb18096682af3e9bd0421c64517da9874cbeef44ccd2ea8a525940beb407e0e8497ac2447dbaf0632b74de8bec6faed522e8
|
@@ -1,7 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "dependabot/errors"
|
4
3
|
require "json"
|
4
|
+
require "uri"
|
5
|
+
|
6
|
+
require "dependabot/errors"
|
5
7
|
require "dependabot/shared_helpers"
|
6
8
|
require "dependabot/composer/update_checker"
|
7
9
|
require "dependabot/composer/version"
|
@@ -308,7 +310,10 @@ module Dependabot
|
|
308
310
|
raise Dependabot::PrivateSourceAuthenticationFailure, source
|
309
311
|
elsif error.message.match?(SOURCE_TIMED_OUT_REGEX)
|
310
312
|
url = error.message.match(SOURCE_TIMED_OUT_REGEX).named_captures.fetch("url")
|
311
|
-
raise if
|
313
|
+
raise if [
|
314
|
+
"packagist.org",
|
315
|
+
"www.packagist.org"
|
316
|
+
].include?(URI(url).host)
|
312
317
|
|
313
318
|
source = url.gsub(%r{/packages.json$}, "")
|
314
319
|
raise Dependabot::PrivateSourceTimedOut, source
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dependabot-composer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.186.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-10 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.186.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.186.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debase
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|