dependabot-npm_and_yarn 0.129.2 → 0.130.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/lib/{npm → npm6}/conflicting-dependency-parser.js +0 -0
- data/helpers/lib/{npm → npm6}/helpers.js +0 -0
- data/helpers/lib/{npm → npm6}/index.js +0 -0
- data/helpers/lib/{npm → npm6}/peer-dependency-checker.js +2 -2
- data/helpers/lib/{npm → npm6}/remove-dependencies-from-lockfile.js +0 -0
- data/helpers/lib/{npm → npm6}/subdependency-updater.js +2 -2
- data/helpers/lib/{npm → npm6}/updater.js +2 -2
- data/helpers/package.json +4 -3
- data/helpers/test/{npm → npm6}/conflicting-dependency-parser.test.js +1 -1
- data/helpers/test/{npm → npm6}/fixtures/conflicting-dependency-parser/deeply-nested/package-lock.json +0 -0
- data/helpers/test/{npm → npm6}/fixtures/conflicting-dependency-parser/deeply-nested/package.json +0 -0
- data/helpers/test/{npm → npm6}/fixtures/conflicting-dependency-parser/nested/package-lock.json +0 -0
- data/helpers/test/{npm → npm6}/fixtures/conflicting-dependency-parser/nested/package.json +0 -0
- data/helpers/test/{npm → npm6}/fixtures/conflicting-dependency-parser/simple/package-lock.json +0 -0
- data/helpers/test/{npm → npm6}/fixtures/conflicting-dependency-parser/simple/package.json +0 -0
- data/helpers/test/{npm → npm6}/fixtures/updater/original/package-lock.json +0 -0
- data/helpers/test/{npm → npm6}/fixtures/updater/original/package.json +0 -0
- data/helpers/test/{npm → npm6}/fixtures/updater/updated/package-lock.json +0 -0
- data/helpers/test/{npm → npm6}/helpers.js +0 -0
- data/helpers/test/{npm → npm6}/updater.test.js +1 -1
- data/helpers/yarn.lock +341 -79
- data/lib/dependabot/npm_and_yarn/file_parser.rb +3 -1
- data/lib/dependabot/npm_and_yarn/file_updater/npm_lockfile_updater.rb +27 -17
- data/lib/dependabot/npm_and_yarn/helpers.rb +16 -0
- data/lib/dependabot/npm_and_yarn/update_checker/conflicting_dependency_resolver.rb +7 -1
- data/lib/dependabot/npm_and_yarn/update_checker/subdependency_version_resolver.rb +8 -3
- data/lib/dependabot/npm_and_yarn/update_checker/version_resolver.rb +17 -8
- metadata +27 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fb90afa5708e2ddaf354b85fc9061c0d98e3878b86c2b1f421a0ebd504c07db9
|
4
|
+
data.tar.gz: 585498986afbddac39717bceedba05921483505855db916b62dbd4205c04f3b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9761764998a7bdef757a481962481f00059747e3e482a87e5c67a43f21eefb7187e41a91ceb0c208ca3286b9fb2c7c7180de598100f956c34ad8a8423f1ec6f
|
7
|
+
data.tar.gz: a9cce6738399374c3b1f42035a1f34b17adb61665104240cff1e4ef8fbb2808e3b2f6f85eff826f995e777f70a46180358a868a561fd6ce857026779e56e84e2
|
File without changes
|
File without changes
|
File without changes
|
@@ -10,8 +10,8 @@
|
|
10
10
|
* - successful completion, or an error if there are peer dependency warnings
|
11
11
|
*/
|
12
12
|
|
13
|
-
const npm = require("
|
14
|
-
const installer = require("
|
13
|
+
const npm = require("npm6");
|
14
|
+
const installer = require("npm6/lib/install");
|
15
15
|
const { muteStderr, runAsync } = require("./helpers.js");
|
16
16
|
|
17
17
|
function installArgsWithVersion(depName, desiredVersion, reqs) {
|
File without changes
|
@@ -1,7 +1,7 @@
|
|
1
1
|
const fs = require("fs");
|
2
2
|
const path = require("path");
|
3
|
-
const npm = require("
|
4
|
-
const installer = require("
|
3
|
+
const npm = require("npm6");
|
4
|
+
const installer = require("npm6/lib/install");
|
5
5
|
const detectIndent = require("detect-indent");
|
6
6
|
const removeDependenciesFromLockfile = require("./remove-dependencies-from-lockfile");
|
7
7
|
|
@@ -16,8 +16,8 @@
|
|
16
16
|
*/
|
17
17
|
const fs = require("fs");
|
18
18
|
const path = require("path");
|
19
|
-
const npm = require("
|
20
|
-
const installer = require("
|
19
|
+
const npm = require("npm6");
|
20
|
+
const installer = require("npm6/lib/install");
|
21
21
|
const detectIndent = require("detect-indent");
|
22
22
|
const { muteStderr, runAsync } = require("./helpers.js");
|
23
23
|
|
data/helpers/package.json
CHANGED
@@ -10,14 +10,15 @@
|
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"@dependabot/yarn-lib": "^1.21.1",
|
13
|
-
"@npmcli/arborist": "^2.0.
|
13
|
+
"@npmcli/arborist": "^2.0.3",
|
14
14
|
"detect-indent": "^6.0.0",
|
15
|
-
"
|
15
|
+
"npm6": "npm:npm@6.14.11",
|
16
|
+
"npm7": "npm:npm@7.4.0",
|
16
17
|
"semver": "^7.3.4"
|
17
18
|
},
|
18
19
|
"devDependencies": {
|
19
20
|
"eslint": "^7.17.0",
|
20
|
-
"eslint-plugin-prettier": "^3.3.
|
21
|
+
"eslint-plugin-prettier": "^3.3.1",
|
21
22
|
"jest": "^26.6.3",
|
22
23
|
"prettier": "^2.2.1",
|
23
24
|
"rimraf": "^3.0.2"
|
@@ -4,7 +4,7 @@ const fs = require("fs");
|
|
4
4
|
const rimraf = require("rimraf");
|
5
5
|
const {
|
6
6
|
findConflictingDependencies,
|
7
|
-
} = require("../../lib/
|
7
|
+
} = require("../../lib/npm6/conflicting-dependency-parser");
|
8
8
|
const helpers = require("./helpers");
|
9
9
|
|
10
10
|
describe("findConflictingDependencies", () => {
|
File without changes
|
data/helpers/test/{npm → npm6}/fixtures/conflicting-dependency-parser/deeply-nested/package.json
RENAMED
File without changes
|
data/helpers/test/{npm → npm6}/fixtures/conflicting-dependency-parser/nested/package-lock.json
RENAMED
File without changes
|
File without changes
|
data/helpers/test/{npm → npm6}/fixtures/conflicting-dependency-parser/simple/package-lock.json
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -2,7 +2,7 @@ const path = require("path");
|
|
2
2
|
const os = require("os");
|
3
3
|
const fs = require("fs");
|
4
4
|
const rimraf = require("rimraf");
|
5
|
-
const { updateDependencyFiles } = require("../../lib/
|
5
|
+
const { updateDependencyFiles } = require("../../lib/npm6/updater");
|
6
6
|
const helpers = require("./helpers");
|
7
7
|
|
8
8
|
describe("updater", () => {
|
data/helpers/yarn.lock
CHANGED
@@ -543,10 +543,10 @@
|
|
543
543
|
"@types/yargs" "^15.0.0"
|
544
544
|
chalk "^4.0.0"
|
545
545
|
|
546
|
-
"@npmcli/arborist@^2.0.2":
|
547
|
-
version "2.0.
|
548
|
-
resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-2.0.
|
549
|
-
integrity sha512-
|
546
|
+
"@npmcli/arborist@^2.0.0", "@npmcli/arborist@^2.0.3":
|
547
|
+
version "2.0.3"
|
548
|
+
resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-2.0.3.tgz#d11f85c6609f542588bb946d0223b57c9a968650"
|
549
|
+
integrity sha512-iqahzDZaqdUyAHLG1SIG9jrbkLtT5xNbKX1ppAnx7mKx1u+BXYjkxi5ohewLAfyERH6IpODPAiRVc8c3kxA5jQ==
|
550
550
|
dependencies:
|
551
551
|
"@npmcli/installed-package-contents" "^1.0.5"
|
552
552
|
"@npmcli/map-workspaces" "^1.0.1"
|
@@ -564,21 +564,33 @@
|
|
564
564
|
npm-install-checks "^4.0.0"
|
565
565
|
npm-package-arg "^8.1.0"
|
566
566
|
npm-pick-manifest "^6.1.0"
|
567
|
-
pacote "^11.1.
|
567
|
+
pacote "^11.1.14"
|
568
568
|
parse-conflict-json "^1.1.1"
|
569
569
|
promise-all-reject-late "^1.0.0"
|
570
570
|
promise-call-limit "^1.0.1"
|
571
571
|
read-package-json-fast "^1.2.1"
|
572
572
|
readdir-scoped-modules "^1.1.0"
|
573
573
|
semver "^7.3.4"
|
574
|
+
tar "^6.1.0"
|
574
575
|
treeverse "^1.0.4"
|
575
576
|
walk-up-path "^1.0.0"
|
576
577
|
|
577
|
-
"@npmcli/ci-detect@^1.0.0":
|
578
|
+
"@npmcli/ci-detect@^1.0.0", "@npmcli/ci-detect@^1.2.0":
|
578
579
|
version "1.3.0"
|
579
580
|
resolved "https://registry.yarnpkg.com/@npmcli/ci-detect/-/ci-detect-1.3.0.tgz#6c1d2c625fb6ef1b9dea85ad0a5afcbef85ef22a"
|
580
581
|
integrity sha512-oN3y7FAROHhrAt7Rr7PnTSwrHrZVRTS2ZbyxeQwSSYD0ifwM3YNgQqbaRmjcWoPyq77MjchusjJDspbzMmip1Q==
|
581
582
|
|
583
|
+
"@npmcli/config@^1.2.8":
|
584
|
+
version "1.2.8"
|
585
|
+
resolved "https://registry.yarnpkg.com/@npmcli/config/-/config-1.2.8.tgz#3610153eec79dca2ecdc19e5d5f2c207e69b7527"
|
586
|
+
integrity sha512-XFqg1uxUhEiy73hT1Z66xrMojgUOzAaCCYm12bEYBbi3wxmaer8MDRQ8ZViCacHFSZhkLVLqt/osPwKKJPduPw==
|
587
|
+
dependencies:
|
588
|
+
ini "^2.0.0"
|
589
|
+
mkdirp-infer-owner "^2.0.0"
|
590
|
+
nopt "^5.0.0"
|
591
|
+
semver "^7.3.4"
|
592
|
+
walk-up-path "^1.0.0"
|
593
|
+
|
582
594
|
"@npmcli/git@^2.0.1":
|
583
595
|
version "2.0.4"
|
584
596
|
resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-2.0.4.tgz#725f5e32864f3849420e84baf130e426a707cbb7"
|
@@ -647,7 +659,7 @@
|
|
647
659
|
dependencies:
|
648
660
|
infer-owner "^1.0.4"
|
649
661
|
|
650
|
-
"@npmcli/run-script@^1.3.0", "@npmcli/run-script@^1.8.1":
|
662
|
+
"@npmcli/run-script@^1.2.1", "@npmcli/run-script@^1.3.0", "@npmcli/run-script@^1.8.1":
|
651
663
|
version "1.8.1"
|
652
664
|
resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-1.8.1.tgz#729c5ac7293f250b654504d263952703af6da39c"
|
653
665
|
integrity sha512-G8c86g9cQHyRINosIcpovzv0BkXQc3urhL1ORf3KTe4TS4UBsg2O4Z2feca/W3pfzdHEJzc83ETBW4aKbb3SaA==
|
@@ -852,7 +864,7 @@ agentkeepalive@^3.4.1:
|
|
852
864
|
dependencies:
|
853
865
|
humanize-ms "^1.2.1"
|
854
866
|
|
855
|
-
agentkeepalive@^4.1.0:
|
867
|
+
agentkeepalive@^4.1.0, agentkeepalive@^4.1.3:
|
856
868
|
version "4.1.3"
|
857
869
|
resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.1.3.tgz#360a09d743a1f4fde749f9ba07caa6575d08259a"
|
858
870
|
integrity sha512-wn8fw19xKZwdGPO47jivonaHRTd+nGOMP1z11sgGeQzDy2xd5FG0R67dIMcKHDE2cJ5y+YXV30XVGUBPRSY7Hg==
|
@@ -1342,6 +1354,11 @@ byte-size@^5.0.1:
|
|
1342
1354
|
resolved "https://registry.npmjs.org/byte-size/-/byte-size-5.0.1.tgz#4b651039a5ecd96767e71a3d7ed380e48bed4191"
|
1343
1355
|
integrity sha512-/XuKeqWocKsYa/cBY1YbSJSWWqTi4cFgr9S6OyM7PBaPbr9zvNGwWP33vt0uqGhwDdN+y3yhbXVILEUpnwEWGw==
|
1344
1356
|
|
1357
|
+
byte-size@^7.0.0:
|
1358
|
+
version "7.0.0"
|
1359
|
+
resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-7.0.0.tgz#36528cd1ca87d39bd9abd51f5715dc93b6ceb032"
|
1360
|
+
integrity sha512-NNiBxKgxybMBtWdmvx7ZITJi4ZG+CYUgwOSZTfqB1qogkRHrhbQE/R2r5Fh94X+InN5MCYz6SvB/ejHMj/HbsQ==
|
1361
|
+
|
1345
1362
|
bytes@^3.0.0:
|
1346
1363
|
version "3.1.0"
|
1347
1364
|
resolved "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6"
|
@@ -1457,9 +1474,9 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.4.2:
|
|
1457
1474
|
escape-string-regexp "^1.0.5"
|
1458
1475
|
supports-color "^5.3.0"
|
1459
1476
|
|
1460
|
-
chalk@^4.0.0:
|
1477
|
+
chalk@^4.0.0, chalk@^4.1.0:
|
1461
1478
|
version "4.1.0"
|
1462
|
-
resolved "https://registry.
|
1479
|
+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
|
1463
1480
|
integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==
|
1464
1481
|
dependencies:
|
1465
1482
|
ansi-styles "^4.1.0"
|
@@ -1502,6 +1519,13 @@ cidr-regex@^2.0.10:
|
|
1502
1519
|
dependencies:
|
1503
1520
|
ip-regex "^2.1.0"
|
1504
1521
|
|
1522
|
+
cidr-regex@^3.1.1:
|
1523
|
+
version "3.1.1"
|
1524
|
+
resolved "https://registry.yarnpkg.com/cidr-regex/-/cidr-regex-3.1.1.tgz#ba1972c57c66f61875f18fd7dd487469770b571d"
|
1525
|
+
integrity sha512-RBqYd32aDwbCMFJRL6wHOlDNYJsPNTt8vC82ErHF5vKt8QQzxm1FrkW8s/R5pVrXMf17sba09Uoy91PKiddAsw==
|
1526
|
+
dependencies:
|
1527
|
+
ip-regex "^4.1.0"
|
1528
|
+
|
1505
1529
|
cjs-module-lexer@^0.6.0:
|
1506
1530
|
version "0.6.0"
|
1507
1531
|
resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz#4186fcca0eae175970aee870b9fe2d6cf8d5655f"
|
@@ -1563,6 +1587,16 @@ cli-table3@^0.5.0, cli-table3@^0.5.1:
|
|
1563
1587
|
optionalDependencies:
|
1564
1588
|
colors "^1.1.2"
|
1565
1589
|
|
1590
|
+
cli-table3@^0.6.0:
|
1591
|
+
version "0.6.0"
|
1592
|
+
resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.0.tgz#b7b1bc65ca8e7b5cef9124e13dc2b21e2ce4faee"
|
1593
|
+
integrity sha512-gnB85c3MGC7Nm9I/FkiasNBOKjOiO1RNuXXarQms37q4QMpWdlbBgD/VnOStA2faG1dpXMv31RFApjX1/QdgWQ==
|
1594
|
+
dependencies:
|
1595
|
+
object-assign "^4.1.0"
|
1596
|
+
string-width "^4.2.0"
|
1597
|
+
optionalDependencies:
|
1598
|
+
colors "^1.1.2"
|
1599
|
+
|
1566
1600
|
cli-width@^2.0.0:
|
1567
1601
|
version "2.2.1"
|
1568
1602
|
resolved "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48"
|
@@ -1891,7 +1925,7 @@ debug@^3.0.0, debug@^3.1.0:
|
|
1891
1925
|
dependencies:
|
1892
1926
|
ms "^2.1.1"
|
1893
1927
|
|
1894
|
-
debuglog
|
1928
|
+
debuglog@^1.0.1:
|
1895
1929
|
version "1.0.1"
|
1896
1930
|
resolved "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
|
1897
1931
|
integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=
|
@@ -2227,10 +2261,10 @@ escodegen@^1.14.1:
|
|
2227
2261
|
optionalDependencies:
|
2228
2262
|
source-map "~0.6.1"
|
2229
2263
|
|
2230
|
-
eslint-plugin-prettier@^3.3.
|
2231
|
-
version "3.3.
|
2232
|
-
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.3.
|
2233
|
-
integrity sha512-
|
2264
|
+
eslint-plugin-prettier@^3.3.1:
|
2265
|
+
version "3.3.1"
|
2266
|
+
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.3.1.tgz#7079cfa2497078905011e6f82e8dd8453d1371b7"
|
2267
|
+
integrity sha512-Rq3jkcFY8RYeQLgk2cCwuc0P7SEFwDravPhsJZOQ5N4YI4DSg50NyqJ/9gdZHzQlHf8MvafSesbNJCcP/FF6pQ==
|
2234
2268
|
dependencies:
|
2235
2269
|
prettier-linter-helpers "^1.0.0"
|
2236
2270
|
|
@@ -3046,7 +3080,7 @@ http-cache-semantics@^3.8.1:
|
|
3046
3080
|
resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2"
|
3047
3081
|
integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==
|
3048
3082
|
|
3049
|
-
http-cache-semantics@^4.0.4:
|
3083
|
+
http-cache-semantics@^4.0.4, http-cache-semantics@^4.1.0:
|
3050
3084
|
version "4.1.0"
|
3051
3085
|
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390"
|
3052
3086
|
integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==
|
@@ -3170,7 +3204,7 @@ imports-loader@^0.8.0:
|
|
3170
3204
|
loader-utils "^1.0.2"
|
3171
3205
|
source-map "^0.6.1"
|
3172
3206
|
|
3173
|
-
imurmurhash
|
3207
|
+
imurmurhash@^0.1.4:
|
3174
3208
|
version "0.1.4"
|
3175
3209
|
resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
|
3176
3210
|
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
|
@@ -3198,10 +3232,15 @@ inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1,
|
|
3198
3232
|
resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
3199
3233
|
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
|
3200
3234
|
|
3201
|
-
ini@^1.3.4, ini@^1.3.5, ini@~1.3.0:
|
3202
|
-
version "1.3.
|
3203
|
-
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.
|
3204
|
-
integrity sha512-
|
3235
|
+
ini@^1.3.4, ini@^1.3.5, ini@^1.3.8, ini@~1.3.0:
|
3236
|
+
version "1.3.8"
|
3237
|
+
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c"
|
3238
|
+
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==
|
3239
|
+
|
3240
|
+
ini@^2.0.0:
|
3241
|
+
version "2.0.0"
|
3242
|
+
resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5"
|
3243
|
+
integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==
|
3205
3244
|
|
3206
3245
|
init-package-json@^1.10.3:
|
3207
3246
|
version "1.10.3"
|
@@ -3217,6 +3256,20 @@ init-package-json@^1.10.3:
|
|
3217
3256
|
validate-npm-package-license "^3.0.1"
|
3218
3257
|
validate-npm-package-name "^3.0.0"
|
3219
3258
|
|
3259
|
+
init-package-json@^2.0.1:
|
3260
|
+
version "2.0.1"
|
3261
|
+
resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-2.0.1.tgz#7845e8422ba54f74281b466cc521a7014175c4e7"
|
3262
|
+
integrity sha512-UsbZSZZipVfK8HsWoOIdCJYKdhqe5J7A2qxPOcTQjP9jNYKAbHiDyPqjugJsLFJR5GmVHuY/Iyha3Dp9pNdF9g==
|
3263
|
+
dependencies:
|
3264
|
+
glob "^7.1.1"
|
3265
|
+
npm-package-arg "^8.1.0"
|
3266
|
+
promzard "^0.3.0"
|
3267
|
+
read "~1.0.1"
|
3268
|
+
read-package-json "^3.0.0"
|
3269
|
+
semver "^7.3.2"
|
3270
|
+
validate-npm-package-license "^3.0.4"
|
3271
|
+
validate-npm-package-name "^3.0.0"
|
3272
|
+
|
3220
3273
|
inquirer@^6.2.0:
|
3221
3274
|
version "6.5.2"
|
3222
3275
|
resolved "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca"
|
@@ -3253,6 +3306,11 @@ ip-regex@^2.1.0:
|
|
3253
3306
|
resolved "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz#fa78bf5d2e6913c911ce9f819ee5146bb6d844e9"
|
3254
3307
|
integrity sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=
|
3255
3308
|
|
3309
|
+
ip-regex@^4.1.0:
|
3310
|
+
version "4.2.0"
|
3311
|
+
resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-4.2.0.tgz#a03f5eb661d9a154e3973a03de8b23dd0ad6892e"
|
3312
|
+
integrity sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A==
|
3313
|
+
|
3256
3314
|
ip@1.1.5, ip@^1.1.5:
|
3257
3315
|
version "1.1.5"
|
3258
3316
|
resolved "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
|
@@ -3320,6 +3378,13 @@ is-cidr@^3.0.0:
|
|
3320
3378
|
dependencies:
|
3321
3379
|
cidr-regex "^2.0.10"
|
3322
3380
|
|
3381
|
+
is-cidr@^4.0.2:
|
3382
|
+
version "4.0.2"
|
3383
|
+
resolved "https://registry.yarnpkg.com/is-cidr/-/is-cidr-4.0.2.tgz#94c7585e4c6c77ceabf920f8cde51b8c0fda8814"
|
3384
|
+
integrity sha512-z4a1ENUajDbEl/Q6/pVBpTR1nBjjEE1X7qb7bmWYanNnPoKAvUCPFKeXV6Fe4mgTkWKBqiHIcwsI3SndiO5FeA==
|
3385
|
+
dependencies:
|
3386
|
+
cidr-regex "^3.1.1"
|
3387
|
+
|
3323
3388
|
is-core-module@^2.0.0:
|
3324
3389
|
version "2.0.0"
|
3325
3390
|
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.0.0.tgz#58531b70aed1db7c0e8d4eb1a0a2d1ddd64bd12d"
|
@@ -3327,6 +3392,13 @@ is-core-module@^2.0.0:
|
|
3327
3392
|
dependencies:
|
3328
3393
|
has "^1.0.3"
|
3329
3394
|
|
3395
|
+
is-core-module@^2.1.0:
|
3396
|
+
version "2.2.0"
|
3397
|
+
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a"
|
3398
|
+
integrity sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==
|
3399
|
+
dependencies:
|
3400
|
+
has "^1.0.3"
|
3401
|
+
|
3330
3402
|
is-data-descriptor@^0.1.4:
|
3331
3403
|
version "0.1.4"
|
3332
3404
|
resolved "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
|
@@ -4297,6 +4369,16 @@ libnpmaccess@^3.0.2:
|
|
4297
4369
|
npm-package-arg "^6.1.0"
|
4298
4370
|
npm-registry-fetch "^4.0.0"
|
4299
4371
|
|
4372
|
+
libnpmaccess@^4.0.1:
|
4373
|
+
version "4.0.1"
|
4374
|
+
resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-4.0.1.tgz#17e842e03bef759854adf6eb6c2ede32e782639f"
|
4375
|
+
integrity sha512-ZiAgvfUbvmkHoMTzdwmNWCrQRsDkOC+aM5BDfO0C9aOSwF3R1LdFDBD+Rer1KWtsoQYO35nXgmMR7OUHpDRxyA==
|
4376
|
+
dependencies:
|
4377
|
+
aproba "^2.0.0"
|
4378
|
+
minipass "^3.1.1"
|
4379
|
+
npm-package-arg "^8.0.0"
|
4380
|
+
npm-registry-fetch "^9.0.0"
|
4381
|
+
|
4300
4382
|
libnpmconfig@^1.2.1:
|
4301
4383
|
version "1.2.1"
|
4302
4384
|
resolved "https://registry.npmjs.org/libnpmconfig/-/libnpmconfig-1.2.1.tgz#c0c2f793a74e67d4825e5039e7a02a0044dfcbc0"
|
@@ -4306,6 +4388,13 @@ libnpmconfig@^1.2.1:
|
|
4306
4388
|
find-up "^3.0.0"
|
4307
4389
|
ini "^1.3.5"
|
4308
4390
|
|
4391
|
+
libnpmfund@^1.0.2:
|
4392
|
+
version "1.0.2"
|
4393
|
+
resolved "https://registry.yarnpkg.com/libnpmfund/-/libnpmfund-1.0.2.tgz#d9552d4b76dd7f0a1a61b7af6b8f27184e51b0f5"
|
4394
|
+
integrity sha512-Scw2JiLxfT7wqW/VbxIXV8u3FaFT/ZlR8YLFgTdCPsL1Hhli0554ZXyP8JTu1sLeDpHsoqtgLb4mgYVQnqigjA==
|
4395
|
+
dependencies:
|
4396
|
+
"@npmcli/arborist" "^2.0.0"
|
4397
|
+
|
4309
4398
|
libnpmhook@^5.0.3:
|
4310
4399
|
version "5.0.3"
|
4311
4400
|
resolved "https://registry.npmjs.org/libnpmhook/-/libnpmhook-5.0.3.tgz#4020c0f5edbf08ebe395325caa5ea01885b928f7"
|
@@ -4316,6 +4405,14 @@ libnpmhook@^5.0.3:
|
|
4316
4405
|
get-stream "^4.0.0"
|
4317
4406
|
npm-registry-fetch "^4.0.0"
|
4318
4407
|
|
4408
|
+
libnpmhook@^6.0.1:
|
4409
|
+
version "6.0.1"
|
4410
|
+
resolved "https://registry.yarnpkg.com/libnpmhook/-/libnpmhook-6.0.1.tgz#ef467078b71f6f86199f90e6c86e391588867f09"
|
4411
|
+
integrity sha512-rwiWIWAQ6R5sPFRi9gsSC/+1/BxFlxk5nNQysVTXEHbqM9ds8g/duW79wRbZKnRyK1xyOmafxbj69nt9tcUkyw==
|
4412
|
+
dependencies:
|
4413
|
+
aproba "^2.0.0"
|
4414
|
+
npm-registry-fetch "^9.0.0"
|
4415
|
+
|
4319
4416
|
libnpmorg@^1.0.1:
|
4320
4417
|
version "1.0.1"
|
4321
4418
|
resolved "https://registry.npmjs.org/libnpmorg/-/libnpmorg-1.0.1.tgz#5d2503f6ceb57f33dbdcc718e6698fea6d5ad087"
|
@@ -4326,6 +4423,23 @@ libnpmorg@^1.0.1:
|
|
4326
4423
|
get-stream "^4.0.0"
|
4327
4424
|
npm-registry-fetch "^4.0.0"
|
4328
4425
|
|
4426
|
+
libnpmorg@^2.0.1:
|
4427
|
+
version "2.0.1"
|
4428
|
+
resolved "https://registry.yarnpkg.com/libnpmorg/-/libnpmorg-2.0.1.tgz#b279b6e0641013ba5dde465476e72624ea8dd2f3"
|
4429
|
+
integrity sha512-Wj0aApN6TfZWHqtJNjkY7IeQpX24jrQD58IHrEz234quKVRYlegUiMsZl2g4OEFeZNSSc9QN28EdI1SBkUlW7g==
|
4430
|
+
dependencies:
|
4431
|
+
aproba "^2.0.0"
|
4432
|
+
npm-registry-fetch "^9.0.0"
|
4433
|
+
|
4434
|
+
libnpmpack@^2.0.0:
|
4435
|
+
version "2.0.0"
|
4436
|
+
resolved "https://registry.yarnpkg.com/libnpmpack/-/libnpmpack-2.0.0.tgz#6b7f050f8dde248776c92495147f623dc711a221"
|
4437
|
+
integrity sha512-w4wB8ZQUceUANUEiSYqi4nHlqFxhzLXWmhVbDt3NlyZVkmblTokR4xK9VfihLXJhdARQxeILx/HxReeqas1KZQ==
|
4438
|
+
dependencies:
|
4439
|
+
"@npmcli/run-script" "^1.3.0"
|
4440
|
+
npm-package-arg "^8.0.0"
|
4441
|
+
pacote "^11.1.4"
|
4442
|
+
|
4329
4443
|
libnpmpublish@^1.1.2:
|
4330
4444
|
version "1.1.3"
|
4331
4445
|
resolved "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-1.1.3.tgz#e3782796722d79eef1a0a22944c117e0c4ca4280"
|
@@ -4341,6 +4455,17 @@ libnpmpublish@^1.1.2:
|
|
4341
4455
|
semver "^5.5.1"
|
4342
4456
|
ssri "^6.0.1"
|
4343
4457
|
|
4458
|
+
libnpmpublish@^4.0.0:
|
4459
|
+
version "4.0.0"
|
4460
|
+
resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-4.0.0.tgz#ad6413914e0dfd78df868ce14ba3d3a4cc8b385b"
|
4461
|
+
integrity sha512-2RwYXRfZAB1x/9udKpZmqEzSqNd7ouBRU52jyG14/xG8EF+O9A62d7/XVR3iABEQHf1iYhkm0Oq9iXjrL3tsXA==
|
4462
|
+
dependencies:
|
4463
|
+
normalize-package-data "^3.0.0"
|
4464
|
+
npm-package-arg "^8.1.0"
|
4465
|
+
npm-registry-fetch "^9.0.0"
|
4466
|
+
semver "^7.1.3"
|
4467
|
+
ssri "^8.0.0"
|
4468
|
+
|
4344
4469
|
libnpmsearch@^2.0.2:
|
4345
4470
|
version "2.0.2"
|
4346
4471
|
resolved "https://registry.npmjs.org/libnpmsearch/-/libnpmsearch-2.0.2.tgz#9a4f059102d38e3dd44085bdbfe5095f2a5044cf"
|
@@ -4350,6 +4475,13 @@ libnpmsearch@^2.0.2:
|
|
4350
4475
|
get-stream "^4.0.0"
|
4351
4476
|
npm-registry-fetch "^4.0.0"
|
4352
4477
|
|
4478
|
+
libnpmsearch@^3.1.0:
|
4479
|
+
version "3.1.0"
|
4480
|
+
resolved "https://registry.yarnpkg.com/libnpmsearch/-/libnpmsearch-3.1.0.tgz#425cc7cd1feeaad7bf109f91f17b697a3a058f9e"
|
4481
|
+
integrity sha512-UQyzQjtAv99kZDuijqTB2Do63qtt+2SKNOVSTnehWTQbxzXF7Jvc8UD3YNPljm8+Y5T31K2AqptbY5BD6XHlIg==
|
4482
|
+
dependencies:
|
4483
|
+
npm-registry-fetch "^9.0.0"
|
4484
|
+
|
4353
4485
|
libnpmteam@^1.0.2:
|
4354
4486
|
version "1.0.2"
|
4355
4487
|
resolved "https://registry.npmjs.org/libnpmteam/-/libnpmteam-1.0.2.tgz#8b48bcbb6ce70dd8150c950fcbdbf3feb6eec820"
|
@@ -4360,6 +4492,25 @@ libnpmteam@^1.0.2:
|
|
4360
4492
|
get-stream "^4.0.0"
|
4361
4493
|
npm-registry-fetch "^4.0.0"
|
4362
4494
|
|
4495
|
+
libnpmteam@^2.0.2:
|
4496
|
+
version "2.0.2"
|
4497
|
+
resolved "https://registry.yarnpkg.com/libnpmteam/-/libnpmteam-2.0.2.tgz#8450a77092faa801aaaea2a209a66e2137460c06"
|
4498
|
+
integrity sha512-QGvtbMPdQzK+XybBPK0UjfLEI9fiDPQSFMbZW+2lmm0BgPoqxHle0Wl90bsIyBVY7pYzp45MgMqQNo7KWCLpDA==
|
4499
|
+
dependencies:
|
4500
|
+
aproba "^2.0.0"
|
4501
|
+
npm-registry-fetch "^9.0.0"
|
4502
|
+
|
4503
|
+
libnpmversion@^1.0.7:
|
4504
|
+
version "1.0.7"
|
4505
|
+
resolved "https://registry.yarnpkg.com/libnpmversion/-/libnpmversion-1.0.7.tgz#79cc0edb6c08c256b16a09fe0e2018e45d326455"
|
4506
|
+
integrity sha512-WNJOnu7pqXv66Szz8pBBf7xFdPobd6fRjf1n2wBjmhy1bsQ5Ifkdfsn0UaQE7JffKs5geoAe7JiBQO2hHSQN7A==
|
4507
|
+
dependencies:
|
4508
|
+
"@npmcli/git" "^2.0.1"
|
4509
|
+
"@npmcli/run-script" "^1.2.1"
|
4510
|
+
read-package-json-fast "^1.2.1"
|
4511
|
+
semver "^7.1.3"
|
4512
|
+
stringify-package "^1.0.1"
|
4513
|
+
|
4363
4514
|
libnpx@^10.2.4:
|
4364
4515
|
version "10.2.4"
|
4365
4516
|
resolved "https://registry.npmjs.org/libnpx/-/libnpx-10.2.4.tgz#ef0e3258e29aef2ec7ee3276115e20e67f67d4ee"
|
@@ -4437,11 +4588,6 @@ lockfile@^1.0.4:
|
|
4437
4588
|
dependencies:
|
4438
4589
|
signal-exit "^3.0.2"
|
4439
4590
|
|
4440
|
-
lodash._baseindexof@*:
|
4441
|
-
version "3.1.0"
|
4442
|
-
resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c"
|
4443
|
-
integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw=
|
4444
|
-
|
4445
4591
|
lodash._baseuniq@~4.6.0:
|
4446
4592
|
version "4.6.0"
|
4447
4593
|
resolved "https://registry.npmjs.org/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8"
|
@@ -4450,33 +4596,11 @@ lodash._baseuniq@~4.6.0:
|
|
4450
4596
|
lodash._createset "~4.0.0"
|
4451
4597
|
lodash._root "~3.0.0"
|
4452
4598
|
|
4453
|
-
lodash._bindcallback@*:
|
4454
|
-
version "3.0.1"
|
4455
|
-
resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e"
|
4456
|
-
integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4=
|
4457
|
-
|
4458
|
-
lodash._cacheindexof@*:
|
4459
|
-
version "3.0.2"
|
4460
|
-
resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92"
|
4461
|
-
integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI=
|
4462
|
-
|
4463
|
-
lodash._createcache@*:
|
4464
|
-
version "3.1.2"
|
4465
|
-
resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093"
|
4466
|
-
integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM=
|
4467
|
-
dependencies:
|
4468
|
-
lodash._getnative "^3.0.0"
|
4469
|
-
|
4470
4599
|
lodash._createset@~4.0.0:
|
4471
4600
|
version "4.0.3"
|
4472
4601
|
resolved "https://registry.npmjs.org/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26"
|
4473
4602
|
integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY=
|
4474
4603
|
|
4475
|
-
lodash._getnative@*, lodash._getnative@^3.0.0:
|
4476
|
-
version "3.9.1"
|
4477
|
-
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
|
4478
|
-
integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=
|
4479
|
-
|
4480
4604
|
lodash._root@~3.0.0:
|
4481
4605
|
version "3.0.1"
|
4482
4606
|
resolved "https://registry.npmjs.org/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692"
|
@@ -4492,11 +4616,6 @@ lodash.clonedeep@^4.5.0, lodash.clonedeep@~4.5.0:
|
|
4492
4616
|
resolved "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
|
4493
4617
|
integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=
|
4494
4618
|
|
4495
|
-
lodash.restparam@*:
|
4496
|
-
version "3.6.1"
|
4497
|
-
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
|
4498
|
-
integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=
|
4499
|
-
|
4500
4619
|
lodash.sortby@^4.7.0:
|
4501
4620
|
version "4.7.0"
|
4502
4621
|
resolved "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
|
@@ -4600,6 +4719,27 @@ make-fetch-happen@^5.0.0:
|
|
4600
4719
|
socks-proxy-agent "^4.0.0"
|
4601
4720
|
ssri "^6.0.0"
|
4602
4721
|
|
4722
|
+
make-fetch-happen@^8.0.12:
|
4723
|
+
version "8.0.13"
|
4724
|
+
resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-8.0.13.tgz#3692e1fdf027343c782e53bfe1f941fe85db9462"
|
4725
|
+
integrity sha512-rQ5NijwwdU8tIaBrpTtSVrNCcAJfyDRcKBC76vOQlyJX588/88+TE+UpjWl4BgG7gCkp29wER7xcRqkeg+x64Q==
|
4726
|
+
dependencies:
|
4727
|
+
agentkeepalive "^4.1.3"
|
4728
|
+
cacache "^15.0.5"
|
4729
|
+
http-cache-semantics "^4.1.0"
|
4730
|
+
http-proxy-agent "^4.0.1"
|
4731
|
+
https-proxy-agent "^5.0.0"
|
4732
|
+
is-lambda "^1.0.1"
|
4733
|
+
lru-cache "^6.0.0"
|
4734
|
+
minipass "^3.1.3"
|
4735
|
+
minipass-collect "^1.0.2"
|
4736
|
+
minipass-fetch "^1.3.2"
|
4737
|
+
minipass-flush "^1.0.5"
|
4738
|
+
minipass-pipeline "^1.2.4"
|
4739
|
+
promise-retry "^1.1.1"
|
4740
|
+
socks-proxy-agent "^5.0.0"
|
4741
|
+
ssri "^8.0.0"
|
4742
|
+
|
4603
4743
|
make-fetch-happen@^8.0.9:
|
4604
4744
|
version "8.0.10"
|
4605
4745
|
resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-8.0.10.tgz#f37c5d93d14290488ca6a2ae917a380bd7d24f16"
|
@@ -4760,6 +4900,17 @@ minipass-fetch@^1.3.0:
|
|
4760
4900
|
optionalDependencies:
|
4761
4901
|
encoding "^0.1.12"
|
4762
4902
|
|
4903
|
+
minipass-fetch@^1.3.2:
|
4904
|
+
version "1.3.3"
|
4905
|
+
resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-1.3.3.tgz#34c7cea038c817a8658461bf35174551dce17a0a"
|
4906
|
+
integrity sha512-akCrLDWfbdAWkMLBxJEeWTdNsjML+dt5YgOI4gJ53vuO0vrmYQkUPxa6j6V65s9CcePIr2SSWqjT2EcrNseryQ==
|
4907
|
+
dependencies:
|
4908
|
+
minipass "^3.1.0"
|
4909
|
+
minipass-sized "^1.0.3"
|
4910
|
+
minizlib "^2.0.0"
|
4911
|
+
optionalDependencies:
|
4912
|
+
encoding "^0.1.12"
|
4913
|
+
|
4763
4914
|
minipass-flush@^1.0.5:
|
4764
4915
|
version "1.0.5"
|
4765
4916
|
resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373"
|
@@ -4775,7 +4926,7 @@ minipass-json-stream@^1.0.1:
|
|
4775
4926
|
jsonparse "^1.3.1"
|
4776
4927
|
minipass "^3.0.0"
|
4777
4928
|
|
4778
|
-
minipass-pipeline@^1.2.2:
|
4929
|
+
minipass-pipeline@^1.2.2, minipass-pipeline@^1.2.4:
|
4779
4930
|
version "1.2.4"
|
4780
4931
|
resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c"
|
4781
4932
|
integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==
|
@@ -4893,6 +5044,11 @@ ms@2.1.2, ms@^2.0.0, ms@^2.1.1:
|
|
4893
5044
|
resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
|
4894
5045
|
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
|
4895
5046
|
|
5047
|
+
ms@^2.1.2:
|
5048
|
+
version "2.1.3"
|
5049
|
+
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
|
5050
|
+
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==
|
5051
|
+
|
4896
5052
|
mute-stream@0.0.7:
|
4897
5053
|
version "0.0.7"
|
4898
5054
|
resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
|
@@ -4972,7 +5128,7 @@ node-gyp@^5.0.2, node-gyp@^5.1.0:
|
|
4972
5128
|
tar "^4.4.12"
|
4973
5129
|
which "^1.3.1"
|
4974
5130
|
|
4975
|
-
node-gyp@^7.1.0:
|
5131
|
+
node-gyp@^7.1.0, node-gyp@^7.1.2:
|
4976
5132
|
version "7.1.2"
|
4977
5133
|
resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-7.1.2.tgz#21a810aebb187120251c3bcec979af1587b188ae"
|
4978
5134
|
integrity sha512-CbpcIo7C3eMu3dL1c3d0xw449fHIGALIJsRP4DDPHpyiW8vcriNY7ubh9TE4zEKfSxscY7PjeFnshE7h75ynjQ==
|
@@ -5035,6 +5191,16 @@ normalize-package-data@^2.0.0, normalize-package-data@^2.3.2, normalize-package-
|
|
5035
5191
|
semver "2 || 3 || 4 || 5"
|
5036
5192
|
validate-npm-package-license "^3.0.1"
|
5037
5193
|
|
5194
|
+
normalize-package-data@^3.0.0:
|
5195
|
+
version "3.0.0"
|
5196
|
+
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.0.tgz#1f8a7c423b3d2e85eb36985eaf81de381d01301a"
|
5197
|
+
integrity sha512-6lUjEI0d3v6kFrtgA/lOx4zHCWULXsFNIjHolnZCKCTLA6m/G625cdn3O7eNmT0iD3jfo6HZ9cdImGZwf21prw==
|
5198
|
+
dependencies:
|
5199
|
+
hosted-git-info "^3.0.6"
|
5200
|
+
resolve "^1.17.0"
|
5201
|
+
semver "^7.3.2"
|
5202
|
+
validate-npm-package-license "^3.0.1"
|
5203
|
+
|
5038
5204
|
normalize-path@^2.0.1, normalize-path@^2.1.1:
|
5039
5205
|
version "2.1.1"
|
5040
5206
|
resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
|
@@ -5064,6 +5230,13 @@ npm-audit-report@^1.3.3:
|
|
5064
5230
|
cli-table3 "^0.5.0"
|
5065
5231
|
console-control-strings "^1.1.0"
|
5066
5232
|
|
5233
|
+
npm-audit-report@^2.1.4:
|
5234
|
+
version "2.1.4"
|
5235
|
+
resolved "https://registry.yarnpkg.com/npm-audit-report/-/npm-audit-report-2.1.4.tgz#b14c4625131fb7bcacc4b1c83842af1f58c92c98"
|
5236
|
+
integrity sha512-Tz7rnfskSdZ0msTzt2mENC/B+H2QI8u0jN0ck7o3zDsQYIQrek/l3MjEc+CARer+64LsVTU6ZIqNuh0X55QPhw==
|
5237
|
+
dependencies:
|
5238
|
+
chalk "^4.0.0"
|
5239
|
+
|
5067
5240
|
npm-bundled@^1.0.1, npm-bundled@^1.1.1:
|
5068
5241
|
version "1.1.1"
|
5069
5242
|
resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b"
|
@@ -5179,6 +5352,13 @@ npm-profile@^4.0.2, npm-profile@^4.0.4:
|
|
5179
5352
|
figgy-pudding "^3.4.1"
|
5180
5353
|
npm-registry-fetch "^4.0.0"
|
5181
5354
|
|
5355
|
+
npm-profile@^5.0.2:
|
5356
|
+
version "5.0.2"
|
5357
|
+
resolved "https://registry.yarnpkg.com/npm-profile/-/npm-profile-5.0.2.tgz#4cff0710ac8d71280202b6c261b160cc0cace16a"
|
5358
|
+
integrity sha512-hOhpH23PeWUFParJ6T1nquiHJLmFZ5VReTjBf1TJpl1YGuqfUS+ZYujVYPfuMbixosO82kWzvnxg4ZmP4VkTeg==
|
5359
|
+
dependencies:
|
5360
|
+
npm-registry-fetch "^9.0.0"
|
5361
|
+
|
5182
5362
|
npm-registry-fetch@^4.0.0, npm-registry-fetch@^4.0.7:
|
5183
5363
|
version "4.0.7"
|
5184
5364
|
resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-4.0.7.tgz#57951bf6541e0246b34c9f9a38ab73607c9449d7"
|
@@ -5225,10 +5405,10 @@ npm-user-validate@^1.0.1:
|
|
5225
5405
|
resolved "https://registry.yarnpkg.com/npm-user-validate/-/npm-user-validate-1.0.1.tgz#31428fc5475fe8416023f178c0ab47935ad8c561"
|
5226
5406
|
integrity sha512-uQwcd/tY+h1jnEaze6cdX/LrhWhoBxfSknxentoqmIuStxUExxjWd3ULMLFPiFUrZKbOVMowH6Jq2FRWfmhcEw==
|
5227
5407
|
|
5228
|
-
npm@6.14.
|
5229
|
-
version "6.14.
|
5230
|
-
resolved "https://registry.
|
5231
|
-
integrity sha512-
|
5408
|
+
"npm6@npm:npm@6.14.11":
|
5409
|
+
version "6.14.11"
|
5410
|
+
resolved "https://registry.npmjs.org/npm/-/npm-6.14.11.tgz#e0b5598d7b9a42d275e61d8bd28cd7eee0074a3b"
|
5411
|
+
integrity sha512-1Zh7LjuIoEhIyjkBflSSGzfjuPQwDlghNloppjruOH5bmj9midT9qcNT0tRUZRR04shU9ekrxNy9+UTBrqeBpQ==
|
5232
5412
|
dependencies:
|
5233
5413
|
JSONStream "^1.3.5"
|
5234
5414
|
abbrev "~1.1.1"
|
@@ -5248,7 +5428,6 @@ npm@6.14.10:
|
|
5248
5428
|
cmd-shim "^3.0.3"
|
5249
5429
|
columnify "~1.5.4"
|
5250
5430
|
config-chain "^1.1.12"
|
5251
|
-
debuglog "*"
|
5252
5431
|
detect-indent "~5.0.0"
|
5253
5432
|
detect-newline "^2.1.0"
|
5254
5433
|
dezalgo "~1.0.3"
|
@@ -5263,11 +5442,10 @@ npm@6.14.10:
|
|
5263
5442
|
has-unicode "~2.0.1"
|
5264
5443
|
hosted-git-info "^2.8.8"
|
5265
5444
|
iferr "^1.0.2"
|
5266
|
-
imurmurhash "*"
|
5267
5445
|
infer-owner "^1.0.4"
|
5268
5446
|
inflight "~1.0.6"
|
5269
5447
|
inherits "^2.0.4"
|
5270
|
-
ini "^1.3.
|
5448
|
+
ini "^1.3.8"
|
5271
5449
|
init-package-json "^1.10.3"
|
5272
5450
|
is-cidr "^3.0.0"
|
5273
5451
|
json-parse-better-errors "^1.0.2"
|
@@ -5282,14 +5460,8 @@ npm@6.14.10:
|
|
5282
5460
|
libnpx "^10.2.4"
|
5283
5461
|
lock-verify "^2.1.0"
|
5284
5462
|
lockfile "^1.0.4"
|
5285
|
-
lodash._baseindexof "*"
|
5286
5463
|
lodash._baseuniq "~4.6.0"
|
5287
|
-
lodash._bindcallback "*"
|
5288
|
-
lodash._cacheindexof "*"
|
5289
|
-
lodash._createcache "*"
|
5290
|
-
lodash._getnative "*"
|
5291
5464
|
lodash.clonedeep "~4.5.0"
|
5292
|
-
lodash.restparam "*"
|
5293
5465
|
lodash.union "~4.6.0"
|
5294
5466
|
lodash.uniq "~4.5.0"
|
5295
5467
|
lodash.without "~4.4.0"
|
@@ -5354,6 +5526,78 @@ npm@6.14.10:
|
|
5354
5526
|
worker-farm "^1.7.0"
|
5355
5527
|
write-file-atomic "^2.4.3"
|
5356
5528
|
|
5529
|
+
"npm7@npm:npm@7.4.0":
|
5530
|
+
version "7.4.0"
|
5531
|
+
resolved "https://registry.yarnpkg.com/npm/-/npm-7.4.0.tgz#b30f6ce44839448f0c9fd99def47fa6c674600f6"
|
5532
|
+
integrity sha512-/+YQ8YpDPNDSd1YGke4ZvSJL40GHHlOsP3XLhB5jQqy/ciTfSCeEF9mW0hEbf5+nhDE0DYq2xbwt5bstG49FGw==
|
5533
|
+
dependencies:
|
5534
|
+
"@npmcli/arborist" "^2.0.3"
|
5535
|
+
"@npmcli/ci-detect" "^1.2.0"
|
5536
|
+
"@npmcli/config" "^1.2.8"
|
5537
|
+
"@npmcli/run-script" "^1.8.1"
|
5538
|
+
abbrev "~1.1.1"
|
5539
|
+
ansicolors "~0.3.2"
|
5540
|
+
ansistyles "~0.1.3"
|
5541
|
+
aproba "^2.0.0"
|
5542
|
+
archy "~1.0.0"
|
5543
|
+
byte-size "^7.0.0"
|
5544
|
+
cacache "^15.0.5"
|
5545
|
+
chalk "^4.1.0"
|
5546
|
+
chownr "^2.0.0"
|
5547
|
+
cli-columns "^3.1.2"
|
5548
|
+
cli-table3 "^0.6.0"
|
5549
|
+
columnify "~1.5.4"
|
5550
|
+
glob "^7.1.4"
|
5551
|
+
graceful-fs "^4.2.3"
|
5552
|
+
hosted-git-info "^3.0.6"
|
5553
|
+
ini "^2.0.0"
|
5554
|
+
init-package-json "^2.0.1"
|
5555
|
+
is-cidr "^4.0.2"
|
5556
|
+
leven "^3.1.0"
|
5557
|
+
libnpmaccess "^4.0.1"
|
5558
|
+
libnpmfund "^1.0.2"
|
5559
|
+
libnpmhook "^6.0.1"
|
5560
|
+
libnpmorg "^2.0.1"
|
5561
|
+
libnpmpack "^2.0.0"
|
5562
|
+
libnpmpublish "^4.0.0"
|
5563
|
+
libnpmsearch "^3.1.0"
|
5564
|
+
libnpmteam "^2.0.2"
|
5565
|
+
libnpmversion "^1.0.7"
|
5566
|
+
make-fetch-happen "^8.0.12"
|
5567
|
+
minipass "^3.1.3"
|
5568
|
+
minipass-pipeline "^1.2.4"
|
5569
|
+
mkdirp "^1.0.4"
|
5570
|
+
mkdirp-infer-owner "^2.0.0"
|
5571
|
+
ms "^2.1.2"
|
5572
|
+
node-gyp "^7.1.2"
|
5573
|
+
nopt "^5.0.0"
|
5574
|
+
npm-audit-report "^2.1.4"
|
5575
|
+
npm-package-arg "^8.1.0"
|
5576
|
+
npm-pick-manifest "^6.1.0"
|
5577
|
+
npm-profile "^5.0.2"
|
5578
|
+
npm-registry-fetch "^9.0.0"
|
5579
|
+
npm-user-validate "^1.0.1"
|
5580
|
+
npmlog "~4.1.2"
|
5581
|
+
opener "^1.5.2"
|
5582
|
+
pacote "^11.1.14"
|
5583
|
+
parse-conflict-json "^1.1.1"
|
5584
|
+
qrcode-terminal "^0.12.0"
|
5585
|
+
read "~1.0.7"
|
5586
|
+
read-package-json "^3.0.0"
|
5587
|
+
read-package-json-fast "^1.2.1"
|
5588
|
+
readdir-scoped-modules "^1.1.0"
|
5589
|
+
rimraf "^3.0.2"
|
5590
|
+
semver "^7.3.4"
|
5591
|
+
ssri "^8.0.0"
|
5592
|
+
tar "^6.1.0"
|
5593
|
+
text-table "~0.2.0"
|
5594
|
+
tiny-relative-date "^1.3.0"
|
5595
|
+
treeverse "^1.0.4"
|
5596
|
+
uuid "^8.3.1"
|
5597
|
+
validate-npm-package-name "~3.0.0"
|
5598
|
+
which "^2.0.2"
|
5599
|
+
write-file-atomic "^3.0.3"
|
5600
|
+
|
5357
5601
|
npmlog@^4.1.2, npmlog@~4.1.2:
|
5358
5602
|
version "4.1.2"
|
5359
5603
|
resolved "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
|
@@ -5605,10 +5849,10 @@ package-json@^4.0.0:
|
|
5605
5849
|
registry-url "^3.0.3"
|
5606
5850
|
semver "^5.1.0"
|
5607
5851
|
|
5608
|
-
pacote@^11.1.11, pacote@^11.1.
|
5609
|
-
version "11.1.
|
5610
|
-
resolved "https://registry.yarnpkg.com/pacote/-/pacote-11.1.
|
5611
|
-
integrity sha512-
|
5852
|
+
pacote@^11.1.11, pacote@^11.1.14, pacote@^11.1.4:
|
5853
|
+
version "11.1.14"
|
5854
|
+
resolved "https://registry.yarnpkg.com/pacote/-/pacote-11.1.14.tgz#c60b9849ab05488d3f9ccd644c8a42543f2f36d6"
|
5855
|
+
integrity sha512-6c5OhQelaJFDfiw/Zd8MfGCvvFHurSdeGzufZMPvRFImdbNOYFciOINf3DtUNUaU3h98eCb749UyHDsgvL19+A==
|
5612
5856
|
dependencies:
|
5613
5857
|
"@npmcli/git" "^2.0.1"
|
5614
5858
|
"@npmcli/installed-package-contents" "^1.0.5"
|
@@ -5628,7 +5872,7 @@ pacote@^11.1.11, pacote@^11.1.13:
|
|
5628
5872
|
read-package-json-fast "^1.1.3"
|
5629
5873
|
rimraf "^3.0.2"
|
5630
5874
|
ssri "^8.0.0"
|
5631
|
-
tar "^6.0
|
5875
|
+
tar "^6.1.0"
|
5632
5876
|
|
5633
5877
|
pacote@^9.1.0, pacote@^9.5.12, pacote@^9.5.3:
|
5634
5878
|
version "9.5.12"
|
@@ -6109,6 +6353,16 @@ read-package-json-fast@^1.1.1, read-package-json-fast@^1.1.3, read-package-json-
|
|
6109
6353
|
normalize-package-data "^2.0.0"
|
6110
6354
|
npm-normalize-package-bin "^1.0.0"
|
6111
6355
|
|
6356
|
+
read-package-json@^3.0.0:
|
6357
|
+
version "3.0.0"
|
6358
|
+
resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-3.0.0.tgz#2219328e77c9be34f035a4ce58d1fb8e2979adf9"
|
6359
|
+
integrity sha512-4TnJZ5fnDs+/3deg1AuMExL4R1SFNRLQeOhV9c8oDKm3eoG6u8xU0r0mNNRJHi3K6B+jXmT7JOhwhAklWw9SSQ==
|
6360
|
+
dependencies:
|
6361
|
+
glob "^7.1.1"
|
6362
|
+
json-parse-even-better-errors "^2.3.0"
|
6363
|
+
normalize-package-data "^3.0.0"
|
6364
|
+
npm-normalize-package-bin "^1.0.0"
|
6365
|
+
|
6112
6366
|
read-package-tree@^5.3.1:
|
6113
6367
|
version "5.3.1"
|
6114
6368
|
resolved "https://registry.npmjs.org/read-package-tree/-/read-package-tree-5.3.1.tgz#a32cb64c7f31eb8a6f31ef06f9cedf74068fe636"
|
@@ -6365,6 +6619,14 @@ resolve@^1.10.0, resolve@^1.3.2:
|
|
6365
6619
|
dependencies:
|
6366
6620
|
path-parse "^1.0.6"
|
6367
6621
|
|
6622
|
+
resolve@^1.17.0:
|
6623
|
+
version "1.19.0"
|
6624
|
+
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.19.0.tgz#1af5bf630409734a067cae29318aac7fa29a267c"
|
6625
|
+
integrity sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==
|
6626
|
+
dependencies:
|
6627
|
+
is-core-module "^2.1.0"
|
6628
|
+
path-parse "^1.0.6"
|
6629
|
+
|
6368
6630
|
resolve@^1.18.1:
|
6369
6631
|
version "1.18.1"
|
6370
6632
|
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.18.1.tgz#018fcb2c5b207d2a6424aee361c5a266da8f4130"
|
@@ -6500,7 +6762,7 @@ semver@^6.0.0, semver@^6.3.0:
|
|
6500
6762
|
resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
|
6501
6763
|
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
|
6502
6764
|
|
6503
|
-
semver@^7.0.0, semver@^7.1.1, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4:
|
6765
|
+
semver@^7.0.0, semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4:
|
6504
6766
|
version "7.3.4"
|
6505
6767
|
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97"
|
6506
6768
|
integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==
|
@@ -7058,10 +7320,10 @@ tar@^4.4.10, tar@^4.4.12, tar@^4.4.13:
|
|
7058
7320
|
safe-buffer "^5.1.2"
|
7059
7321
|
yallist "^3.0.3"
|
7060
7322
|
|
7061
|
-
tar@^6.0.
|
7062
|
-
version "6.0
|
7063
|
-
resolved "https://registry.yarnpkg.com/tar/-/tar-6.0.
|
7064
|
-
integrity sha512-
|
7323
|
+
tar@^6.0.2, tar@^6.1.0:
|
7324
|
+
version "6.1.0"
|
7325
|
+
resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.0.tgz#d1724e9bcc04b977b18d5c573b333a2207229a83"
|
7326
|
+
integrity sha512-DUCttfhsnLCjwoDoFcI+B2iJgYa93vBnDUATYEeRx6sntCTdN01VnqsIuTlALXla/LWooNg0yEGeB+Y8WdFxGA==
|
7065
7327
|
dependencies:
|
7066
7328
|
chownr "^2.0.0"
|
7067
7329
|
fs-minipass "^2.0.0"
|
@@ -7408,7 +7670,7 @@ uuid@^3.0.1, uuid@^3.3.2, uuid@^3.3.3:
|
|
7408
7670
|
resolved "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee"
|
7409
7671
|
integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==
|
7410
7672
|
|
7411
|
-
uuid@^8.3.0:
|
7673
|
+
uuid@^8.3.0, uuid@^8.3.1:
|
7412
7674
|
version "8.3.2"
|
7413
7675
|
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
|
7414
7676
|
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
|
@@ -295,7 +295,9 @@ module Dependabot
|
|
295
295
|
elsif resolved_url.include?("/#{name}/-/#{name}")
|
296
296
|
# MyGet / Bintray format
|
297
297
|
resolved_url.split("/#{name}/-/#{name}").first.
|
298
|
-
gsub("dl.bintray.com//", "api.bintray.com/npm/")
|
298
|
+
gsub("dl.bintray.com//", "api.bintray.com/npm/").
|
299
|
+
# GitLab format
|
300
|
+
gsub(%r{\/projects\/\d+}, "")
|
299
301
|
elsif resolved_url.include?("/#{name}/-/#{name.split('/').last}")
|
300
302
|
# Sonatype Nexus / Artifactory JFrog format
|
301
303
|
resolved_url.split("/#{name}/-/#{name.split('/').last}").first
|
@@ -1,11 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "dependabot/
|
3
|
+
require "dependabot/errors"
|
4
|
+
require "dependabot/logger"
|
4
5
|
require "dependabot/npm_and_yarn/file_parser"
|
5
|
-
require "dependabot/npm_and_yarn/
|
6
|
+
require "dependabot/npm_and_yarn/file_updater"
|
7
|
+
require "dependabot/npm_and_yarn/helpers"
|
6
8
|
require "dependabot/npm_and_yarn/native_helpers"
|
9
|
+
require "dependabot/npm_and_yarn/update_checker/registry_finder"
|
7
10
|
require "dependabot/shared_helpers"
|
8
|
-
require "dependabot/errors"
|
9
11
|
|
10
12
|
# rubocop:disable Metrics/ClassLength
|
11
13
|
module Dependabot
|
@@ -32,7 +34,7 @@ module Dependabot
|
|
32
34
|
lockfile_name = Pathname.new(lockfile.name).basename.to_s
|
33
35
|
write_temporary_dependency_files(lockfile.name)
|
34
36
|
updated_files = Dir.chdir(path) do
|
35
|
-
run_current_npm_update(lockfile_name: lockfile_name)
|
37
|
+
run_current_npm_update(lockfile_name: lockfile_name, lockfile_content: lockfile.content)
|
36
38
|
end
|
37
39
|
updated_content = updated_files.fetch(lockfile_name)
|
38
40
|
post_process_npm_lockfile(lockfile.content, updated_content)
|
@@ -107,18 +109,19 @@ module Dependabot
|
|
107
109
|
dependency.top_level? && requirements_for_path.empty?
|
108
110
|
end
|
109
111
|
|
110
|
-
def run_current_npm_update(lockfile_name:)
|
112
|
+
def run_current_npm_update(lockfile_name:, lockfile_content:)
|
111
113
|
top_level_dependency_updates = top_level_dependencies.map do |d|
|
112
114
|
{ name: d.name, version: d.version, requirements: d.requirements }
|
113
115
|
end
|
114
116
|
|
115
117
|
run_npm_updater(
|
116
118
|
lockfile_name: lockfile_name,
|
117
|
-
top_level_dependency_updates: top_level_dependency_updates
|
119
|
+
top_level_dependency_updates: top_level_dependency_updates,
|
120
|
+
lockfile_content: lockfile_content
|
118
121
|
)
|
119
122
|
end
|
120
123
|
|
121
|
-
def run_previous_npm_update(lockfile_name:)
|
124
|
+
def run_previous_npm_update(lockfile_name:, lockfile_content:)
|
122
125
|
previous_top_level_dependencies = top_level_dependencies.map do |d|
|
123
126
|
{
|
124
127
|
name: d.name,
|
@@ -129,28 +132,32 @@ module Dependabot
|
|
129
132
|
|
130
133
|
run_npm_updater(
|
131
134
|
lockfile_name: lockfile_name,
|
132
|
-
top_level_dependency_updates: previous_top_level_dependencies
|
135
|
+
top_level_dependency_updates: previous_top_level_dependencies,
|
136
|
+
lockfile_content: lockfile_content
|
133
137
|
)
|
134
138
|
end
|
135
139
|
|
136
|
-
def run_npm_updater(lockfile_name:, top_level_dependency_updates:)
|
140
|
+
def run_npm_updater(lockfile_name:, top_level_dependency_updates:, lockfile_content:)
|
137
141
|
SharedHelpers.with_git_configured(credentials: credentials) do
|
138
142
|
if top_level_dependency_updates.any?
|
139
143
|
run_npm_top_level_updater(
|
140
144
|
lockfile_name: lockfile_name,
|
141
|
-
top_level_dependency_updates: top_level_dependency_updates
|
145
|
+
top_level_dependency_updates: top_level_dependency_updates,
|
146
|
+
lockfile_content: lockfile_content
|
142
147
|
)
|
143
148
|
else
|
144
|
-
run_npm_subdependency_updater(lockfile_name: lockfile_name)
|
149
|
+
run_npm_subdependency_updater(lockfile_name: lockfile_name, lockfile_content: lockfile_content)
|
145
150
|
end
|
146
151
|
end
|
147
152
|
end
|
148
153
|
|
149
|
-
def run_npm_top_level_updater(lockfile_name:,
|
150
|
-
|
154
|
+
def run_npm_top_level_updater(lockfile_name:, top_level_dependency_updates:, lockfile_content:)
|
155
|
+
npm_version = Dependabot::NpmAndYarn::Helpers.npm_version(lockfile_content)
|
156
|
+
Dependabot.logger.info(npm_version)
|
157
|
+
|
151
158
|
SharedHelpers.run_helper_subprocess(
|
152
159
|
command: NativeHelpers.helper_path,
|
153
|
-
function: "
|
160
|
+
function: "npm6:update",
|
154
161
|
args: [
|
155
162
|
Dir.pwd,
|
156
163
|
lockfile_name,
|
@@ -159,10 +166,13 @@ module Dependabot
|
|
159
166
|
)
|
160
167
|
end
|
161
168
|
|
162
|
-
def run_npm_subdependency_updater(lockfile_name:)
|
169
|
+
def run_npm_subdependency_updater(lockfile_name:, lockfile_content:)
|
170
|
+
npm_version = Dependabot::NpmAndYarn::Helpers.npm_version(lockfile_content)
|
171
|
+
Dependabot.logger.info(npm_version)
|
172
|
+
|
163
173
|
SharedHelpers.run_helper_subprocess(
|
164
174
|
command: NativeHelpers.helper_path,
|
165
|
-
function: "
|
175
|
+
function: "npm6:updateSubdependency",
|
166
176
|
args: [Dir.pwd, lockfile_name, sub_dependencies.map(&:to_h)]
|
167
177
|
)
|
168
178
|
end
|
@@ -341,7 +351,7 @@ module Dependabot
|
|
341
351
|
lockfile_name = Pathname.new(lockfile.name).basename.to_s
|
342
352
|
path = Pathname.new(lockfile.name).dirname.to_s
|
343
353
|
Dir.chdir(path) do
|
344
|
-
run_previous_npm_update(lockfile_name: lockfile_name)
|
354
|
+
run_previous_npm_update(lockfile_name: lockfile_name, lockfile_content: lockfile.content)
|
345
355
|
end
|
346
356
|
end
|
347
357
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Dependabot
|
4
|
+
module NpmAndYarn
|
5
|
+
module Helpers
|
6
|
+
def self.npm_version(lockfile_content)
|
7
|
+
return "npm6" unless lockfile_content
|
8
|
+
return "npm7" if JSON.parse(lockfile_content)["lockfileVersion"] == 2
|
9
|
+
|
10
|
+
"npm6"
|
11
|
+
rescue JSON::ParserError
|
12
|
+
"npm6"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -2,7 +2,9 @@
|
|
2
2
|
|
3
3
|
require "dependabot/dependency"
|
4
4
|
require "dependabot/errors"
|
5
|
+
require "dependabot/logger"
|
5
6
|
require "dependabot/npm_and_yarn/file_parser"
|
7
|
+
require "dependabot/npm_and_yarn/helpers"
|
6
8
|
require "dependabot/npm_and_yarn/native_helpers"
|
7
9
|
require "dependabot/npm_and_yarn/update_checker"
|
8
10
|
require "dependabot/npm_and_yarn/update_checker/dependency_files_builder"
|
@@ -43,9 +45,13 @@ module Dependabot
|
|
43
45
|
# parser doesn't deal with at the moment.
|
44
46
|
if dependency_files_builder.package_locks.any? ||
|
45
47
|
dependency_files_builder.shrinkwraps.any?
|
48
|
+
package_lock = dependency_files_builder.package_locks.find { |f| f.name == "package-lock.json" }
|
49
|
+
npm_version = Dependabot::NpmAndYarn::Helpers.npm_version(package_lock&.content)
|
50
|
+
Dependabot.logger.info(npm_version)
|
51
|
+
|
46
52
|
SharedHelpers.run_helper_subprocess(
|
47
53
|
command: NativeHelpers.helper_path,
|
48
|
-
function: "
|
54
|
+
function: "npm6:findConflictingDependencies",
|
49
55
|
args: [Dir.pwd, dependency.name, target_version.to_s]
|
50
56
|
)
|
51
57
|
else
|
@@ -2,9 +2,11 @@
|
|
2
2
|
|
3
3
|
require "dependabot/dependency"
|
4
4
|
require "dependabot/errors"
|
5
|
+
require "dependabot/logger"
|
5
6
|
require "dependabot/npm_and_yarn/file_parser"
|
6
7
|
require "dependabot/npm_and_yarn/file_updater/npmrc_builder"
|
7
8
|
require "dependabot/npm_and_yarn/file_updater/package_json_preparer"
|
9
|
+
require "dependabot/npm_and_yarn/helpers"
|
8
10
|
require "dependabot/npm_and_yarn/native_helpers"
|
9
11
|
require "dependabot/npm_and_yarn/sub_dependency_files_filterer"
|
10
12
|
require "dependabot/npm_and_yarn/update_checker"
|
@@ -60,7 +62,7 @@ module Dependabot
|
|
60
62
|
updated_files = if lockfile.name.end_with?("yarn.lock")
|
61
63
|
run_yarn_updater(path, lockfile_name)
|
62
64
|
else
|
63
|
-
run_npm_updater(path, lockfile_name)
|
65
|
+
run_npm_updater(path, lockfile_name, lockfile.content)
|
64
66
|
end
|
65
67
|
|
66
68
|
updated_files.fetch(lockfile_name)
|
@@ -107,12 +109,15 @@ module Dependabot
|
|
107
109
|
sleep(rand(3.0..10.0)) && retry
|
108
110
|
end
|
109
111
|
|
110
|
-
def run_npm_updater(path, lockfile_name)
|
112
|
+
def run_npm_updater(path, lockfile_name, lockfile_content)
|
111
113
|
SharedHelpers.with_git_configured(credentials: credentials) do
|
112
114
|
Dir.chdir(path) do
|
115
|
+
npm_version = Dependabot::NpmAndYarn::Helpers.npm_version(lockfile_content)
|
116
|
+
Dependabot.logger.info(npm_version)
|
117
|
+
|
113
118
|
SharedHelpers.run_helper_subprocess(
|
114
119
|
command: NativeHelpers.helper_path,
|
115
|
-
function: "
|
120
|
+
function: "npm6:updateSubdependency",
|
116
121
|
args: [Dir.pwd, lockfile_name, [dependency.to_h]]
|
117
122
|
)
|
118
123
|
end
|
@@ -1,16 +1,18 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "dependabot/errors"
|
3
4
|
require "dependabot/git_commit_checker"
|
4
|
-
require "dependabot/
|
5
|
-
require "dependabot/npm_and_yarn/file_parser"
|
6
|
-
require "dependabot/npm_and_yarn/version"
|
7
|
-
require "dependabot/npm_and_yarn/requirement"
|
8
|
-
require "dependabot/npm_and_yarn/native_helpers"
|
5
|
+
require "dependabot/logger"
|
9
6
|
require "dependabot/npm_and_yarn/dependency_files_filterer"
|
10
|
-
require "dependabot/
|
11
|
-
require "dependabot/errors"
|
7
|
+
require "dependabot/npm_and_yarn/file_parser"
|
12
8
|
require "dependabot/npm_and_yarn/file_updater/npmrc_builder"
|
13
9
|
require "dependabot/npm_and_yarn/file_updater/package_json_preparer"
|
10
|
+
require "dependabot/npm_and_yarn/helpers"
|
11
|
+
require "dependabot/npm_and_yarn/native_helpers"
|
12
|
+
require "dependabot/npm_and_yarn/requirement"
|
13
|
+
require "dependabot/npm_and_yarn/update_checker"
|
14
|
+
require "dependabot/npm_and_yarn/version"
|
15
|
+
require "dependabot/shared_helpers"
|
14
16
|
|
15
17
|
# rubocop:disable Metrics/ClassLength
|
16
18
|
module Dependabot
|
@@ -413,9 +415,16 @@ module Dependabot
|
|
413
415
|
def run_npm_checker(path:, version:)
|
414
416
|
SharedHelpers.with_git_configured(credentials: credentials) do
|
415
417
|
Dir.chdir(path) do
|
418
|
+
package_lock = dependency_files_builder.package_locks.find do |f|
|
419
|
+
# Find the lockfile that's in the current directory
|
420
|
+
f.name == [path, "package-lock.json"].join("/").sub(%r{\A.?\/}, "")
|
421
|
+
end
|
422
|
+
npm_version = Dependabot::NpmAndYarn::Helpers.npm_version(package_lock&.content)
|
423
|
+
Dependabot.logger.info(npm_version)
|
424
|
+
|
416
425
|
SharedHelpers.run_helper_subprocess(
|
417
426
|
command: NativeHelpers.helper_path,
|
418
|
-
function: "
|
427
|
+
function: "npm6:checkPeerDependencies",
|
419
428
|
args: [
|
420
429
|
Dir.pwd,
|
421
430
|
dependency.name,
|
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.130.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-01-
|
11
|
+
date: 2021-01-14 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.130.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.
|
26
|
+
version: 0.130.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.
|
103
|
+
version: 1.8.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.8.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: simplecov
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -174,13 +174,13 @@ files:
|
|
174
174
|
- helpers/.eslintrc
|
175
175
|
- helpers/README.md
|
176
176
|
- helpers/build
|
177
|
-
- helpers/lib/
|
178
|
-
- helpers/lib/
|
179
|
-
- helpers/lib/
|
180
|
-
- helpers/lib/
|
181
|
-
- helpers/lib/
|
182
|
-
- helpers/lib/
|
183
|
-
- helpers/lib/
|
177
|
+
- helpers/lib/npm6/conflicting-dependency-parser.js
|
178
|
+
- helpers/lib/npm6/helpers.js
|
179
|
+
- helpers/lib/npm6/index.js
|
180
|
+
- helpers/lib/npm6/peer-dependency-checker.js
|
181
|
+
- helpers/lib/npm6/remove-dependencies-from-lockfile.js
|
182
|
+
- helpers/lib/npm6/subdependency-updater.js
|
183
|
+
- helpers/lib/npm6/updater.js
|
184
184
|
- helpers/lib/yarn/conflicting-dependency-parser.js
|
185
185
|
- helpers/lib/yarn/fix-duplicates.js
|
186
186
|
- helpers/lib/yarn/helpers.js
|
@@ -192,18 +192,18 @@ files:
|
|
192
192
|
- helpers/lib/yarn/updater.js
|
193
193
|
- helpers/package.json
|
194
194
|
- helpers/run.js
|
195
|
-
- helpers/test/
|
196
|
-
- helpers/test/
|
197
|
-
- helpers/test/
|
198
|
-
- helpers/test/
|
199
|
-
- helpers/test/
|
200
|
-
- helpers/test/
|
201
|
-
- helpers/test/
|
202
|
-
- helpers/test/
|
203
|
-
- helpers/test/
|
204
|
-
- helpers/test/
|
205
|
-
- helpers/test/
|
206
|
-
- helpers/test/
|
195
|
+
- helpers/test/npm6/conflicting-dependency-parser.test.js
|
196
|
+
- helpers/test/npm6/fixtures/conflicting-dependency-parser/deeply-nested/package-lock.json
|
197
|
+
- helpers/test/npm6/fixtures/conflicting-dependency-parser/deeply-nested/package.json
|
198
|
+
- helpers/test/npm6/fixtures/conflicting-dependency-parser/nested/package-lock.json
|
199
|
+
- helpers/test/npm6/fixtures/conflicting-dependency-parser/nested/package.json
|
200
|
+
- helpers/test/npm6/fixtures/conflicting-dependency-parser/simple/package-lock.json
|
201
|
+
- helpers/test/npm6/fixtures/conflicting-dependency-parser/simple/package.json
|
202
|
+
- helpers/test/npm6/fixtures/updater/original/package-lock.json
|
203
|
+
- helpers/test/npm6/fixtures/updater/original/package.json
|
204
|
+
- helpers/test/npm6/fixtures/updater/updated/package-lock.json
|
205
|
+
- helpers/test/npm6/helpers.js
|
206
|
+
- helpers/test/npm6/updater.test.js
|
207
207
|
- helpers/test/yarn/conflicting-dependency-parser.test.js
|
208
208
|
- helpers/test/yarn/fixtures/conflicting-dependency-parser/deeply-nested/package.json
|
209
209
|
- helpers/test/yarn/fixtures/conflicting-dependency-parser/deeply-nested/yarn.lock
|
@@ -234,6 +234,7 @@ files:
|
|
234
234
|
- lib/dependabot/npm_and_yarn/file_updater/package_json_preparer.rb
|
235
235
|
- lib/dependabot/npm_and_yarn/file_updater/package_json_updater.rb
|
236
236
|
- lib/dependabot/npm_and_yarn/file_updater/yarn_lockfile_updater.rb
|
237
|
+
- lib/dependabot/npm_and_yarn/helpers.rb
|
237
238
|
- lib/dependabot/npm_and_yarn/metadata_finder.rb
|
238
239
|
- lib/dependabot/npm_and_yarn/native_helpers.rb
|
239
240
|
- lib/dependabot/npm_and_yarn/requirement.rb
|
@@ -267,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
267
268
|
- !ruby/object:Gem::Version
|
268
269
|
version: 2.5.0
|
269
270
|
requirements: []
|
270
|
-
rubygems_version: 3.
|
271
|
+
rubygems_version: 3.2.3
|
271
272
|
signing_key:
|
272
273
|
specification_version: 4
|
273
274
|
summary: JS support for dependabot
|