dependabot-npm_and_yarn 0.165.0 → 0.168.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/lib/yarn/updater.js +5 -2
- data/helpers/package-lock.json +57 -72
- data/helpers/package.json +1 -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: cff8d106196ca7d6d8f795e0bf96afac10aa3782272962ca263773dfb1799d32
|
4
|
+
data.tar.gz: 512ee4c4149488ec3ce35c74aa22d6fc09b74b3007762b3504705297a32b3413
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ee3befc4fdada63886760871d189a3b1ab35fee140978dd8328d950fd443d39aea09ff51d6bdc66f1d29ab648df83b7094934be0570590b14e7e7cb7d2d9020
|
7
|
+
data.tar.gz: dfb3f939e279bcfdc2b9218a10002a6f3a29dfcc09caea0ec46f277d53c9226587126fe5d5935c4bfff213432236adba265af6caa0098e05c50f6405afb94932
|
data/helpers/lib/yarn/updater.js
CHANGED
@@ -104,16 +104,19 @@ async function updateDependencyFiles(directory, dependencies) {
|
|
104
104
|
const readFile = (fileName) =>
|
105
105
|
fs.readFileSync(path.join(directory, fileName)).toString();
|
106
106
|
let updateRunResults = { "yarn.lock": readFile("yarn.lock") };
|
107
|
-
|
107
|
+
let requiredVersions = [];
|
108
108
|
for (let dep of dependencies) {
|
109
109
|
for (let reqs of dep.requirements) {
|
110
|
+
if (requiredVersions.indexOf(reqs.requirement) > -1) {
|
111
|
+
continue;
|
112
|
+
}
|
110
113
|
updateRunResults = Object.assign(
|
111
114
|
updateRunResults,
|
112
115
|
await updateDependencyFile(directory, dep.name, dep.version, reqs)
|
113
116
|
);
|
117
|
+
requiredVersions.push(reqs.requirement);
|
114
118
|
}
|
115
119
|
}
|
116
|
-
|
117
120
|
return updateRunResults;
|
118
121
|
}
|
119
122
|
|
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": "^
|
10
|
+
"@npmcli/arborist": "^4.0.5",
|
11
11
|
"detect-indent": "^6.1.0",
|
12
12
|
"npm": "6.14.14",
|
13
13
|
"semver": "^7.3.4"
|
@@ -1562,20 +1562,20 @@
|
|
1562
1562
|
}
|
1563
1563
|
},
|
1564
1564
|
"node_modules/@npmcli/arborist": {
|
1565
|
-
"version": "
|
1566
|
-
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-
|
1567
|
-
"integrity": "sha512-
|
1565
|
+
"version": "4.0.5",
|
1566
|
+
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-4.0.5.tgz",
|
1567
|
+
"integrity": "sha512-WR2cqxzjsvmHJ9sKCdqBYG/qeiAXB9ev1iq1W2Rry7LxeJ7eDtTr4mOWe/TBvp6xFzevGecQc2YEWwExTuLZLg==",
|
1568
1568
|
"dependencies": {
|
1569
|
-
"@isaacs/string-locale-compare": "^1.0
|
1569
|
+
"@isaacs/string-locale-compare": "^1.1.0",
|
1570
1570
|
"@npmcli/installed-package-contents": "^1.0.7",
|
1571
|
-
"@npmcli/map-workspaces": "^
|
1571
|
+
"@npmcli/map-workspaces": "^2.0.0",
|
1572
1572
|
"@npmcli/metavuln-calculator": "^2.0.0",
|
1573
1573
|
"@npmcli/move-file": "^1.1.0",
|
1574
1574
|
"@npmcli/name-from-folder": "^1.0.1",
|
1575
|
-
"@npmcli/node-gyp": "^1.0.
|
1575
|
+
"@npmcli/node-gyp": "^1.0.3",
|
1576
1576
|
"@npmcli/package-json": "^1.0.1",
|
1577
1577
|
"@npmcli/run-script": "^2.0.0",
|
1578
|
-
"bin-links": "^2.
|
1578
|
+
"bin-links": "^2.3.0",
|
1579
1579
|
"cacache": "^15.0.3",
|
1580
1580
|
"common-ancestor-path": "^1.0.1",
|
1581
1581
|
"json-parse-even-better-errors": "^2.3.1",
|
@@ -1586,7 +1586,7 @@
|
|
1586
1586
|
"npm-package-arg": "^8.1.5",
|
1587
1587
|
"npm-pick-manifest": "^6.1.0",
|
1588
1588
|
"npm-registry-fetch": "^11.0.0",
|
1589
|
-
"pacote": "^12.0.
|
1589
|
+
"pacote": "^12.0.2",
|
1590
1590
|
"parse-conflict-json": "^1.1.1",
|
1591
1591
|
"proc-log": "^1.0.0",
|
1592
1592
|
"promise-all-reject-late": "^1.0.0",
|
@@ -1679,9 +1679,9 @@
|
|
1679
1679
|
}
|
1680
1680
|
},
|
1681
1681
|
"node_modules/@npmcli/map-workspaces": {
|
1682
|
-
"version": "
|
1683
|
-
"resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-
|
1684
|
-
"integrity": "sha512-
|
1682
|
+
"version": "2.0.0",
|
1683
|
+
"resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-2.0.0.tgz",
|
1684
|
+
"integrity": "sha512-QBJfpCY1NOAkkW3lFfru9VTdqvMB2TN0/vrevl5xBCv5Fi0XDVcA6rqqSau4Ysi4Iw3fBzyXV7hzyTBDfadf7g==",
|
1685
1685
|
"dependencies": {
|
1686
1686
|
"@npmcli/name-from-folder": "^1.0.1",
|
1687
1687
|
"glob": "^7.1.6",
|
@@ -1689,7 +1689,7 @@
|
|
1689
1689
|
"read-package-json-fast": "^2.0.1"
|
1690
1690
|
},
|
1691
1691
|
"engines": {
|
1692
|
-
"node": ">=
|
1692
|
+
"node": "^12.13.0 || ^14.15.0 || >=16"
|
1693
1693
|
}
|
1694
1694
|
},
|
1695
1695
|
"node_modules/@npmcli/metavuln-calculator": {
|
@@ -2400,12 +2400,12 @@
|
|
2400
2400
|
}
|
2401
2401
|
},
|
2402
2402
|
"node_modules/bin-links": {
|
2403
|
-
"version": "2.
|
2404
|
-
"resolved": "https://registry.npmjs.org/bin-links/-/bin-links-2.
|
2405
|
-
"integrity": "sha512-
|
2403
|
+
"version": "2.3.0",
|
2404
|
+
"resolved": "https://registry.npmjs.org/bin-links/-/bin-links-2.3.0.tgz",
|
2405
|
+
"integrity": "sha512-JzrOLHLwX2zMqKdyYZjkDgQGT+kHDkIhv2/IK2lJ00qLxV4TmFoHi8drDBb6H5Zrz1YfgHkai4e2MGPqnoUhqA==",
|
2406
2406
|
"dependencies": {
|
2407
2407
|
"cmd-shim": "^4.0.1",
|
2408
|
-
"mkdirp": "^
|
2408
|
+
"mkdirp-infer-owner": "^2.0.0",
|
2409
2409
|
"npm-normalize-package-bin": "^1.0.0",
|
2410
2410
|
"read-cmd-shim": "^2.0.0",
|
2411
2411
|
"rimraf": "^3.0.0",
|
@@ -2415,17 +2415,6 @@
|
|
2415
2415
|
"node": ">=10"
|
2416
2416
|
}
|
2417
2417
|
},
|
2418
|
-
"node_modules/bin-links/node_modules/mkdirp": {
|
2419
|
-
"version": "1.0.4",
|
2420
|
-
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
2421
|
-
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==",
|
2422
|
-
"bin": {
|
2423
|
-
"mkdirp": "bin/cmd.js"
|
2424
|
-
},
|
2425
|
-
"engines": {
|
2426
|
-
"node": ">=10"
|
2427
|
-
}
|
2428
|
-
},
|
2429
2418
|
"node_modules/bl": {
|
2430
2419
|
"version": "1.2.3",
|
2431
2420
|
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.3.tgz",
|
@@ -4455,11 +4444,14 @@
|
|
4455
4444
|
}
|
4456
4445
|
},
|
4457
4446
|
"node_modules/ignore-walk": {
|
4458
|
-
"version": "
|
4459
|
-
"resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-
|
4460
|
-
"integrity": "sha512-
|
4447
|
+
"version": "4.0.1",
|
4448
|
+
"resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-4.0.1.tgz",
|
4449
|
+
"integrity": "sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw==",
|
4461
4450
|
"dependencies": {
|
4462
4451
|
"minimatch": "^3.0.4"
|
4452
|
+
},
|
4453
|
+
"engines": {
|
4454
|
+
"node": ">=10"
|
4463
4455
|
}
|
4464
4456
|
},
|
4465
4457
|
"node_modules/import-fresh": {
|
@@ -7963,12 +7955,12 @@
|
|
7963
7955
|
}
|
7964
7956
|
},
|
7965
7957
|
"node_modules/npm-packlist": {
|
7966
|
-
"version": "
|
7967
|
-
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-
|
7968
|
-
"integrity": "sha512-
|
7958
|
+
"version": "3.0.0",
|
7959
|
+
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-3.0.0.tgz",
|
7960
|
+
"integrity": "sha512-L/cbzmutAwII5glUcf2DBRNY/d0TFd4e/FnaZigJV6JD85RHZXJFGwCndjMWiiViiWSsWt3tiOLpI3ByTnIdFQ==",
|
7969
7961
|
"dependencies": {
|
7970
7962
|
"glob": "^7.1.6",
|
7971
|
-
"ignore-walk": "^
|
7963
|
+
"ignore-walk": "^4.0.1",
|
7972
7964
|
"npm-bundled": "^1.1.1",
|
7973
7965
|
"npm-normalize-package-bin": "^1.0.1"
|
7974
7966
|
},
|
@@ -12192,9 +12184,9 @@
|
|
12192
12184
|
}
|
12193
12185
|
},
|
12194
12186
|
"node_modules/pacote": {
|
12195
|
-
"version": "12.0.
|
12196
|
-
"resolved": "https://registry.npmjs.org/pacote/-/pacote-12.0.
|
12197
|
-
"integrity": "sha512-
|
12187
|
+
"version": "12.0.2",
|
12188
|
+
"resolved": "https://registry.npmjs.org/pacote/-/pacote-12.0.2.tgz",
|
12189
|
+
"integrity": "sha512-Ar3mhjcxhMzk+OVZ8pbnXdb0l8+pimvlsqBGRNkble2NVgyqOGE3yrCGi/lAYq7E7NRDMz89R1Wx5HIMCGgeYg==",
|
12198
12190
|
"dependencies": {
|
12199
12191
|
"@npmcli/git": "^2.1.0",
|
12200
12192
|
"@npmcli/installed-package-contents": "^1.0.6",
|
@@ -12207,7 +12199,7 @@
|
|
12207
12199
|
"minipass": "^3.1.3",
|
12208
12200
|
"mkdirp": "^1.0.3",
|
12209
12201
|
"npm-package-arg": "^8.0.1",
|
12210
|
-
"npm-packlist": "^
|
12202
|
+
"npm-packlist": "^3.0.0",
|
12211
12203
|
"npm-pick-manifest": "^6.0.0",
|
12212
12204
|
"npm-registry-fetch": "^11.0.0",
|
12213
12205
|
"promise-retry": "^2.0.1",
|
@@ -15317,20 +15309,20 @@
|
|
15317
15309
|
}
|
15318
15310
|
},
|
15319
15311
|
"@npmcli/arborist": {
|
15320
|
-
"version": "
|
15321
|
-
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-
|
15322
|
-
"integrity": "sha512-
|
15312
|
+
"version": "4.0.5",
|
15313
|
+
"resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-4.0.5.tgz",
|
15314
|
+
"integrity": "sha512-WR2cqxzjsvmHJ9sKCdqBYG/qeiAXB9ev1iq1W2Rry7LxeJ7eDtTr4mOWe/TBvp6xFzevGecQc2YEWwExTuLZLg==",
|
15323
15315
|
"requires": {
|
15324
|
-
"@isaacs/string-locale-compare": "^1.0
|
15316
|
+
"@isaacs/string-locale-compare": "^1.1.0",
|
15325
15317
|
"@npmcli/installed-package-contents": "^1.0.7",
|
15326
|
-
"@npmcli/map-workspaces": "^
|
15318
|
+
"@npmcli/map-workspaces": "^2.0.0",
|
15327
15319
|
"@npmcli/metavuln-calculator": "^2.0.0",
|
15328
15320
|
"@npmcli/move-file": "^1.1.0",
|
15329
15321
|
"@npmcli/name-from-folder": "^1.0.1",
|
15330
|
-
"@npmcli/node-gyp": "^1.0.
|
15322
|
+
"@npmcli/node-gyp": "^1.0.3",
|
15331
15323
|
"@npmcli/package-json": "^1.0.1",
|
15332
15324
|
"@npmcli/run-script": "^2.0.0",
|
15333
|
-
"bin-links": "^2.
|
15325
|
+
"bin-links": "^2.3.0",
|
15334
15326
|
"cacache": "^15.0.3",
|
15335
15327
|
"common-ancestor-path": "^1.0.1",
|
15336
15328
|
"json-parse-even-better-errors": "^2.3.1",
|
@@ -15341,7 +15333,7 @@
|
|
15341
15333
|
"npm-package-arg": "^8.1.5",
|
15342
15334
|
"npm-pick-manifest": "^6.1.0",
|
15343
15335
|
"npm-registry-fetch": "^11.0.0",
|
15344
|
-
"pacote": "^12.0.
|
15336
|
+
"pacote": "^12.0.2",
|
15345
15337
|
"parse-conflict-json": "^1.1.1",
|
15346
15338
|
"proc-log": "^1.0.0",
|
15347
15339
|
"promise-all-reject-late": "^1.0.0",
|
@@ -15411,9 +15403,9 @@
|
|
15411
15403
|
}
|
15412
15404
|
},
|
15413
15405
|
"@npmcli/map-workspaces": {
|
15414
|
-
"version": "
|
15415
|
-
"resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-
|
15416
|
-
"integrity": "sha512-
|
15406
|
+
"version": "2.0.0",
|
15407
|
+
"resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-2.0.0.tgz",
|
15408
|
+
"integrity": "sha512-QBJfpCY1NOAkkW3lFfru9VTdqvMB2TN0/vrevl5xBCv5Fi0XDVcA6rqqSau4Ysi4Iw3fBzyXV7hzyTBDfadf7g==",
|
15417
15409
|
"requires": {
|
15418
15410
|
"@npmcli/name-from-folder": "^1.0.1",
|
15419
15411
|
"glob": "^7.1.6",
|
@@ -16001,23 +15993,16 @@
|
|
16001
15993
|
"integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
|
16002
15994
|
},
|
16003
15995
|
"bin-links": {
|
16004
|
-
"version": "2.
|
16005
|
-
"resolved": "https://registry.npmjs.org/bin-links/-/bin-links-2.
|
16006
|
-
"integrity": "sha512-
|
15996
|
+
"version": "2.3.0",
|
15997
|
+
"resolved": "https://registry.npmjs.org/bin-links/-/bin-links-2.3.0.tgz",
|
15998
|
+
"integrity": "sha512-JzrOLHLwX2zMqKdyYZjkDgQGT+kHDkIhv2/IK2lJ00qLxV4TmFoHi8drDBb6H5Zrz1YfgHkai4e2MGPqnoUhqA==",
|
16007
15999
|
"requires": {
|
16008
16000
|
"cmd-shim": "^4.0.1",
|
16009
|
-
"mkdirp": "^
|
16001
|
+
"mkdirp-infer-owner": "^2.0.0",
|
16010
16002
|
"npm-normalize-package-bin": "^1.0.0",
|
16011
16003
|
"read-cmd-shim": "^2.0.0",
|
16012
16004
|
"rimraf": "^3.0.0",
|
16013
16005
|
"write-file-atomic": "^3.0.3"
|
16014
|
-
},
|
16015
|
-
"dependencies": {
|
16016
|
-
"mkdirp": {
|
16017
|
-
"version": "1.0.4",
|
16018
|
-
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz",
|
16019
|
-
"integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw=="
|
16020
|
-
}
|
16021
16006
|
}
|
16022
16007
|
},
|
16023
16008
|
"bl": {
|
@@ -17605,9 +17590,9 @@
|
|
17605
17590
|
"dev": true
|
17606
17591
|
},
|
17607
17592
|
"ignore-walk": {
|
17608
|
-
"version": "
|
17609
|
-
"resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-
|
17610
|
-
"integrity": "sha512-
|
17593
|
+
"version": "4.0.1",
|
17594
|
+
"resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-4.0.1.tgz",
|
17595
|
+
"integrity": "sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw==",
|
17611
17596
|
"requires": {
|
17612
17597
|
"minimatch": "^3.0.4"
|
17613
17598
|
}
|
@@ -23160,12 +23145,12 @@
|
|
23160
23145
|
}
|
23161
23146
|
},
|
23162
23147
|
"npm-packlist": {
|
23163
|
-
"version": "
|
23164
|
-
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-
|
23165
|
-
"integrity": "sha512-
|
23148
|
+
"version": "3.0.0",
|
23149
|
+
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-3.0.0.tgz",
|
23150
|
+
"integrity": "sha512-L/cbzmutAwII5glUcf2DBRNY/d0TFd4e/FnaZigJV6JD85RHZXJFGwCndjMWiiViiWSsWt3tiOLpI3ByTnIdFQ==",
|
23166
23151
|
"requires": {
|
23167
23152
|
"glob": "^7.1.6",
|
23168
|
-
"ignore-walk": "^
|
23153
|
+
"ignore-walk": "^4.0.1",
|
23169
23154
|
"npm-bundled": "^1.1.1",
|
23170
23155
|
"npm-normalize-package-bin": "^1.0.1"
|
23171
23156
|
}
|
@@ -23388,9 +23373,9 @@
|
|
23388
23373
|
"dev": true
|
23389
23374
|
},
|
23390
23375
|
"pacote": {
|
23391
|
-
"version": "12.0.
|
23392
|
-
"resolved": "https://registry.npmjs.org/pacote/-/pacote-12.0.
|
23393
|
-
"integrity": "sha512-
|
23376
|
+
"version": "12.0.2",
|
23377
|
+
"resolved": "https://registry.npmjs.org/pacote/-/pacote-12.0.2.tgz",
|
23378
|
+
"integrity": "sha512-Ar3mhjcxhMzk+OVZ8pbnXdb0l8+pimvlsqBGRNkble2NVgyqOGE3yrCGi/lAYq7E7NRDMz89R1Wx5HIMCGgeYg==",
|
23394
23379
|
"requires": {
|
23395
23380
|
"@npmcli/git": "^2.1.0",
|
23396
23381
|
"@npmcli/installed-package-contents": "^1.0.6",
|
@@ -23403,7 +23388,7 @@
|
|
23403
23388
|
"minipass": "^3.1.3",
|
23404
23389
|
"mkdirp": "^1.0.3",
|
23405
23390
|
"npm-package-arg": "^8.0.1",
|
23406
|
-
"npm-packlist": "^
|
23391
|
+
"npm-packlist": "^3.0.0",
|
23407
23392
|
"npm-pick-manifest": "^6.0.0",
|
23408
23393
|
"npm-registry-fetch": "^11.0.0",
|
23409
23394
|
"promise-retry": "^2.0.1",
|
data/helpers/package.json
CHANGED
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.168.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-11-
|
11
|
+
date: 2021-11-23 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.168.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.168.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|