dependabot-npm_and_yarn 0.138.2 → 0.138.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: faca670e2478b112e37f287f80660843e304a3b0cb992e065f272d2b56ca1c4f
4
- data.tar.gz: 1373429b7a575012eaf76da049092145b70cba7c1994c1b88f75af06b66cb3a0
3
+ metadata.gz: 718352903b43db84d34c48dd5981eee3a6ed51a2b9b7f78f5fc46ee013bc3e33
4
+ data.tar.gz: 62b63995c1c0d41f5da987380222b716e3d18b0b80a733c6629eeaaa028b5c32
5
5
  SHA512:
6
- metadata.gz: eb81372b3bce5e3714316c8bbd7b69dc3840888a9441e29c79f897d0bb4be7c18d49b3e79c3ba06e28fda4cf3d966521ef0b188158e939f80401a0365f78cd7c
7
- data.tar.gz: 4999293850264ad389707130ac9393d31cd7cce6e67f150988d9191121e7cac5142cc024139b0c354aa52ef413190216b0ff4fcb216a12bde9c2810e3e75ff25
6
+ metadata.gz: a3de09fc0cb466562bd40a676301c84b7775252cbb47d7995e0154eee3471926fc0bf4bab860eebed09e7d24b4bf0b559eac613e58ac00ed1ee6e8f6e34b4921
7
+ data.tar.gz: 974974e318fafe8fcfeae7b5e63555e0683d70ac9fb81d10d5ff0c61288b52d455d92fd2e27a0bd559b281f6720ef26db33df03e8b60932c28570e0bebbb9004
data/helpers/build CHANGED
@@ -20,4 +20,4 @@ cp -r \
20
20
  "$install_dir"
21
21
 
22
22
  cd "$install_dir"
23
- npm ci
23
+ npm ci --no-audit --fetch-timeout=600000 --fetch-retries=5
@@ -7,16 +7,16 @@
7
7
  "name": "@dependabot/helper",
8
8
  "dependencies": {
9
9
  "@dependabot/yarn-lib": "^1.21.1",
10
- "@npmcli/arborist": "^2.2.6",
10
+ "@npmcli/arborist": "^2.2.9",
11
11
  "detect-indent": "^6.0.0",
12
- "npm": "6.14.11",
12
+ "npm": "6.14.12",
13
13
  "semver": "^7.3.4"
14
14
  },
15
15
  "bin": {
16
16
  "helper": "run.js"
17
17
  },
18
18
  "devDependencies": {
19
- "eslint": "^7.20.0",
19
+ "eslint": "^7.23.0",
20
20
  "eslint-config-prettier": "^8.1.0",
21
21
  "jest": "^26.6.3",
22
22
  "prettier": "^2.2.1",
@@ -1425,9 +1425,9 @@
1425
1425
  }
1426
1426
  },
1427
1427
  "node_modules/@npmcli/arborist": {
1428
- "version": "2.2.6",
1429
- "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.2.6.tgz",
1430
- "integrity": "sha512-dLWPjMeUTrlIJG+f4j3cOMZ24vJ1GQmZm7QixXeOnx3XCo7reWqzjDZfQvPE21FPUuz25EGoRw+MSHzc7OlxAA==",
1428
+ "version": "2.2.9",
1429
+ "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.2.9.tgz",
1430
+ "integrity": "sha512-ddC/CCAEHh28XYtgSAOudchdphNXcgErdYxwsEiykc2YbRA9Z+4XjI0BdBdXvv22DvkpO7zotUSxlVTcJmdURw==",
1431
1431
  "dependencies": {
1432
1432
  "@npmcli/installed-package-contents": "^1.0.7",
1433
1433
  "@npmcli/map-workspaces": "^1.0.2",
@@ -1452,7 +1452,7 @@
1452
1452
  "promise-call-limit": "^1.0.1",
1453
1453
  "read-package-json-fast": "^2.0.2",
1454
1454
  "readdir-scoped-modules": "^1.1.0",
1455
- "semver": "^7.3.4",
1455
+ "semver": "^7.3.5",
1456
1456
  "tar": "^6.1.0",
1457
1457
  "treeverse": "^1.0.4",
1458
1458
  "walk-up-path": "^1.0.0"
@@ -3185,6 +3185,7 @@
3185
3185
  "version": "3.1.0",
3186
3186
  "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
3187
3187
  "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
3188
+ "dev": true,
3188
3189
  "engines": {
3189
3190
  "node": ">=8"
3190
3191
  }
@@ -3455,9 +3456,9 @@
3455
3456
  }
3456
3457
  },
3457
3458
  "node_modules/eslint": {
3458
- "version": "7.21.0",
3459
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.21.0.tgz",
3460
- "integrity": "sha512-W2aJbXpMNofUp0ztQaF40fveSsJBjlSCSWpy//gzfTvwC+USs/nceBrKmlJOiM8r1bLwP2EuYkCqArn/6QTIgg==",
3459
+ "version": "7.23.0",
3460
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.23.0.tgz",
3461
+ "integrity": "sha512-kqvNVbdkjzpFy0XOszNwjkKzZ+6TcwCQ/h+ozlcIWwaimBBuhlQ4nN6kbiM2L+OjDcznkTJxzYfRFH92sx4a0Q==",
3461
3462
  "dev": true,
3462
3463
  "dependencies": {
3463
3464
  "@babel/code-frame": "7.12.11",
@@ -3477,7 +3478,7 @@
3477
3478
  "file-entry-cache": "^6.0.1",
3478
3479
  "functional-red-black-tree": "^1.0.1",
3479
3480
  "glob-parent": "^5.0.0",
3480
- "globals": "^12.1.0",
3481
+ "globals": "^13.6.0",
3481
3482
  "ignore": "^4.0.6",
3482
3483
  "import-fresh": "^3.0.0",
3483
3484
  "imurmurhash": "^0.1.4",
@@ -3485,7 +3486,7 @@
3485
3486
  "js-yaml": "^3.13.1",
3486
3487
  "json-stable-stringify-without-jsonify": "^1.0.1",
3487
3488
  "levn": "^0.4.1",
3488
- "lodash": "^4.17.20",
3489
+ "lodash": "^4.17.21",
3489
3490
  "minimatch": "^3.0.4",
3490
3491
  "natural-compare": "^1.4.0",
3491
3492
  "optionator": "^0.9.1",
@@ -3632,6 +3633,21 @@
3632
3633
  }
3633
3634
  }
3634
3635
  },
3636
+ "node_modules/eslint/node_modules/globals": {
3637
+ "version": "13.7.0",
3638
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.7.0.tgz",
3639
+ "integrity": "sha512-Aipsz6ZKRxa/xQkZhNg0qIWXT6x6rD46f6x/PCnBomlttdIyAPak4YD9jTmKpZ72uROSMU87qJtcgpgHaVchiA==",
3640
+ "dev": true,
3641
+ "dependencies": {
3642
+ "type-fest": "^0.20.2"
3643
+ },
3644
+ "engines": {
3645
+ "node": ">=8"
3646
+ },
3647
+ "funding": {
3648
+ "url": "https://github.com/sponsors/sindresorhus"
3649
+ }
3650
+ },
3635
3651
  "node_modules/eslint/node_modules/has-flag": {
3636
3652
  "version": "4.0.0",
3637
3653
  "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -3671,6 +3687,18 @@
3671
3687
  "node": ">=8"
3672
3688
  }
3673
3689
  },
3690
+ "node_modules/eslint/node_modules/type-fest": {
3691
+ "version": "0.20.2",
3692
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
3693
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
3694
+ "dev": true,
3695
+ "engines": {
3696
+ "node": ">=10"
3697
+ },
3698
+ "funding": {
3699
+ "url": "https://github.com/sponsors/sindresorhus"
3700
+ }
3701
+ },
3674
3702
  "node_modules/espree": {
3675
3703
  "version": "7.3.1",
3676
3704
  "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz",
@@ -7995,6 +8023,7 @@
7995
8023
  "version": "2.5.0",
7996
8024
  "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
7997
8025
  "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
8026
+ "dev": true,
7998
8027
  "dependencies": {
7999
8028
  "hosted-git-info": "^2.1.4",
8000
8029
  "resolve": "^1.10.0",
@@ -8005,12 +8034,14 @@
8005
8034
  "node_modules/normalize-package-data/node_modules/hosted-git-info": {
8006
8035
  "version": "2.8.8",
8007
8036
  "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz",
8008
- "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg=="
8037
+ "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==",
8038
+ "dev": true
8009
8039
  },
8010
8040
  "node_modules/normalize-package-data/node_modules/semver": {
8011
8041
  "version": "5.7.1",
8012
8042
  "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
8013
8043
  "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
8044
+ "dev": true,
8014
8045
  "bin": {
8015
8046
  "semver": "bin/semver"
8016
8047
  }
@@ -8038,9 +8069,9 @@
8038
8069
  }
8039
8070
  },
8040
8071
  "node_modules/npm": {
8041
- "version": "6.14.11",
8042
- "resolved": "https://registry.npmjs.org/npm/-/npm-6.14.11.tgz",
8043
- "integrity": "sha512-1Zh7LjuIoEhIyjkBflSSGzfjuPQwDlghNloppjruOH5bmj9midT9qcNT0tRUZRR04shU9ekrxNy9+UTBrqeBpQ==",
8072
+ "version": "6.14.12",
8073
+ "resolved": "https://registry.npmjs.org/npm/-/npm-6.14.12.tgz",
8074
+ "integrity": "sha512-La0TNNm1TLYaSeOyit+p3xGTRYYRsHae6/RG69MVXurZsWna9jccPP7FOi/u7V9WdiCV5OOojrfMD+WstO5MZQ==",
8044
8075
  "bundleDependencies": [
8045
8076
  "abbrev",
8046
8077
  "ansicolors",
@@ -8164,7 +8195,239 @@
8164
8195
  "validate-npm-package-name",
8165
8196
  "which",
8166
8197
  "worker-farm",
8167
- "write-file-atomic"
8198
+ "write-file-atomic",
8199
+ "agent-base",
8200
+ "agentkeepalive",
8201
+ "ansi-align",
8202
+ "ansi-regex",
8203
+ "ansi-styles",
8204
+ "are-we-there-yet",
8205
+ "asap",
8206
+ "asn1",
8207
+ "assert-plus",
8208
+ "asynckit",
8209
+ "aws-sign2",
8210
+ "aws4",
8211
+ "balanced-match",
8212
+ "bcrypt-pbkdf",
8213
+ "boxen",
8214
+ "brace-expansion",
8215
+ "buffer-from",
8216
+ "builtins",
8217
+ "byline",
8218
+ "camelcase",
8219
+ "capture-stack-trace",
8220
+ "caseless",
8221
+ "chalk",
8222
+ "cidr-regex",
8223
+ "cli-boxes",
8224
+ "cliui",
8225
+ "clone",
8226
+ "code-point-at",
8227
+ "color-convert",
8228
+ "color-name",
8229
+ "colors",
8230
+ "combined-stream",
8231
+ "concat-map",
8232
+ "concat-stream",
8233
+ "configstore",
8234
+ "console-control-strings",
8235
+ "copy-concurrently",
8236
+ "core-util-is",
8237
+ "create-error-class",
8238
+ "cross-spawn",
8239
+ "crypto-random-string",
8240
+ "cyclist",
8241
+ "dashdash",
8242
+ "debug",
8243
+ "decamelize",
8244
+ "decode-uri-component",
8245
+ "deep-extend",
8246
+ "defaults",
8247
+ "define-properties",
8248
+ "delayed-stream",
8249
+ "delegates",
8250
+ "dot-prop",
8251
+ "dotenv",
8252
+ "duplexer3",
8253
+ "duplexify",
8254
+ "ecc-jsbn",
8255
+ "emoji-regex",
8256
+ "encoding",
8257
+ "end-of-stream",
8258
+ "env-paths",
8259
+ "err-code",
8260
+ "errno",
8261
+ "es-abstract",
8262
+ "es-to-primitive",
8263
+ "es6-promise",
8264
+ "es6-promisify",
8265
+ "escape-string-regexp",
8266
+ "execa",
8267
+ "extend",
8268
+ "extsprintf",
8269
+ "fast-json-stable-stringify",
8270
+ "flush-write-stream",
8271
+ "forever-agent",
8272
+ "form-data",
8273
+ "from2",
8274
+ "fs-minipass",
8275
+ "fs.realpath",
8276
+ "function-bind",
8277
+ "gauge",
8278
+ "genfun",
8279
+ "get-caller-file",
8280
+ "get-stream",
8281
+ "getpass",
8282
+ "global-dirs",
8283
+ "got",
8284
+ "har-schema",
8285
+ "har-validator",
8286
+ "has",
8287
+ "has-flag",
8288
+ "has-symbols",
8289
+ "http-cache-semantics",
8290
+ "http-proxy-agent",
8291
+ "http-signature",
8292
+ "https-proxy-agent",
8293
+ "humanize-ms",
8294
+ "iconv-lite",
8295
+ "ignore-walk",
8296
+ "import-lazy",
8297
+ "ip",
8298
+ "ip-regex",
8299
+ "is-callable",
8300
+ "is-ci",
8301
+ "is-date-object",
8302
+ "is-fullwidth-code-point",
8303
+ "is-installed-globally",
8304
+ "is-npm",
8305
+ "is-obj",
8306
+ "is-path-inside",
8307
+ "is-redirect",
8308
+ "is-regex",
8309
+ "is-retry-allowed",
8310
+ "is-stream",
8311
+ "is-symbol",
8312
+ "is-typedarray",
8313
+ "isarray",
8314
+ "isexe",
8315
+ "isstream",
8316
+ "jsbn",
8317
+ "json-schema",
8318
+ "json-stringify-safe",
8319
+ "jsonparse",
8320
+ "jsprim",
8321
+ "latest-version",
8322
+ "libnpmconfig",
8323
+ "libnpmpublish",
8324
+ "lodash._createset",
8325
+ "lodash._root",
8326
+ "lowercase-keys",
8327
+ "make-dir",
8328
+ "make-fetch-happen",
8329
+ "mime-db",
8330
+ "mime-types",
8331
+ "minimatch",
8332
+ "minimist",
8333
+ "minizlib",
8334
+ "ms",
8335
+ "mute-stream",
8336
+ "node-fetch-npm",
8337
+ "npm-bundled",
8338
+ "npm-logical-tree",
8339
+ "npm-normalize-package-bin",
8340
+ "npm-run-path",
8341
+ "number-is-nan",
8342
+ "oauth-sign",
8343
+ "object-assign",
8344
+ "object-keys",
8345
+ "object.getownpropertydescriptors",
8346
+ "os-homedir",
8347
+ "os-tmpdir",
8348
+ "p-finally",
8349
+ "package-json",
8350
+ "parallel-transform",
8351
+ "path-exists",
8352
+ "path-is-absolute",
8353
+ "path-key",
8354
+ "path-parse",
8355
+ "performance-now",
8356
+ "pify",
8357
+ "prepend-http",
8358
+ "process-nextick-args",
8359
+ "promise-retry",
8360
+ "promzard",
8361
+ "proto-list",
8362
+ "protoduck",
8363
+ "prr",
8364
+ "pseudomap",
8365
+ "psl",
8366
+ "pump",
8367
+ "pumpify",
8368
+ "punycode",
8369
+ "qs",
8370
+ "rc",
8371
+ "registry-auth-token",
8372
+ "registry-url",
8373
+ "require-directory",
8374
+ "require-main-filename",
8375
+ "resolve-from",
8376
+ "run-queue",
8377
+ "safer-buffer",
8378
+ "semver-diff",
8379
+ "set-blocking",
8380
+ "shebang-command",
8381
+ "shebang-regex",
8382
+ "signal-exit",
8383
+ "smart-buffer",
8384
+ "socks",
8385
+ "socks-proxy-agent",
8386
+ "spdx-correct",
8387
+ "spdx-exceptions",
8388
+ "spdx-expression-parse",
8389
+ "spdx-license-ids",
8390
+ "split-on-first",
8391
+ "sshpk",
8392
+ "stream-each",
8393
+ "stream-iterate",
8394
+ "stream-shift",
8395
+ "strict-uri-encode",
8396
+ "string_decoder",
8397
+ "string-width",
8398
+ "strip-ansi",
8399
+ "strip-eof",
8400
+ "strip-json-comments",
8401
+ "supports-color",
8402
+ "term-size",
8403
+ "through",
8404
+ "through2",
8405
+ "timed-out",
8406
+ "tough-cookie",
8407
+ "tunnel-agent",
8408
+ "tweetnacl",
8409
+ "typedarray",
8410
+ "unique-slug",
8411
+ "unique-string",
8412
+ "unzip-response",
8413
+ "uri-js",
8414
+ "url-parse-lax",
8415
+ "util-deprecate",
8416
+ "util-extend",
8417
+ "util-promisify",
8418
+ "verror",
8419
+ "wcwidth",
8420
+ "which-module",
8421
+ "wide-align",
8422
+ "widest-line",
8423
+ "wrap-ansi",
8424
+ "wrappy",
8425
+ "xdg-basedir",
8426
+ "xtend",
8427
+ "y18n",
8428
+ "yallist",
8429
+ "yargs",
8430
+ "yargs-parser"
8168
8431
  ],
8169
8432
  "dependencies": {
8170
8433
  "abbrev": "~1.1.1",
@@ -12178,7 +12441,7 @@
12178
12441
  }
12179
12442
  },
12180
12443
  "node_modules/npm/node_modules/y18n": {
12181
- "version": "4.0.0",
12444
+ "version": "4.0.1",
12182
12445
  "inBundle": true,
12183
12446
  "license": "ISC"
12184
12447
  },
@@ -14120,9 +14383,9 @@
14120
14383
  }
14121
14384
  },
14122
14385
  "node_modules/semver": {
14123
- "version": "7.3.4",
14124
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
14125
- "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
14386
+ "version": "7.3.5",
14387
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
14388
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
14126
14389
  "dependencies": {
14127
14390
  "lru-cache": "^6.0.0"
14128
14391
  },
@@ -15103,7 +15366,8 @@
15103
15366
  "node_modules/text-table": {
15104
15367
  "version": "0.2.0",
15105
15368
  "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
15106
- "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ="
15369
+ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",
15370
+ "dev": true
15107
15371
  },
15108
15372
  "node_modules/thenify": {
15109
15373
  "version": "3.3.1",
@@ -16976,9 +17240,9 @@
16976
17240
  }
16977
17241
  },
16978
17242
  "@npmcli/arborist": {
16979
- "version": "2.2.6",
16980
- "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.2.6.tgz",
16981
- "integrity": "sha512-dLWPjMeUTrlIJG+f4j3cOMZ24vJ1GQmZm7QixXeOnx3XCo7reWqzjDZfQvPE21FPUuz25EGoRw+MSHzc7OlxAA==",
17243
+ "version": "2.2.9",
17244
+ "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.2.9.tgz",
17245
+ "integrity": "sha512-ddC/CCAEHh28XYtgSAOudchdphNXcgErdYxwsEiykc2YbRA9Z+4XjI0BdBdXvv22DvkpO7zotUSxlVTcJmdURw==",
16982
17246
  "requires": {
16983
17247
  "@npmcli/installed-package-contents": "^1.0.7",
16984
17248
  "@npmcli/map-workspaces": "^1.0.2",
@@ -17003,7 +17267,7 @@
17003
17267
  "promise-call-limit": "^1.0.1",
17004
17268
  "read-package-json-fast": "^2.0.2",
17005
17269
  "readdir-scoped-modules": "^1.1.0",
17006
- "semver": "^7.3.4",
17270
+ "semver": "^7.3.5",
17007
17271
  "tar": "^6.1.0",
17008
17272
  "treeverse": "^1.0.4",
17009
17273
  "walk-up-path": "^1.0.0"
@@ -18409,7 +18673,8 @@
18409
18673
  "detect-newline": {
18410
18674
  "version": "3.1.0",
18411
18675
  "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
18412
- "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA=="
18676
+ "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
18677
+ "dev": true
18413
18678
  },
18414
18679
  "dezalgo": {
18415
18680
  "version": "1.0.3",
@@ -18626,9 +18891,9 @@
18626
18891
  }
18627
18892
  },
18628
18893
  "eslint": {
18629
- "version": "7.21.0",
18630
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.21.0.tgz",
18631
- "integrity": "sha512-W2aJbXpMNofUp0ztQaF40fveSsJBjlSCSWpy//gzfTvwC+USs/nceBrKmlJOiM8r1bLwP2EuYkCqArn/6QTIgg==",
18894
+ "version": "7.23.0",
18895
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.23.0.tgz",
18896
+ "integrity": "sha512-kqvNVbdkjzpFy0XOszNwjkKzZ+6TcwCQ/h+ozlcIWwaimBBuhlQ4nN6kbiM2L+OjDcznkTJxzYfRFH92sx4a0Q==",
18632
18897
  "dev": true,
18633
18898
  "requires": {
18634
18899
  "@babel/code-frame": "7.12.11",
@@ -18648,7 +18913,7 @@
18648
18913
  "file-entry-cache": "^6.0.1",
18649
18914
  "functional-red-black-tree": "^1.0.1",
18650
18915
  "glob-parent": "^5.0.0",
18651
- "globals": "^12.1.0",
18916
+ "globals": "^13.6.0",
18652
18917
  "ignore": "^4.0.6",
18653
18918
  "import-fresh": "^3.0.0",
18654
18919
  "imurmurhash": "^0.1.4",
@@ -18656,7 +18921,7 @@
18656
18921
  "js-yaml": "^3.13.1",
18657
18922
  "json-stable-stringify-without-jsonify": "^1.0.1",
18658
18923
  "levn": "^0.4.1",
18659
- "lodash": "^4.17.20",
18924
+ "lodash": "^4.17.21",
18660
18925
  "minimatch": "^3.0.4",
18661
18926
  "natural-compare": "^1.4.0",
18662
18927
  "optionator": "^0.9.1",
@@ -18713,6 +18978,15 @@
18713
18978
  "ms": "2.1.2"
18714
18979
  }
18715
18980
  },
18981
+ "globals": {
18982
+ "version": "13.7.0",
18983
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.7.0.tgz",
18984
+ "integrity": "sha512-Aipsz6ZKRxa/xQkZhNg0qIWXT6x6rD46f6x/PCnBomlttdIyAPak4YD9jTmKpZ72uROSMU87qJtcgpgHaVchiA==",
18985
+ "dev": true,
18986
+ "requires": {
18987
+ "type-fest": "^0.20.2"
18988
+ }
18989
+ },
18716
18990
  "has-flag": {
18717
18991
  "version": "4.0.0",
18718
18992
  "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
@@ -18742,6 +19016,12 @@
18742
19016
  "requires": {
18743
19017
  "has-flag": "^4.0.0"
18744
19018
  }
19019
+ },
19020
+ "type-fest": {
19021
+ "version": "0.20.2",
19022
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
19023
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
19024
+ "dev": true
18745
19025
  }
18746
19026
  }
18747
19027
  },
@@ -22106,6 +22386,7 @@
22106
22386
  "version": "2.5.0",
22107
22387
  "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
22108
22388
  "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
22389
+ "dev": true,
22109
22390
  "requires": {
22110
22391
  "hosted-git-info": "^2.1.4",
22111
22392
  "resolve": "^1.10.0",
@@ -22116,12 +22397,14 @@
22116
22397
  "hosted-git-info": {
22117
22398
  "version": "2.8.8",
22118
22399
  "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz",
22119
- "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg=="
22400
+ "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==",
22401
+ "dev": true
22120
22402
  },
22121
22403
  "semver": {
22122
22404
  "version": "5.7.1",
22123
22405
  "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
22124
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
22406
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
22407
+ "dev": true
22125
22408
  }
22126
22409
  }
22127
22410
  },
@@ -22142,9 +22425,9 @@
22142
22425
  }
22143
22426
  },
22144
22427
  "npm": {
22145
- "version": "6.14.11",
22146
- "resolved": "https://registry.npmjs.org/npm/-/npm-6.14.11.tgz",
22147
- "integrity": "sha512-1Zh7LjuIoEhIyjkBflSSGzfjuPQwDlghNloppjruOH5bmj9midT9qcNT0tRUZRR04shU9ekrxNy9+UTBrqeBpQ==",
22428
+ "version": "6.14.12",
22429
+ "resolved": "https://registry.npmjs.org/npm/-/npm-6.14.12.tgz",
22430
+ "integrity": "sha512-La0TNNm1TLYaSeOyit+p3xGTRYYRsHae6/RG69MVXurZsWna9jccPP7FOi/u7V9WdiCV5OOojrfMD+WstO5MZQ==",
22148
22431
  "requires": {
22149
22432
  "abbrev": "~1.1.1",
22150
22433
  "ansicolors": "~0.3.2",
@@ -25136,7 +25419,7 @@
25136
25419
  "bundled": true
25137
25420
  },
25138
25421
  "y18n": {
25139
- "version": "4.0.0",
25422
+ "version": "4.0.1",
25140
25423
  "bundled": true
25141
25424
  },
25142
25425
  "yallist": {
@@ -26711,9 +26994,9 @@
26711
26994
  }
26712
26995
  },
26713
26996
  "semver": {
26714
- "version": "7.3.4",
26715
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
26716
- "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
26997
+ "version": "7.3.5",
26998
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
26999
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
26717
27000
  "requires": {
26718
27001
  "lru-cache": "^6.0.0"
26719
27002
  }
@@ -27490,7 +27773,8 @@
27490
27773
  "text-table": {
27491
27774
  "version": "0.2.0",
27492
27775
  "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
27493
- "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ="
27776
+ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",
27777
+ "dev": true
27494
27778
  },
27495
27779
  "thenify": {
27496
27780
  "version": "3.3.1",
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": "^2.2.6",
13
+ "@npmcli/arborist": "^2.2.9",
14
14
  "detect-indent": "^6.0.0",
15
- "npm": "6.14.11",
15
+ "npm": "6.14.12",
16
16
  "semver": "^7.3.4"
17
17
  },
18
18
  "devDependencies": {
19
- "eslint": "^7.20.0",
19
+ "eslint": "^7.23.0",
20
20
  "eslint-config-prettier": "^8.1.0",
21
21
  "jest": "^26.6.3",
22
22
  "prettier": "^2.2.1",
@@ -16,12 +16,10 @@ module Dependabot
16
16
 
17
17
  def files_requiring_update
18
18
  @files_requiring_update ||=
19
- begin
20
- dependency_files.select do |file|
21
- package_files_requiring_update.include?(file) ||
22
- package_required_lockfile?(file) ||
23
- workspaces_lockfile?(file)
24
- end
19
+ dependency_files.select do |file|
20
+ package_files_requiring_update.include?(file) ||
21
+ package_required_lockfile?(file) ||
22
+ workspaces_lockfile?(file)
25
23
  end
26
24
  end
27
25
 
@@ -60,18 +60,16 @@ module Dependabot
60
60
 
61
61
  def filtered_dependency_files
62
62
  @filtered_dependency_files ||=
63
- begin
64
- if dependencies.select(&:top_level?).any?
65
- DependencyFilesFilterer.new(
66
- dependency_files: dependency_files,
67
- updated_dependencies: dependencies
68
- ).files_requiring_update
69
- else
70
- SubDependencyFilesFilterer.new(
71
- dependency_files: dependency_files,
72
- updated_dependencies: dependencies
73
- ).files_requiring_update
74
- end
63
+ if dependencies.select(&:top_level?).any?
64
+ DependencyFilesFilterer.new(
65
+ dependency_files: dependency_files,
66
+ updated_dependencies: dependencies
67
+ ).files_requiring_update
68
+ else
69
+ SubDependencyFilesFilterer.new(
70
+ dependency_files: dependency_files,
71
+ updated_dependencies: dependencies
72
+ ).files_requiring_update
75
73
  end
76
74
  end
77
75
 
@@ -18,15 +18,13 @@ module Dependabot
18
18
 
19
19
  def files_requiring_update
20
20
  @files_requiring_update ||=
21
- begin
22
- lockfiles.select do |lockfile|
23
- lockfile_dependencies(lockfile).any? do |sub_dep|
24
- updated_dependencies.any? do |updated_dep|
25
- next false unless sub_dep.name == updated_dep.name
21
+ lockfiles.select do |lockfile|
22
+ lockfile_dependencies(lockfile).any? do |sub_dep|
23
+ updated_dependencies.any? do |updated_dep|
24
+ next false unless sub_dep.name == updated_dep.name
26
25
 
27
- version_class.new(updated_dep.version) >
28
- version_class.new(sub_dep.version)
29
- end
26
+ version_class.new(updated_dep.version) >
27
+ version_class.new(sub_dep.version)
30
28
  end
31
29
  end
32
30
  end
@@ -165,17 +165,13 @@ module Dependabot
165
165
 
166
166
  def latest_version_for_git_dependency
167
167
  @latest_version_for_git_dependency ||=
168
- begin
169
- # If there's been a release that includes the current pinned ref
170
- # or that the current branch is behind, we switch to that release.
171
- if git_branch_or_ref_in_latest_release?
172
- latest_released_version
173
- elsif version_class.correct?(dependency.version)
174
- latest_git_version_details[:version] &&
175
- version_class.new(latest_git_version_details[:version])
176
- else
177
- latest_git_version_details[:sha]
178
- end
168
+ if git_branch_or_ref_in_latest_release?
169
+ latest_released_version
170
+ elsif version_class.correct?(dependency.version)
171
+ latest_git_version_details[:version] &&
172
+ version_class.new(latest_git_version_details[:version])
173
+ else
174
+ latest_git_version_details[:sha]
179
175
  end
180
176
  end
181
177
 
@@ -75,12 +75,10 @@ module Dependabot
75
75
  end
76
76
 
77
77
  def possible_previous_versions_with_details
78
- @possible_previous_versions_with_details ||= begin
79
- npm_details.fetch("versions", {}).
80
- transform_keys { |k| version_class.new(k) }.
81
- reject { |v, _| v.prerelease? && !related_to_current_pre?(v) }.
82
- sort_by(&:first).reverse
83
- end
78
+ @possible_previous_versions_with_details ||= npm_details.fetch("versions", {}).
79
+ transform_keys { |k| version_class.new(k) }.
80
+ reject { |v, _| v.prerelease? && !related_to_current_pre?(v) }.
81
+ sort_by(&:first).reverse
84
82
  end
85
83
 
86
84
  def possible_versions_with_details(filter_ignored: true)
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.138.2
4
+ version: 0.138.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dependabot
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-23 00:00:00.000000000 Z
11
+ date: 2021-03-30 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.138.2
19
+ version: 0.138.7
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.138.2
26
+ version: 0.138.7
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.11.0
103
+ version: 1.12.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.11.0
110
+ version: 1.12.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: simplecov
113
113
  requirement: !ruby/object:Gem::Requirement