dependabot-npm_and_yarn 0.171.2 → 0.172.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/package-lock.json +175 -129
- data/helpers/package.json +3 -3
- data/helpers/test/npm6/fixtures/conflicting-dependency-parser/simple/package-lock.json +3 -3
- data/helpers/test/yarn/fixtures/conflicting-dependency-parser/deeply-nested/yarn.lock +3 -3
- data/lib/dependabot/npm_and_yarn/file_updater/npm_lockfile_updater.rb +1 -17
- data/lib/dependabot/npm_and_yarn/native_helpers.rb +19 -0
- data/lib/dependabot/npm_and_yarn/update_checker/subdependency_version_resolver.rb +10 -5
- data/lib/dependabot/npm_and_yarn/update_checker/version_resolver.rb +5 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49ed7f8ab64dda2aacabca28b5dd988004232b1df389359fe54e74a3aeaa1a90
|
4
|
+
data.tar.gz: 7c709f681c4ee1a5df89bcf1bc013933e38e901a85154a7abc4d61b609902d88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afd743682302b85d1647f0b98c55869bbaf8c998265d7a94843c526ddaa7afc2f00fa42fc7fad3780ae268973b1e5d2005c301cbee90fd7bac9a878ab80397cb
|
7
|
+
data.tar.gz: 429b91647c7a68027eaa637145b64e5f68e30c77e289b356d67ec6ab6357e0fc4f263d8b75d99ee6d1cac0c1c800f2f801274e27ed2f39df5aeba4473cc7d1c3
|
data/helpers/package-lock.json
CHANGED
@@ -7,16 +7,16 @@
|
|
7
7
|
"name": "@dependabot/helper",
|
8
8
|
"dependencies": {
|
9
9
|
"@dependabot/yarn-lib": "^1.21.1",
|
10
|
-
"@npmcli/arborist": "^4.
|
10
|
+
"@npmcli/arborist": "^4.2.1",
|
11
11
|
"detect-indent": "^6.1.0",
|
12
|
-
"npm": "6.14.
|
12
|
+
"npm": "6.14.16",
|
13
13
|
"semver": "^7.3.4"
|
14
14
|
},
|
15
15
|
"bin": {
|
16
16
|
"helper": "run.js"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
|
-
"eslint": "^8.
|
19
|
+
"eslint": "^8.7.0",
|
20
20
|
"eslint-config-prettier": "^8.3.0",
|
21
21
|
"jest": "^27.4.7",
|
22
22
|
"prettier": "^2.5.1",
|
@@ -1530,9 +1530,9 @@
|
|
1530
1530
|
}
|
1531
1531
|
},
|
1532
1532
|
"node_modules/@npmcli/arborist": {
|
1533
|
-
"version": "4.
|
1534
|
-
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-4.
|
1535
|
-
"integrity": "sha512-
|
1533
|
+
"version": "4.2.1",
|
1534
|
+
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-4.2.1.tgz",
|
1535
|
+
"integrity": "sha512-vAIfPwW6alsyjfv7wzGPMJv6Dun8xs9VugdqfwkWEyRajzOLjeifxeDqlJYQ8G8FTU38grIWjkoUmd9cAnJnPg==",
|
1536
1536
|
"dependencies": {
|
1537
1537
|
"@isaacs/string-locale-compare": "^1.1.0",
|
1538
1538
|
"@npmcli/installed-package-contents": "^1.0.7",
|
@@ -1543,7 +1543,7 @@
|
|
1543
1543
|
"@npmcli/node-gyp": "^1.0.3",
|
1544
1544
|
"@npmcli/package-json": "^1.0.1",
|
1545
1545
|
"@npmcli/run-script": "^2.0.0",
|
1546
|
-
"bin-links": "^
|
1546
|
+
"bin-links": "^3.0.0",
|
1547
1547
|
"cacache": "^15.0.3",
|
1548
1548
|
"common-ancestor-path": "^1.0.1",
|
1549
1549
|
"json-parse-even-better-errors": "^2.3.1",
|
@@ -2036,15 +2036,6 @@
|
|
2036
2036
|
"url": "https://github.com/sponsors/epoberezkin"
|
2037
2037
|
}
|
2038
2038
|
},
|
2039
|
-
"node_modules/ansi-colors": {
|
2040
|
-
"version": "4.1.1",
|
2041
|
-
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
|
2042
|
-
"integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
|
2043
|
-
"dev": true,
|
2044
|
-
"engines": {
|
2045
|
-
"node": ">=6"
|
2046
|
-
}
|
2047
|
-
},
|
2048
2039
|
"node_modules/ansi-escapes": {
|
2049
2040
|
"version": "3.2.0",
|
2050
2041
|
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
|
@@ -2380,19 +2371,52 @@
|
|
2380
2371
|
}
|
2381
2372
|
},
|
2382
2373
|
"node_modules/bin-links": {
|
2383
|
-
"version": "
|
2384
|
-
"resolved": "https://registry.npmjs.org/bin-links/-/bin-links-
|
2385
|
-
"integrity": "sha512-
|
2374
|
+
"version": "3.0.0",
|
2375
|
+
"resolved": "https://registry.npmjs.org/bin-links/-/bin-links-3.0.0.tgz",
|
2376
|
+
"integrity": "sha512-fC7kPWcEkAWBgCKxmAMqZldlIeHsXwQy9JXzrppAVQiukGiDKxmYesJcBKWu6UMwx/5GOfo10wtK/4zy+Xt/mg==",
|
2386
2377
|
"dependencies": {
|
2387
2378
|
"cmd-shim": "^4.0.1",
|
2388
2379
|
"mkdirp-infer-owner": "^2.0.0",
|
2389
2380
|
"npm-normalize-package-bin": "^1.0.0",
|
2390
2381
|
"read-cmd-shim": "^2.0.0",
|
2391
2382
|
"rimraf": "^3.0.0",
|
2392
|
-
"write-file-atomic": "^
|
2383
|
+
"write-file-atomic": "^4.0.0"
|
2393
2384
|
},
|
2394
2385
|
"engines": {
|
2395
|
-
"node": ">=
|
2386
|
+
"node": "^12.13.0 || ^14.15.0 || >=16"
|
2387
|
+
}
|
2388
|
+
},
|
2389
|
+
"node_modules/bin-links/node_modules/typedarray-to-buffer": {
|
2390
|
+
"version": "4.0.0",
|
2391
|
+
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-4.0.0.tgz",
|
2392
|
+
"integrity": "sha512-6dOYeZfS3O9RtRD1caom0sMxgK59b27+IwoNy8RDPsmslSGOyU+mpTamlaIW7aNKi90ZQZ9DFaZL3YRoiSCULQ==",
|
2393
|
+
"funding": [
|
2394
|
+
{
|
2395
|
+
"type": "github",
|
2396
|
+
"url": "https://github.com/sponsors/feross"
|
2397
|
+
},
|
2398
|
+
{
|
2399
|
+
"type": "patreon",
|
2400
|
+
"url": "https://www.patreon.com/feross"
|
2401
|
+
},
|
2402
|
+
{
|
2403
|
+
"type": "consulting",
|
2404
|
+
"url": "https://feross.org/support"
|
2405
|
+
}
|
2406
|
+
]
|
2407
|
+
},
|
2408
|
+
"node_modules/bin-links/node_modules/write-file-atomic": {
|
2409
|
+
"version": "4.0.0",
|
2410
|
+
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.0.tgz",
|
2411
|
+
"integrity": "sha512-JhcWoKffJNF7ivO9yflBhc7tn3wKnokMUfWpBriM9yCXj4ePQnRPcWglBkkg1AHC8nsW/EfxwwhqsLtOy59djA==",
|
2412
|
+
"dependencies": {
|
2413
|
+
"imurmurhash": "^0.1.4",
|
2414
|
+
"is-typedarray": "^1.0.0",
|
2415
|
+
"signal-exit": "^3.0.2",
|
2416
|
+
"typedarray-to-buffer": "^4.0.0"
|
2417
|
+
},
|
2418
|
+
"engines": {
|
2419
|
+
"node": "^12.13.0 || ^14.15.0 || >=16"
|
2396
2420
|
}
|
2397
2421
|
},
|
2398
2422
|
"node_modules/bl": {
|
@@ -3209,18 +3233,6 @@
|
|
3209
3233
|
"once": "^1.4.0"
|
3210
3234
|
}
|
3211
3235
|
},
|
3212
|
-
"node_modules/enquirer": {
|
3213
|
-
"version": "2.3.6",
|
3214
|
-
"resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz",
|
3215
|
-
"integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==",
|
3216
|
-
"dev": true,
|
3217
|
-
"dependencies": {
|
3218
|
-
"ansi-colors": "^4.1.1"
|
3219
|
-
},
|
3220
|
-
"engines": {
|
3221
|
-
"node": ">=8.6"
|
3222
|
-
}
|
3223
|
-
},
|
3224
3236
|
"node_modules/env-paths": {
|
3225
3237
|
"version": "2.2.1",
|
3226
3238
|
"resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
|
@@ -3325,9 +3337,9 @@
|
|
3325
3337
|
}
|
3326
3338
|
},
|
3327
3339
|
"node_modules/eslint": {
|
3328
|
-
"version": "8.
|
3329
|
-
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.
|
3330
|
-
"integrity": "sha512-
|
3340
|
+
"version": "8.7.0",
|
3341
|
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.7.0.tgz",
|
3342
|
+
"integrity": "sha512-ifHYzkBGrzS2iDU7KjhCAVMGCvF6M3Xfs8X8b37cgrUlDt6bWRTpRh6T/gtSXv1HJ/BUGgmjvNvOEGu85Iif7w==",
|
3331
3343
|
"dev": true,
|
3332
3344
|
"dependencies": {
|
3333
3345
|
"@eslint/eslintrc": "^1.0.5",
|
@@ -3337,11 +3349,10 @@
|
|
3337
3349
|
"cross-spawn": "^7.0.2",
|
3338
3350
|
"debug": "^4.3.2",
|
3339
3351
|
"doctrine": "^3.0.0",
|
3340
|
-
"enquirer": "^2.3.5",
|
3341
3352
|
"escape-string-regexp": "^4.0.0",
|
3342
3353
|
"eslint-scope": "^7.1.0",
|
3343
3354
|
"eslint-utils": "^3.0.0",
|
3344
|
-
"eslint-visitor-keys": "^3.
|
3355
|
+
"eslint-visitor-keys": "^3.2.0",
|
3345
3356
|
"espree": "^9.3.0",
|
3346
3357
|
"esquery": "^1.4.0",
|
3347
3358
|
"esutils": "^2.0.2",
|
@@ -3350,7 +3361,7 @@
|
|
3350
3361
|
"functional-red-black-tree": "^1.0.1",
|
3351
3362
|
"glob-parent": "^6.0.1",
|
3352
3363
|
"globals": "^13.6.0",
|
3353
|
-
"ignore": "^
|
3364
|
+
"ignore": "^5.2.0",
|
3354
3365
|
"import-fresh": "^3.0.0",
|
3355
3366
|
"imurmurhash": "^0.1.4",
|
3356
3367
|
"is-glob": "^4.0.0",
|
@@ -3361,9 +3372,7 @@
|
|
3361
3372
|
"minimatch": "^3.0.4",
|
3362
3373
|
"natural-compare": "^1.4.0",
|
3363
3374
|
"optionator": "^0.9.1",
|
3364
|
-
"progress": "^2.0.0",
|
3365
3375
|
"regexpp": "^3.2.0",
|
3366
|
-
"semver": "^7.2.1",
|
3367
3376
|
"strip-ansi": "^6.0.1",
|
3368
3377
|
"strip-json-comments": "^3.1.0",
|
3369
3378
|
"text-table": "^0.2.0",
|
@@ -3432,9 +3441,9 @@
|
|
3432
3441
|
}
|
3433
3442
|
},
|
3434
3443
|
"node_modules/eslint-visitor-keys": {
|
3435
|
-
"version": "3.
|
3436
|
-
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.
|
3437
|
-
"integrity": "sha512-
|
3444
|
+
"version": "3.2.0",
|
3445
|
+
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.2.0.tgz",
|
3446
|
+
"integrity": "sha512-IOzT0X126zn7ALX0dwFiUQEdsfzrm4+ISsQS8nukaJXwEyYKRSnEIIDULYg1mCtGp7UUXgfGl7BIolXREQK+XQ==",
|
3438
3447
|
"dev": true,
|
3439
3448
|
"engines": {
|
3440
3449
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
@@ -3533,6 +3542,15 @@
|
|
3533
3542
|
"node": ">=8"
|
3534
3543
|
}
|
3535
3544
|
},
|
3545
|
+
"node_modules/eslint/node_modules/ignore": {
|
3546
|
+
"version": "5.2.0",
|
3547
|
+
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
|
3548
|
+
"integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==",
|
3549
|
+
"dev": true,
|
3550
|
+
"engines": {
|
3551
|
+
"node": ">= 4"
|
3552
|
+
}
|
3553
|
+
},
|
3536
3554
|
"node_modules/eslint/node_modules/js-yaml": {
|
3537
3555
|
"version": "4.1.0",
|
3538
3556
|
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
|
@@ -7545,9 +7563,9 @@
|
|
7545
7563
|
}
|
7546
7564
|
},
|
7547
7565
|
"node_modules/npm": {
|
7548
|
-
"version": "6.14.
|
7549
|
-
"resolved": "https://registry.npmjs.org/npm/-/npm-6.14.
|
7550
|
-
"integrity": "sha512-
|
7566
|
+
"version": "6.14.16",
|
7567
|
+
"resolved": "https://registry.npmjs.org/npm/-/npm-6.14.16.tgz",
|
7568
|
+
"integrity": "sha512-LMiLGYsVNJfVPlQg7v2NYjG7iRIapcLv+oMunlq7fkXVx0BATCjRu7XyWl0G+iuZzHy4CjtM32QB8ox8juTgaw==",
|
7551
7569
|
"bundleDependencies": [
|
7552
7570
|
"abbrev",
|
7553
7571
|
"ansicolors",
|
@@ -7783,7 +7801,7 @@
|
|
7783
7801
|
"sorted-union-stream": "~2.1.3",
|
7784
7802
|
"ssri": "^6.0.2",
|
7785
7803
|
"stringify-package": "^1.0.1",
|
7786
|
-
"tar": "^4.4.
|
7804
|
+
"tar": "^4.4.19",
|
7787
7805
|
"text-table": "~0.2.0",
|
7788
7806
|
"tiny-relative-date": "^1.3.0",
|
7789
7807
|
"uid-number": "0.0.6",
|
@@ -9629,8 +9647,9 @@
|
|
9629
9647
|
"license": "MIT"
|
9630
9648
|
},
|
9631
9649
|
"node_modules/npm/node_modules/json-schema": {
|
9632
|
-
"version": "0.
|
9633
|
-
"inBundle": true
|
9650
|
+
"version": "0.4.0",
|
9651
|
+
"inBundle": true,
|
9652
|
+
"license": "(AFL-2.1 OR BSD-3-Clause)"
|
9634
9653
|
},
|
9635
9654
|
"node_modules/npm/node_modules/json-stringify-safe": {
|
9636
9655
|
"version": "5.0.1",
|
@@ -9661,17 +9680,17 @@
|
|
9661
9680
|
}
|
9662
9681
|
},
|
9663
9682
|
"node_modules/npm/node_modules/jsprim": {
|
9664
|
-
"version": "1.4.
|
9665
|
-
"engines": [
|
9666
|
-
"node >=0.6.0"
|
9667
|
-
],
|
9683
|
+
"version": "1.4.2",
|
9668
9684
|
"inBundle": true,
|
9669
9685
|
"license": "MIT",
|
9670
9686
|
"dependencies": {
|
9671
9687
|
"assert-plus": "1.0.0",
|
9672
9688
|
"extsprintf": "1.3.0",
|
9673
|
-
"json-schema": "0.
|
9689
|
+
"json-schema": "0.4.0",
|
9674
9690
|
"verror": "1.10.0"
|
9691
|
+
},
|
9692
|
+
"engines": {
|
9693
|
+
"node": ">=0.6.0"
|
9675
9694
|
}
|
9676
9695
|
},
|
9677
9696
|
"node_modules/npm/node_modules/latest-version": {
|
@@ -10584,7 +10603,7 @@
|
|
10584
10603
|
}
|
10585
10604
|
},
|
10586
10605
|
"node_modules/npm/node_modules/path-parse": {
|
10587
|
-
"version": "1.0.
|
10606
|
+
"version": "1.0.7",
|
10588
10607
|
"inBundle": true,
|
10589
10608
|
"license": "MIT"
|
10590
10609
|
},
|
@@ -11323,17 +11342,17 @@
|
|
11323
11342
|
}
|
11324
11343
|
},
|
11325
11344
|
"node_modules/npm/node_modules/tar": {
|
11326
|
-
"version": "4.4.
|
11345
|
+
"version": "4.4.19",
|
11327
11346
|
"inBundle": true,
|
11328
11347
|
"license": "ISC",
|
11329
11348
|
"dependencies": {
|
11330
|
-
"chownr": "^1.1.
|
11331
|
-
"fs-minipass": "^1.2.
|
11332
|
-
"minipass": "^2.
|
11333
|
-
"minizlib": "^1.
|
11334
|
-
"mkdirp": "^0.5.
|
11335
|
-
"safe-buffer": "^5.1
|
11336
|
-
"yallist": "^3.
|
11349
|
+
"chownr": "^1.1.4",
|
11350
|
+
"fs-minipass": "^1.2.7",
|
11351
|
+
"minipass": "^2.9.0",
|
11352
|
+
"minizlib": "^1.3.3",
|
11353
|
+
"mkdirp": "^0.5.5",
|
11354
|
+
"safe-buffer": "^5.2.1",
|
11355
|
+
"yallist": "^3.1.1"
|
11337
11356
|
},
|
11338
11357
|
"engines": {
|
11339
11358
|
"node": ">=4.5"
|
@@ -11348,6 +11367,30 @@
|
|
11348
11367
|
"yallist": "^3.0.0"
|
11349
11368
|
}
|
11350
11369
|
},
|
11370
|
+
"node_modules/npm/node_modules/tar/node_modules/safe-buffer": {
|
11371
|
+
"version": "5.2.1",
|
11372
|
+
"funding": [
|
11373
|
+
{
|
11374
|
+
"type": "github",
|
11375
|
+
"url": "https://github.com/sponsors/feross"
|
11376
|
+
},
|
11377
|
+
{
|
11378
|
+
"type": "patreon",
|
11379
|
+
"url": "https://www.patreon.com/feross"
|
11380
|
+
},
|
11381
|
+
{
|
11382
|
+
"type": "consulting",
|
11383
|
+
"url": "https://feross.org/support"
|
11384
|
+
}
|
11385
|
+
],
|
11386
|
+
"inBundle": true,
|
11387
|
+
"license": "MIT"
|
11388
|
+
},
|
11389
|
+
"node_modules/npm/node_modules/tar/node_modules/yallist": {
|
11390
|
+
"version": "3.1.1",
|
11391
|
+
"inBundle": true,
|
11392
|
+
"license": "ISC"
|
11393
|
+
},
|
11351
11394
|
"node_modules/npm/node_modules/term-size": {
|
11352
11395
|
"version": "1.2.0",
|
11353
11396
|
"inBundle": true,
|
@@ -12377,15 +12420,6 @@
|
|
12377
12420
|
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
|
12378
12421
|
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
|
12379
12422
|
},
|
12380
|
-
"node_modules/progress": {
|
12381
|
-
"version": "2.0.3",
|
12382
|
-
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
|
12383
|
-
"integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
|
12384
|
-
"dev": true,
|
12385
|
-
"engines": {
|
12386
|
-
"node": ">=0.4.0"
|
12387
|
-
}
|
12388
|
-
},
|
12389
12423
|
"node_modules/promise-all-reject-late": {
|
12390
12424
|
"version": "1.0.1",
|
12391
12425
|
"resolved": "https://registry.npmjs.org/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz",
|
@@ -13601,6 +13635,7 @@
|
|
13601
13635
|
"version": "3.1.5",
|
13602
13636
|
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
|
13603
13637
|
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
|
13638
|
+
"dev": true,
|
13604
13639
|
"dependencies": {
|
13605
13640
|
"is-typedarray": "^1.0.0"
|
13606
13641
|
}
|
@@ -13907,6 +13942,7 @@
|
|
13907
13942
|
"version": "3.0.3",
|
13908
13943
|
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz",
|
13909
13944
|
"integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==",
|
13945
|
+
"dev": true,
|
13910
13946
|
"dependencies": {
|
13911
13947
|
"imurmurhash": "^0.1.4",
|
13912
13948
|
"is-typedarray": "^1.0.0",
|
@@ -15186,9 +15222,9 @@
|
|
15186
15222
|
}
|
15187
15223
|
},
|
15188
15224
|
"@npmcli/arborist": {
|
15189
|
-
"version": "4.
|
15190
|
-
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-4.
|
15191
|
-
"integrity": "sha512-
|
15225
|
+
"version": "4.2.1",
|
15226
|
+
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-4.2.1.tgz",
|
15227
|
+
"integrity": "sha512-vAIfPwW6alsyjfv7wzGPMJv6Dun8xs9VugdqfwkWEyRajzOLjeifxeDqlJYQ8G8FTU38grIWjkoUmd9cAnJnPg==",
|
15192
15228
|
"requires": {
|
15193
15229
|
"@isaacs/string-locale-compare": "^1.1.0",
|
15194
15230
|
"@npmcli/installed-package-contents": "^1.0.7",
|
@@ -15199,7 +15235,7 @@
|
|
15199
15235
|
"@npmcli/node-gyp": "^1.0.3",
|
15200
15236
|
"@npmcli/package-json": "^1.0.1",
|
15201
15237
|
"@npmcli/run-script": "^2.0.0",
|
15202
|
-
"bin-links": "^
|
15238
|
+
"bin-links": "^3.0.0",
|
15203
15239
|
"cacache": "^15.0.3",
|
15204
15240
|
"common-ancestor-path": "^1.0.1",
|
15205
15241
|
"json-parse-even-better-errors": "^2.3.1",
|
@@ -15610,12 +15646,6 @@
|
|
15610
15646
|
"uri-js": "^4.2.2"
|
15611
15647
|
}
|
15612
15648
|
},
|
15613
|
-
"ansi-colors": {
|
15614
|
-
"version": "4.1.1",
|
15615
|
-
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
|
15616
|
-
"integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
|
15617
|
-
"dev": true
|
15618
|
-
},
|
15619
15649
|
"ansi-escapes": {
|
15620
15650
|
"version": "3.2.0",
|
15621
15651
|
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
|
@@ -15878,16 +15908,34 @@
|
|
15878
15908
|
"integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
|
15879
15909
|
},
|
15880
15910
|
"bin-links": {
|
15881
|
-
"version": "
|
15882
|
-
"resolved": "https://registry.npmjs.org/bin-links/-/bin-links-
|
15883
|
-
"integrity": "sha512-
|
15911
|
+
"version": "3.0.0",
|
15912
|
+
"resolved": "https://registry.npmjs.org/bin-links/-/bin-links-3.0.0.tgz",
|
15913
|
+
"integrity": "sha512-fC7kPWcEkAWBgCKxmAMqZldlIeHsXwQy9JXzrppAVQiukGiDKxmYesJcBKWu6UMwx/5GOfo10wtK/4zy+Xt/mg==",
|
15884
15914
|
"requires": {
|
15885
15915
|
"cmd-shim": "^4.0.1",
|
15886
15916
|
"mkdirp-infer-owner": "^2.0.0",
|
15887
15917
|
"npm-normalize-package-bin": "^1.0.0",
|
15888
15918
|
"read-cmd-shim": "^2.0.0",
|
15889
15919
|
"rimraf": "^3.0.0",
|
15890
|
-
"write-file-atomic": "^
|
15920
|
+
"write-file-atomic": "^4.0.0"
|
15921
|
+
},
|
15922
|
+
"dependencies": {
|
15923
|
+
"typedarray-to-buffer": {
|
15924
|
+
"version": "4.0.0",
|
15925
|
+
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-4.0.0.tgz",
|
15926
|
+
"integrity": "sha512-6dOYeZfS3O9RtRD1caom0sMxgK59b27+IwoNy8RDPsmslSGOyU+mpTamlaIW7aNKi90ZQZ9DFaZL3YRoiSCULQ=="
|
15927
|
+
},
|
15928
|
+
"write-file-atomic": {
|
15929
|
+
"version": "4.0.0",
|
15930
|
+
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.0.tgz",
|
15931
|
+
"integrity": "sha512-JhcWoKffJNF7ivO9yflBhc7tn3wKnokMUfWpBriM9yCXj4ePQnRPcWglBkkg1AHC8nsW/EfxwwhqsLtOy59djA==",
|
15932
|
+
"requires": {
|
15933
|
+
"imurmurhash": "^0.1.4",
|
15934
|
+
"is-typedarray": "^1.0.0",
|
15935
|
+
"signal-exit": "^3.0.2",
|
15936
|
+
"typedarray-to-buffer": "^4.0.0"
|
15937
|
+
}
|
15938
|
+
}
|
15891
15939
|
}
|
15892
15940
|
},
|
15893
15941
|
"bl": {
|
@@ -16559,15 +16607,6 @@
|
|
16559
16607
|
"once": "^1.4.0"
|
16560
16608
|
}
|
16561
16609
|
},
|
16562
|
-
"enquirer": {
|
16563
|
-
"version": "2.3.6",
|
16564
|
-
"resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz",
|
16565
|
-
"integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==",
|
16566
|
-
"dev": true,
|
16567
|
-
"requires": {
|
16568
|
-
"ansi-colors": "^4.1.1"
|
16569
|
-
}
|
16570
|
-
},
|
16571
16610
|
"env-paths": {
|
16572
16611
|
"version": "2.2.1",
|
16573
16612
|
"resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
|
@@ -16644,9 +16683,9 @@
|
|
16644
16683
|
}
|
16645
16684
|
},
|
16646
16685
|
"eslint": {
|
16647
|
-
"version": "8.
|
16648
|
-
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.
|
16649
|
-
"integrity": "sha512-
|
16686
|
+
"version": "8.7.0",
|
16687
|
+
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.7.0.tgz",
|
16688
|
+
"integrity": "sha512-ifHYzkBGrzS2iDU7KjhCAVMGCvF6M3Xfs8X8b37cgrUlDt6bWRTpRh6T/gtSXv1HJ/BUGgmjvNvOEGu85Iif7w==",
|
16650
16689
|
"dev": true,
|
16651
16690
|
"requires": {
|
16652
16691
|
"@eslint/eslintrc": "^1.0.5",
|
@@ -16656,11 +16695,10 @@
|
|
16656
16695
|
"cross-spawn": "^7.0.2",
|
16657
16696
|
"debug": "^4.3.2",
|
16658
16697
|
"doctrine": "^3.0.0",
|
16659
|
-
"enquirer": "^2.3.5",
|
16660
16698
|
"escape-string-regexp": "^4.0.0",
|
16661
16699
|
"eslint-scope": "^7.1.0",
|
16662
16700
|
"eslint-utils": "^3.0.0",
|
16663
|
-
"eslint-visitor-keys": "^3.
|
16701
|
+
"eslint-visitor-keys": "^3.2.0",
|
16664
16702
|
"espree": "^9.3.0",
|
16665
16703
|
"esquery": "^1.4.0",
|
16666
16704
|
"esutils": "^2.0.2",
|
@@ -16669,7 +16707,7 @@
|
|
16669
16707
|
"functional-red-black-tree": "^1.0.1",
|
16670
16708
|
"glob-parent": "^6.0.1",
|
16671
16709
|
"globals": "^13.6.0",
|
16672
|
-
"ignore": "^
|
16710
|
+
"ignore": "^5.2.0",
|
16673
16711
|
"import-fresh": "^3.0.0",
|
16674
16712
|
"imurmurhash": "^0.1.4",
|
16675
16713
|
"is-glob": "^4.0.0",
|
@@ -16680,9 +16718,7 @@
|
|
16680
16718
|
"minimatch": "^3.0.4",
|
16681
16719
|
"natural-compare": "^1.4.0",
|
16682
16720
|
"optionator": "^0.9.1",
|
16683
|
-
"progress": "^2.0.0",
|
16684
16721
|
"regexpp": "^3.2.0",
|
16685
|
-
"semver": "^7.2.1",
|
16686
16722
|
"strip-ansi": "^6.0.1",
|
16687
16723
|
"strip-json-comments": "^3.1.0",
|
16688
16724
|
"text-table": "^0.2.0",
|
@@ -16750,6 +16786,12 @@
|
|
16750
16786
|
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
|
16751
16787
|
"dev": true
|
16752
16788
|
},
|
16789
|
+
"ignore": {
|
16790
|
+
"version": "5.2.0",
|
16791
|
+
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz",
|
16792
|
+
"integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==",
|
16793
|
+
"dev": true
|
16794
|
+
},
|
16753
16795
|
"js-yaml": {
|
16754
16796
|
"version": "4.1.0",
|
16755
16797
|
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
|
@@ -16820,9 +16862,9 @@
|
|
16820
16862
|
}
|
16821
16863
|
},
|
16822
16864
|
"eslint-visitor-keys": {
|
16823
|
-
"version": "3.
|
16824
|
-
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.
|
16825
|
-
"integrity": "sha512-
|
16865
|
+
"version": "3.2.0",
|
16866
|
+
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.2.0.tgz",
|
16867
|
+
"integrity": "sha512-IOzT0X126zn7ALX0dwFiUQEdsfzrm4+ISsQS8nukaJXwEyYKRSnEIIDULYg1mCtGp7UUXgfGl7BIolXREQK+XQ==",
|
16826
16868
|
"dev": true
|
16827
16869
|
},
|
16828
16870
|
"espree": {
|
@@ -19837,9 +19879,9 @@
|
|
19837
19879
|
}
|
19838
19880
|
},
|
19839
19881
|
"npm": {
|
19840
|
-
"version": "6.14.
|
19841
|
-
"resolved": "https://registry.npmjs.org/npm/-/npm-6.14.
|
19842
|
-
"integrity": "sha512-
|
19882
|
+
"version": "6.14.16",
|
19883
|
+
"resolved": "https://registry.npmjs.org/npm/-/npm-6.14.16.tgz",
|
19884
|
+
"integrity": "sha512-LMiLGYsVNJfVPlQg7v2NYjG7iRIapcLv+oMunlq7fkXVx0BATCjRu7XyWl0G+iuZzHy4CjtM32QB8ox8juTgaw==",
|
19843
19885
|
"requires": {
|
19844
19886
|
"abbrev": "~1.1.1",
|
19845
19887
|
"ansicolors": "~0.3.2",
|
@@ -19950,7 +19992,7 @@
|
|
19950
19992
|
"sorted-union-stream": "~2.1.3",
|
19951
19993
|
"ssri": "^6.0.2",
|
19952
19994
|
"stringify-package": "^1.0.1",
|
19953
|
-
"tar": "^4.4.
|
19995
|
+
"tar": "^4.4.19",
|
19954
19996
|
"text-table": "~0.2.0",
|
19955
19997
|
"tiny-relative-date": "^1.3.0",
|
19956
19998
|
"uid-number": "0.0.6",
|
@@ -21205,7 +21247,7 @@
|
|
21205
21247
|
"bundled": true
|
21206
21248
|
},
|
21207
21249
|
"json-schema": {
|
21208
|
-
"version": "0.
|
21250
|
+
"version": "0.4.0",
|
21209
21251
|
"bundled": true
|
21210
21252
|
},
|
21211
21253
|
"json-stringify-safe": {
|
@@ -21225,12 +21267,12 @@
|
|
21225
21267
|
}
|
21226
21268
|
},
|
21227
21269
|
"jsprim": {
|
21228
|
-
"version": "1.4.
|
21270
|
+
"version": "1.4.2",
|
21229
21271
|
"bundled": true,
|
21230
21272
|
"requires": {
|
21231
21273
|
"assert-plus": "1.0.0",
|
21232
21274
|
"extsprintf": "1.3.0",
|
21233
|
-
"json-schema": "0.
|
21275
|
+
"json-schema": "0.4.0",
|
21234
21276
|
"verror": "1.10.0"
|
21235
21277
|
}
|
21236
21278
|
},
|
@@ -21958,7 +22000,7 @@
|
|
21958
22000
|
"bundled": true
|
21959
22001
|
},
|
21960
22002
|
"path-parse": {
|
21961
|
-
"version": "1.0.
|
22003
|
+
"version": "1.0.7",
|
21962
22004
|
"bundled": true
|
21963
22005
|
},
|
21964
22006
|
"performance-now": {
|
@@ -22509,16 +22551,16 @@
|
|
22509
22551
|
}
|
22510
22552
|
},
|
22511
22553
|
"tar": {
|
22512
|
-
"version": "4.4.
|
22554
|
+
"version": "4.4.19",
|
22513
22555
|
"bundled": true,
|
22514
22556
|
"requires": {
|
22515
|
-
"chownr": "^1.1.
|
22516
|
-
"fs-minipass": "^1.2.
|
22517
|
-
"minipass": "^2.
|
22518
|
-
"minizlib": "^1.
|
22519
|
-
"mkdirp": "^0.5.
|
22520
|
-
"safe-buffer": "^5.1
|
22521
|
-
"yallist": "^3.
|
22557
|
+
"chownr": "^1.1.4",
|
22558
|
+
"fs-minipass": "^1.2.7",
|
22559
|
+
"minipass": "^2.9.0",
|
22560
|
+
"minizlib": "^1.3.3",
|
22561
|
+
"mkdirp": "^0.5.5",
|
22562
|
+
"safe-buffer": "^5.2.1",
|
22563
|
+
"yallist": "^3.1.1"
|
22522
22564
|
},
|
22523
22565
|
"dependencies": {
|
22524
22566
|
"minipass": {
|
@@ -22528,6 +22570,14 @@
|
|
22528
22570
|
"safe-buffer": "^5.1.2",
|
22529
22571
|
"yallist": "^3.0.0"
|
22530
22572
|
}
|
22573
|
+
},
|
22574
|
+
"safe-buffer": {
|
22575
|
+
"version": "5.2.1",
|
22576
|
+
"bundled": true
|
22577
|
+
},
|
22578
|
+
"yallist": {
|
22579
|
+
"version": "3.1.1",
|
22580
|
+
"bundled": true
|
22531
22581
|
}
|
22532
22582
|
}
|
22533
22583
|
},
|
@@ -23419,12 +23469,6 @@
|
|
23419
23469
|
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
|
23420
23470
|
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
|
23421
23471
|
},
|
23422
|
-
"progress": {
|
23423
|
-
"version": "2.0.3",
|
23424
|
-
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
|
23425
|
-
"integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
|
23426
|
-
"dev": true
|
23427
|
-
},
|
23428
23472
|
"promise-all-reject-late": {
|
23429
23473
|
"version": "1.0.1",
|
23430
23474
|
"resolved": "https://registry.npmjs.org/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz",
|
@@ -24383,6 +24427,7 @@
|
|
24383
24427
|
"version": "3.1.5",
|
24384
24428
|
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
|
24385
24429
|
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
|
24430
|
+
"dev": true,
|
24386
24431
|
"requires": {
|
24387
24432
|
"is-typedarray": "^1.0.0"
|
24388
24433
|
}
|
@@ -24636,6 +24681,7 @@
|
|
24636
24681
|
"version": "3.0.3",
|
24637
24682
|
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz",
|
24638
24683
|
"integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==",
|
24684
|
+
"dev": true,
|
24639
24685
|
"requires": {
|
24640
24686
|
"imurmurhash": "^0.1.4",
|
24641
24687
|
"is-typedarray": "^1.0.0",
|
data/helpers/package.json
CHANGED
@@ -10,13 +10,13 @@
|
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"@dependabot/yarn-lib": "^1.21.1",
|
13
|
-
"@npmcli/arborist": "^4.
|
13
|
+
"@npmcli/arborist": "^4.2.1",
|
14
14
|
"detect-indent": "^6.1.0",
|
15
|
-
"npm": "6.14.
|
15
|
+
"npm": "6.14.16",
|
16
16
|
"semver": "^7.3.4"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
|
-
"eslint": "^8.
|
19
|
+
"eslint": "^8.7.0",
|
20
20
|
"eslint-config-prettier": "^8.3.0",
|
21
21
|
"jest": "^27.4.7",
|
22
22
|
"prettier": "^2.5.1",
|
@@ -10,9 +10,9 @@
|
|
10
10
|
"integrity": "sha512-dbaEZphdPje0ihqSdWg36Sb8S20TuqQomiz2593oIx+enQ9Q4vDZRjIzhnkWltGRKVKqC28kTribkgRLBexWVQ=="
|
11
11
|
},
|
12
12
|
"extend": {
|
13
|
-
"version": "3.0.
|
14
|
-
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.
|
15
|
-
"integrity": "sha512-
|
13
|
+
"version": "3.0.2",
|
14
|
+
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
15
|
+
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
|
16
16
|
},
|
17
17
|
"objnest": {
|
18
18
|
"version": "4.1.2",
|
@@ -366,9 +366,9 @@ is-promise@^2.1:
|
|
366
366
|
integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==
|
367
367
|
|
368
368
|
lodash@^4.17.14:
|
369
|
-
version "4.17.
|
370
|
-
resolved "https://registry.
|
371
|
-
integrity sha512-
|
369
|
+
version "4.17.21"
|
370
|
+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
|
371
|
+
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
|
372
372
|
|
373
373
|
lru-queue@0.1:
|
374
374
|
version "0.1.0"
|
@@ -208,23 +208,7 @@ module Dependabot
|
|
208
208
|
|
209
209
|
def run_npm_7_subdependency_updater
|
210
210
|
dependency_names = sub_dependencies.map(&:name)
|
211
|
-
|
212
|
-
# - `--force` ignores checks for platform (os, cpu) and engines
|
213
|
-
# - `--dry-run=false` the updater sets a global .npmrc with dry-run: true to
|
214
|
-
# work around an issue in npm 6, we don't want that here
|
215
|
-
# - `--ignore-scripts` disables prepare and prepack scripts which are run
|
216
|
-
# when installing git dependencies
|
217
|
-
command = [
|
218
|
-
"npm",
|
219
|
-
"update",
|
220
|
-
*dependency_names,
|
221
|
-
"--force",
|
222
|
-
"--dry-run",
|
223
|
-
"false",
|
224
|
-
"--ignore-scripts",
|
225
|
-
"--package-lock-only"
|
226
|
-
].join(" ")
|
227
|
-
SharedHelpers.run_shell_command(command)
|
211
|
+
SharedHelpers.run_shell_command(NativeHelpers.npm7_subdependency_update_command(dependency_names))
|
228
212
|
{ lockfile_basename => File.read(lockfile_basename) }
|
229
213
|
end
|
230
214
|
|
@@ -13,6 +13,25 @@ module Dependabot
|
|
13
13
|
|
14
14
|
File.join(__dir__, "../../../helpers")
|
15
15
|
end
|
16
|
+
|
17
|
+
def self.npm7_subdependency_update_command(dependency_names)
|
18
|
+
# NOTE: npm options
|
19
|
+
# - `--force` ignores checks for platform (os, cpu) and engines
|
20
|
+
# - `--dry-run=false` the updater sets a global .npmrc with dry-run: true to
|
21
|
+
# work around an issue in npm 6, we don't want that here
|
22
|
+
# - `--ignore-scripts` disables prepare and prepack scripts which are run
|
23
|
+
# when installing git dependencies
|
24
|
+
[
|
25
|
+
"npm",
|
26
|
+
"update",
|
27
|
+
*dependency_names,
|
28
|
+
"--force",
|
29
|
+
"--dry-run",
|
30
|
+
"false",
|
31
|
+
"--ignore-scripts",
|
32
|
+
"--package-lock-only"
|
33
|
+
].join(" ")
|
34
|
+
end
|
16
35
|
end
|
17
36
|
end
|
18
37
|
end
|
@@ -114,11 +114,16 @@ module Dependabot
|
|
114
114
|
Dir.chdir(path) do
|
115
115
|
npm_version = Dependabot::NpmAndYarn::Helpers.npm_version(lockfile_content)
|
116
116
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
117
|
+
if npm_version == "npm7"
|
118
|
+
SharedHelpers.run_shell_command(NativeHelpers.npm7_subdependency_update_command([dependency.name]))
|
119
|
+
{ lockfile_name => File.read(lockfile_name) }
|
120
|
+
else
|
121
|
+
SharedHelpers.run_helper_subprocess(
|
122
|
+
command: NativeHelpers.helper_path,
|
123
|
+
function: "npm6:updateSubdependency",
|
124
|
+
args: [Dir.pwd, lockfile_name, [dependency.to_h]]
|
125
|
+
)
|
126
|
+
end
|
122
127
|
end
|
123
128
|
end
|
124
129
|
end
|
@@ -50,10 +50,14 @@ module Dependabot
|
|
50
50
|
# Error message from npm install:
|
51
51
|
# npm ERR! Could not resolve dependency:
|
52
52
|
# npm ERR! peer react@"^16.14.0" from react-dom@16.14.0
|
53
|
+
#
|
54
|
+
# or with two semver constraints:
|
55
|
+
# npm ERR! Could not resolve dependency:
|
56
|
+
# npm ERR! peer @opentelemetry/api@">=1.0.0 <1.1.0" from @opentelemetry/context-async-hooks@1.0.1
|
53
57
|
NPM7_PEER_DEP_ERROR_REGEX =
|
54
58
|
/
|
55
59
|
npm\sERR!\sCould\snot\sresolve\sdependency:\n
|
56
|
-
npm\sERR!\speer\s(?<required_dep>\S+@\S+)\sfrom\s(?<requiring_dep>\S+@\S+)
|
60
|
+
npm\sERR!\speer\s(?<required_dep>\S+@\S+(\s\S+)?)\sfrom\s(?<requiring_dep>\S+@\S+)
|
57
61
|
/x.freeze
|
58
62
|
|
59
63
|
def initialize(dependency:, credentials:, dependency_files:,
|
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.172.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-
|
11
|
+
date: 2022-02-09 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.172.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.172.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|