dependabot-npm_and_yarn 0.145.1 → 0.146.1

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: e7d0aafbb6fae7585f3bd9f4eb62c0989b118fcfd4f6ec06fbc6f4f87f54f0ea
4
- data.tar.gz: 516961c899f3521f626971722584c64417415979448431a27a28a5ee46b7713a
3
+ metadata.gz: 6e577f699ee610fb357b6bcda59195313cfb6cfe2a339bf04448636d3d4cf6b2
4
+ data.tar.gz: e810fdc5ce518662cf46129cce306fac8b857adf44f5885e7487f2c7e72a2758
5
5
  SHA512:
6
- metadata.gz: e3e3a506a72f15c52d79510a3f02d1587995d66c9844f45bfe9be176d0fc3874b3b43df34f41bb934c22d1c7d1292e583d11a24855aa33e45dd76c6772fdee36
7
- data.tar.gz: b13f743bb41048e5de0fac69a8d3a98670543d92b3f0b48d79914c7bd364da26ac64bd8accdb3e6e4bd5fffe40a430ec2cdd71c687ca98365ca7ab9a1fa74507
6
+ metadata.gz: be64ba0c90f6c2378727a2401b09dc085bc5d7b8e0f61f2501011178663be91052a803e033dc5e1f5826ee821b697deb5e0d22e4ab09d1e7a0249ea392b3b218
7
+ data.tar.gz: 23baa1a4e442c4ca41b0b078d9b0aafd648cb7daba3c3f69806dc50617e3185523ee391543a9ec95cfd1d36a308c54b5e55e852fa920afc3a4bab91b8c856043
@@ -7,7 +7,7 @@
7
7
  "name": "@dependabot/helper",
8
8
  "dependencies": {
9
9
  "@dependabot/yarn-lib": "^1.21.1",
10
- "@npmcli/arborist": "^2.4.1",
10
+ "@npmcli/arborist": "^2.4.2",
11
11
  "detect-indent": "^6.0.0",
12
12
  "npm": "6.14.13",
13
13
  "semver": "^7.3.4"
@@ -1425,9 +1425,9 @@
1425
1425
  }
1426
1426
  },
1427
1427
  "node_modules/@npmcli/arborist": {
1428
- "version": "2.4.1",
1429
- "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.4.1.tgz",
1430
- "integrity": "sha512-LivXfK+LjtvzFjnwK6E41Pkw1C8+MYrgdXinzqpDc8MDYp7gMT0nvGvnpQd47OV2GhLRyBkbUSEcLk6P1d1s0g==",
1428
+ "version": "2.4.2",
1429
+ "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.4.2.tgz",
1430
+ "integrity": "sha512-QrsMrRWzO1D2EmPQheyPz1yRnnmln6vPe4SujV4cRF0v9qIAQbD8M0dMH6K3y+w/2X3t7vg5lx20LHXsbcu7lw==",
1431
1431
  "dependencies": {
1432
1432
  "@npmcli/installed-package-contents": "^1.0.7",
1433
1433
  "@npmcli/map-workspaces": "^1.0.2",
@@ -17257,9 +17257,9 @@
17257
17257
  }
17258
17258
  },
17259
17259
  "@npmcli/arborist": {
17260
- "version": "2.4.1",
17261
- "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.4.1.tgz",
17262
- "integrity": "sha512-LivXfK+LjtvzFjnwK6E41Pkw1C8+MYrgdXinzqpDc8MDYp7gMT0nvGvnpQd47OV2GhLRyBkbUSEcLk6P1d1s0g==",
17260
+ "version": "2.4.2",
17261
+ "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.4.2.tgz",
17262
+ "integrity": "sha512-QrsMrRWzO1D2EmPQheyPz1yRnnmln6vPe4SujV4cRF0v9qIAQbD8M0dMH6K3y+w/2X3t7vg5lx20LHXsbcu7lw==",
17263
17263
  "requires": {
17264
17264
  "@npmcli/installed-package-contents": "^1.0.7",
17265
17265
  "@npmcli/map-workspaces": "^1.0.2",
data/helpers/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@dependabot/yarn-lib": "^1.21.1",
13
- "@npmcli/arborist": "^2.4.1",
13
+ "@npmcli/arborist": "^2.4.2",
14
14
  "detect-indent": "^6.0.0",
15
15
  "npm": "6.14.13",
16
16
  "semver": "^7.3.4"
@@ -418,9 +418,9 @@
418
418
  "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ=="
419
419
  },
420
420
  "lodash": {
421
- "version": "4.17.20",
422
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
423
- "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA=="
421
+ "version": "4.17.21",
422
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
423
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
424
424
  },
425
425
  "lru-queue": {
426
426
  "version": "0.1.0",
@@ -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.1
4
+ version: 0.146.1
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-06 00:00:00.000000000 Z
11
+ date: 2021-05-12 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.1
19
+ version: 0.146.1
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.1
26
+ version: 0.146.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: byebug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.13.0
103
+ version: 1.14.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.13.0
110
+ version: 1.14.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement