dependabot-npm_and_yarn 0.142.1 → 0.143.4
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: b9f95329ffa133521a4050b8b5aa055a092061a323874a5379d57413aea4a577
|
4
|
+
data.tar.gz: 94eb087cbd418525eb54cf3ffbaaef874bad86db414f852b779af493b2f15d96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be6573551e6027e454f5cab358a54f4773ad6eb306dab4556c35de4eacfff7ff01f000f25df90a106843f730e0957a587cd939bc8144e4eef823c3b228c40521
|
7
|
+
data.tar.gz: fec20892d002f9d3e721a449f3d20473b503f02b48e68b7af8aa4f9a4ab109e69b532815f82e4b7a67f34a00e0180211e472cefd268ad59c4884930432f74f07
|
data/helpers/package-lock.json
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
"name": "@dependabot/helper",
|
8
8
|
"dependencies": {
|
9
9
|
"@dependabot/yarn-lib": "^1.21.1",
|
10
|
-
"@npmcli/arborist": "^2.
|
10
|
+
"@npmcli/arborist": "^2.4.0",
|
11
11
|
"detect-indent": "^6.0.0",
|
12
12
|
"npm": "6.14.13",
|
13
13
|
"semver": "^7.3.4"
|
@@ -16,8 +16,8 @@
|
|
16
16
|
"helper": "run.js"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
|
-
"eslint": "^7.
|
20
|
-
"eslint-config-prettier": "^8.
|
19
|
+
"eslint": "^7.25.0",
|
20
|
+
"eslint-config-prettier": "^8.3.0",
|
21
21
|
"jest": "^26.6.3",
|
22
22
|
"prettier": "^2.2.1",
|
23
23
|
"rimraf": "^3.0.2"
|
@@ -1425,9 +1425,9 @@
|
|
1425
1425
|
}
|
1426
1426
|
},
|
1427
1427
|
"node_modules/@npmcli/arborist": {
|
1428
|
-
"version": "2.
|
1429
|
-
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.
|
1430
|
-
"integrity": "sha512-
|
1428
|
+
"version": "2.4.0",
|
1429
|
+
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.4.0.tgz",
|
1430
|
+
"integrity": "sha512-rCoRrUSmXdBDBBgL/O0oehIR53ey99Pds8dId7gztARZmx6/NBoeiUOu9RnvXSe15XZLc3JSz9sHPcbQ9NQ53Q==",
|
1431
1431
|
"dependencies": {
|
1432
1432
|
"@npmcli/installed-package-contents": "^1.0.7",
|
1433
1433
|
"@npmcli/map-workspaces": "^1.0.2",
|
@@ -1445,7 +1445,7 @@
|
|
1445
1445
|
"npm-install-checks": "^4.0.0",
|
1446
1446
|
"npm-package-arg": "^8.1.0",
|
1447
1447
|
"npm-pick-manifest": "^6.1.0",
|
1448
|
-
"npm-registry-fetch": "^
|
1448
|
+
"npm-registry-fetch": "^10.0.0",
|
1449
1449
|
"pacote": "^11.2.6",
|
1450
1450
|
"parse-conflict-json": "^1.1.1",
|
1451
1451
|
"promise-all-reject-late": "^1.0.0",
|
@@ -1461,6 +1461,23 @@
|
|
1461
1461
|
"arborist": "bin/index.js"
|
1462
1462
|
}
|
1463
1463
|
},
|
1464
|
+
"node_modules/@npmcli/arborist/node_modules/npm-registry-fetch": {
|
1465
|
+
"version": "10.1.0",
|
1466
|
+
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-10.1.0.tgz",
|
1467
|
+
"integrity": "sha512-XcKu0h6OuRTB7HO5uv8htavPQJ1dYTLAXLE5AMs4GFQ1LbY+LlHiNoqIbVshE3rk0vLk+nKxpA/4WJm1kE7eqg==",
|
1468
|
+
"dependencies": {
|
1469
|
+
"lru-cache": "^6.0.0",
|
1470
|
+
"make-fetch-happen": "^8.0.9",
|
1471
|
+
"minipass": "^3.1.3",
|
1472
|
+
"minipass-fetch": "^1.3.0",
|
1473
|
+
"minipass-json-stream": "^1.0.1",
|
1474
|
+
"minizlib": "^2.0.0",
|
1475
|
+
"npm-package-arg": "^8.0.0"
|
1476
|
+
},
|
1477
|
+
"engines": {
|
1478
|
+
"node": ">=10"
|
1479
|
+
}
|
1480
|
+
},
|
1464
1481
|
"node_modules/@npmcli/ci-detect": {
|
1465
1482
|
"version": "1.3.0",
|
1466
1483
|
"resolved": "https://registry.npmjs.org/@npmcli/ci-detect/-/ci-detect-1.3.0.tgz",
|
@@ -3456,9 +3473,9 @@
|
|
3456
3473
|
}
|
3457
3474
|
},
|
3458
3475
|
"node_modules/eslint": {
|
3459
|
-
"version": "7.
|
3460
|
-
"resolved": "https://registry.npmjs.org/eslint/-/eslint-7.
|
3461
|
-
"integrity": "sha512-
|
3476
|
+
"version": "7.25.0",
|
3477
|
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-7.25.0.tgz",
|
3478
|
+
"integrity": "sha512-TVpSovpvCNpLURIScDRB6g5CYu/ZFq9GfX2hLNIV4dSBKxIWojeDODvYl3t0k0VtMxYeR8OXPCFE5+oHMlGfhw==",
|
3462
3479
|
"dev": true,
|
3463
3480
|
"dependencies": {
|
3464
3481
|
"@babel/code-frame": "7.12.11",
|
@@ -3510,9 +3527,9 @@
|
|
3510
3527
|
}
|
3511
3528
|
},
|
3512
3529
|
"node_modules/eslint-config-prettier": {
|
3513
|
-
"version": "8.
|
3514
|
-
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.
|
3515
|
-
"integrity": "sha512-
|
3530
|
+
"version": "8.3.0",
|
3531
|
+
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz",
|
3532
|
+
"integrity": "sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==",
|
3516
3533
|
"dev": true,
|
3517
3534
|
"bin": {
|
3518
3535
|
"eslint-config-prettier": "bin/cli.js"
|
@@ -17240,9 +17257,9 @@
|
|
17240
17257
|
}
|
17241
17258
|
},
|
17242
17259
|
"@npmcli/arborist": {
|
17243
|
-
"version": "2.
|
17244
|
-
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.
|
17245
|
-
"integrity": "sha512-
|
17260
|
+
"version": "2.4.0",
|
17261
|
+
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.4.0.tgz",
|
17262
|
+
"integrity": "sha512-rCoRrUSmXdBDBBgL/O0oehIR53ey99Pds8dId7gztARZmx6/NBoeiUOu9RnvXSe15XZLc3JSz9sHPcbQ9NQ53Q==",
|
17246
17263
|
"requires": {
|
17247
17264
|
"@npmcli/installed-package-contents": "^1.0.7",
|
17248
17265
|
"@npmcli/map-workspaces": "^1.0.2",
|
@@ -17260,7 +17277,7 @@
|
|
17260
17277
|
"npm-install-checks": "^4.0.0",
|
17261
17278
|
"npm-package-arg": "^8.1.0",
|
17262
17279
|
"npm-pick-manifest": "^6.1.0",
|
17263
|
-
"npm-registry-fetch": "^
|
17280
|
+
"npm-registry-fetch": "^10.0.0",
|
17264
17281
|
"pacote": "^11.2.6",
|
17265
17282
|
"parse-conflict-json": "^1.1.1",
|
17266
17283
|
"promise-all-reject-late": "^1.0.0",
|
@@ -17271,6 +17288,22 @@
|
|
17271
17288
|
"tar": "^6.1.0",
|
17272
17289
|
"treeverse": "^1.0.4",
|
17273
17290
|
"walk-up-path": "^1.0.0"
|
17291
|
+
},
|
17292
|
+
"dependencies": {
|
17293
|
+
"npm-registry-fetch": {
|
17294
|
+
"version": "10.1.0",
|
17295
|
+
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-10.1.0.tgz",
|
17296
|
+
"integrity": "sha512-XcKu0h6OuRTB7HO5uv8htavPQJ1dYTLAXLE5AMs4GFQ1LbY+LlHiNoqIbVshE3rk0vLk+nKxpA/4WJm1kE7eqg==",
|
17297
|
+
"requires": {
|
17298
|
+
"lru-cache": "^6.0.0",
|
17299
|
+
"make-fetch-happen": "^8.0.9",
|
17300
|
+
"minipass": "^3.1.3",
|
17301
|
+
"minipass-fetch": "^1.3.0",
|
17302
|
+
"minipass-json-stream": "^1.0.1",
|
17303
|
+
"minizlib": "^2.0.0",
|
17304
|
+
"npm-package-arg": "^8.0.0"
|
17305
|
+
}
|
17306
|
+
}
|
17274
17307
|
}
|
17275
17308
|
},
|
17276
17309
|
"@npmcli/ci-detect": {
|
@@ -18891,9 +18924,9 @@
|
|
18891
18924
|
}
|
18892
18925
|
},
|
18893
18926
|
"eslint": {
|
18894
|
-
"version": "7.
|
18895
|
-
"resolved": "https://registry.npmjs.org/eslint/-/eslint-7.
|
18896
|
-
"integrity": "sha512-
|
18927
|
+
"version": "7.25.0",
|
18928
|
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-7.25.0.tgz",
|
18929
|
+
"integrity": "sha512-TVpSovpvCNpLURIScDRB6g5CYu/ZFq9GfX2hLNIV4dSBKxIWojeDODvYl3t0k0VtMxYeR8OXPCFE5+oHMlGfhw==",
|
18897
18930
|
"dev": true,
|
18898
18931
|
"requires": {
|
18899
18932
|
"@babel/code-frame": "7.12.11",
|
@@ -19026,9 +19059,9 @@
|
|
19026
19059
|
}
|
19027
19060
|
},
|
19028
19061
|
"eslint-config-prettier": {
|
19029
|
-
"version": "8.
|
19030
|
-
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.
|
19031
|
-
"integrity": "sha512-
|
19062
|
+
"version": "8.3.0",
|
19063
|
+
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz",
|
19064
|
+
"integrity": "sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==",
|
19032
19065
|
"dev": true,
|
19033
19066
|
"requires": {}
|
19034
19067
|
},
|
data/helpers/package.json
CHANGED
@@ -10,14 +10,14 @@
|
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"@dependabot/yarn-lib": "^1.21.1",
|
13
|
-
"@npmcli/arborist": "^2.
|
13
|
+
"@npmcli/arborist": "^2.4.0",
|
14
14
|
"detect-indent": "^6.0.0",
|
15
15
|
"npm": "6.14.13",
|
16
16
|
"semver": "^7.3.4"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
|
-
"eslint": "^7.
|
20
|
-
"eslint-config-prettier": "^8.
|
19
|
+
"eslint": "^7.25.0",
|
20
|
+
"eslint-config-prettier": "^8.3.0",
|
21
21
|
"jest": "^26.6.3",
|
22
22
|
"prettier": "^2.2.1",
|
23
23
|
"rimraf": "^3.0.2"
|
@@ -45,9 +45,9 @@ module Dependabot
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def initialize(*requirements)
|
48
|
-
requirements = requirements.flatten.
|
49
|
-
|
50
|
-
|
48
|
+
requirements = requirements.flatten.
|
49
|
+
flat_map { |req_string| req_string.split(",").map(&:strip) }.
|
50
|
+
flat_map { |req_string| convert_js_constraint_to_ruby_constraint(req_string) }
|
51
51
|
|
52
52
|
super(requirements)
|
53
53
|
end
|
@@ -106,7 +106,7 @@ module Dependabot
|
|
106
106
|
|
107
107
|
def filter_ignored_versions(versions_array)
|
108
108
|
filtered = versions_array.reject do |v, _|
|
109
|
-
|
109
|
+
ignore_requirements.any? { |r| r.satisfied_by?(v) }
|
110
110
|
end
|
111
111
|
|
112
112
|
raise AllVersionsIgnored if @raise_on_ignored && filtered.empty? && versions_array.any?
|
@@ -201,7 +201,7 @@ module Dependabot
|
|
201
201
|
return false if related_to_current_pre?(ver) ^ ver.prerelease?
|
202
202
|
return false if current_version_greater_than?(ver)
|
203
203
|
return false if current_requirement_greater_than?(ver)
|
204
|
-
return false if
|
204
|
+
return false if ignore_requirements.any? { |r| r.satisfied_by?(ver) }
|
205
205
|
return false if yanked?(ver)
|
206
206
|
|
207
207
|
true
|
@@ -388,8 +388,8 @@ module Dependabot
|
|
388
388
|
)
|
389
389
|
end
|
390
390
|
|
391
|
-
def
|
392
|
-
ignored_versions.
|
391
|
+
def ignore_requirements
|
392
|
+
ignored_versions.flat_map { |req| requirement_class.requirements_array(req) }
|
393
393
|
end
|
394
394
|
|
395
395
|
def version_class
|
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.
|
4
|
+
version: 0.143.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-26 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.143.4
|
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.143.4
|
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.
|
103
|
+
version: 1.13.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.
|
110
|
+
version: 1.13.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|