dependabot-npm_and_yarn 0.145.2 → 0.147.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: a1e71aa1193700f2b3e029cccefc00ca61f821d1290d83b476cb3baa6bf8a5de
4
- data.tar.gz: ce23ae572df26f693a27f291268bc5287f86bd581a5b985b6600537635fb4b03
3
+ metadata.gz: a5b7453419669012514bad2393aef23e87b191b7ac3de18c38b5a8a6fc7521a9
4
+ data.tar.gz: d4e61c38a682ccde4dc51f93a7ce157a4907eec2b8867e9f388458c8494b55ad
5
5
  SHA512:
6
- metadata.gz: 0f8272a618dc43921f29db6d3224078ae12d0121127afa7b80bf1dfe5ac6f5ad68c8e6824f806a04f4d5f522de12822ef274f65cf2e41090e07e55a3e90ce58a
7
- data.tar.gz: 56f8d75a53cb4b037d7f4c3e183706c9de0254bb0e90f384149ad38aca6f2062f2414532ab04a3cb9c6290206ec01094f0786bbbf5cec70901cdb0376be27cf8
6
+ metadata.gz: 1b5e778848adc156d17b532806b3c40581b7a3ead41ec78bc82e38b640cd311ed10fa9c36798f6be6f93398eafbd66786785fe53cfc2f9526d653da1e2d03408
7
+ data.tar.gz: 3b56656fe54c0583ff409501da8c6f4dfc0c11b67f43ab250d67d54496b9cdc0626d534589342c7c88de6e0bb737fff6f336cbbe979d8d3bb817a4284e879adc
@@ -109,7 +109,9 @@ module Dependabot
109
109
  ignore_requirements.any? { |r| r.satisfied_by?(v) }
110
110
  end
111
111
 
112
- raise AllVersionsIgnored if @raise_on_ignored && filtered.empty? && versions_array.any?
112
+ if @raise_on_ignored && filter_lower_versions(filtered).empty? && filter_lower_versions(versions_array).any?
113
+ raise AllVersionsIgnored
114
+ end
113
115
 
114
116
  filtered
115
117
  end
@@ -137,7 +139,7 @@ module Dependabot
137
139
 
138
140
  def filter_lower_versions(versions_array)
139
141
  versions_array.
140
- select { |version| version > version_class.new(dependency.version) }
142
+ select { |version, _| version > version_class.new(dependency.version) }
141
143
  end
142
144
 
143
145
  def version_from_dist_tags
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dependabot-npm_and_yarn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.145.2
4
+ version: 0.147.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-07 00:00:00.000000000 Z
11
+ date: 2021-05-13 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.145.2
19
+ version: 0.147.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.145.2
26
+ version: 0.147.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement