dependabot-npm_and_yarn 0.111.22 → 0.111.23
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ec3328b332ba8c506008a084ebccd4936d870fbf869f9ac793bae70a9f5ebc4
|
4
|
+
data.tar.gz: 340a1ab3d7404673d9e744d2842ab713ccb785f9f58742ee393f66c56f3e16ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26e45b486f332204979bffa01506c8952b73d806b615087fe1479dec038bb129fda8481cc8fad7d5bbd7691d80d7ca74497dc652b31eea3fd4a02fb61144a740
|
7
|
+
data.tar.gz: fc4c9c515ade08c9853fde22be5221650c69787fe6d00602b9e931453193bc86df2f0143044499843747851a8b3a38eace798220a7ebd13325f3f3e66e00f4ff
|
data/helpers/package.json
CHANGED
data/helpers/yarn.lock
CHANGED
@@ -512,6 +512,11 @@ ansi-regex@^4.0.0:
|
|
512
512
|
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.0.0.tgz#70de791edf021404c3fd615aa89118ae0432e5a9"
|
513
513
|
integrity sha512-iB5Dda8t/UqpPI/IjsejXu5jOGDrzn41wJyljwPH65VCIbk6+1BzFIMJGFwTNrYXT1CrD+B4l19U7awiQ8rk7w==
|
514
514
|
|
515
|
+
ansi-regex@^4.1.0:
|
516
|
+
version "4.1.0"
|
517
|
+
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
|
518
|
+
integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
|
519
|
+
|
515
520
|
ansi-styles@^3.2.0, ansi-styles@^3.2.1:
|
516
521
|
version "3.2.1"
|
517
522
|
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
|
@@ -1628,10 +1633,10 @@ eslint-plugin-prettier@^3.1.0:
|
|
1628
1633
|
dependencies:
|
1629
1634
|
prettier-linter-helpers "^1.0.0"
|
1630
1635
|
|
1631
|
-
eslint-scope@^
|
1632
|
-
version "
|
1633
|
-
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-
|
1634
|
-
integrity sha512-
|
1636
|
+
eslint-scope@^5.0.0:
|
1637
|
+
version "5.0.0"
|
1638
|
+
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9"
|
1639
|
+
integrity sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==
|
1635
1640
|
dependencies:
|
1636
1641
|
esrecurse "^4.1.0"
|
1637
1642
|
estraverse "^4.1.1"
|
@@ -1646,10 +1651,10 @@ eslint-visitor-keys@^1.0.0:
|
|
1646
1651
|
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d"
|
1647
1652
|
integrity sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==
|
1648
1653
|
|
1649
|
-
eslint@^6.0
|
1650
|
-
version "6.0
|
1651
|
-
resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.0.
|
1652
|
-
integrity sha512-
|
1654
|
+
eslint@^6.1.0:
|
1655
|
+
version "6.1.0"
|
1656
|
+
resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.1.0.tgz#06438a4a278b1d84fb107d24eaaa35471986e646"
|
1657
|
+
integrity sha512-QhrbdRD7ofuV09IuE2ySWBz0FyXCq0rriLTZXZqaWSI79CVtHVRdkFuFTViiqzZhkCgfOh9USpriuGN2gIpZDQ==
|
1653
1658
|
dependencies:
|
1654
1659
|
"@babel/code-frame" "^7.0.0"
|
1655
1660
|
ajv "^6.10.0"
|
@@ -1657,7 +1662,7 @@ eslint@^6.0.1:
|
|
1657
1662
|
cross-spawn "^6.0.5"
|
1658
1663
|
debug "^4.0.1"
|
1659
1664
|
doctrine "^3.0.0"
|
1660
|
-
eslint-scope "^
|
1665
|
+
eslint-scope "^5.0.0"
|
1661
1666
|
eslint-utils "^1.3.1"
|
1662
1667
|
eslint-visitor-keys "^1.0.0"
|
1663
1668
|
espree "^6.0.0"
|
@@ -1665,28 +1670,29 @@ eslint@^6.0.1:
|
|
1665
1670
|
esutils "^2.0.2"
|
1666
1671
|
file-entry-cache "^5.0.1"
|
1667
1672
|
functional-red-black-tree "^1.0.1"
|
1668
|
-
glob-parent "^
|
1673
|
+
glob-parent "^5.0.0"
|
1669
1674
|
globals "^11.7.0"
|
1670
1675
|
ignore "^4.0.6"
|
1671
1676
|
import-fresh "^3.0.0"
|
1672
1677
|
imurmurhash "^0.1.4"
|
1673
|
-
inquirer "^6.
|
1678
|
+
inquirer "^6.4.1"
|
1674
1679
|
is-glob "^4.0.0"
|
1675
1680
|
js-yaml "^3.13.1"
|
1676
1681
|
json-stable-stringify-without-jsonify "^1.0.1"
|
1677
1682
|
levn "^0.3.0"
|
1678
|
-
lodash "^4.17.
|
1683
|
+
lodash "^4.17.14"
|
1679
1684
|
minimatch "^3.0.4"
|
1680
1685
|
mkdirp "^0.5.1"
|
1681
1686
|
natural-compare "^1.4.0"
|
1682
1687
|
optionator "^0.8.2"
|
1683
1688
|
progress "^2.0.0"
|
1684
1689
|
regexpp "^2.0.1"
|
1685
|
-
semver "^
|
1686
|
-
strip-ansi "^
|
1687
|
-
strip-json-comments "^
|
1690
|
+
semver "^6.1.2"
|
1691
|
+
strip-ansi "^5.2.0"
|
1692
|
+
strip-json-comments "^3.0.1"
|
1688
1693
|
table "^5.2.3"
|
1689
1694
|
text-table "^0.2.0"
|
1695
|
+
v8-compile-cache "^2.0.3"
|
1690
1696
|
|
1691
1697
|
espree@^6.0.0:
|
1692
1698
|
version "6.0.0"
|
@@ -2164,13 +2170,12 @@ glob-parent@^2.0.0:
|
|
2164
2170
|
dependencies:
|
2165
2171
|
is-glob "^2.0.0"
|
2166
2172
|
|
2167
|
-
glob-parent@^
|
2168
|
-
version "
|
2169
|
-
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-
|
2170
|
-
integrity
|
2173
|
+
glob-parent@^5.0.0:
|
2174
|
+
version "5.0.0"
|
2175
|
+
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.0.0.tgz#1dc99f0f39b006d3e92c2c284068382f0c20e954"
|
2176
|
+
integrity sha512-Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==
|
2171
2177
|
dependencies:
|
2172
|
-
is-glob "^
|
2173
|
-
path-dirname "^1.0.0"
|
2178
|
+
is-glob "^4.0.1"
|
2174
2179
|
|
2175
2180
|
glob@^5.0.10:
|
2176
2181
|
version "5.0.15"
|
@@ -2494,10 +2499,10 @@ init-package-json@^1.10.3:
|
|
2494
2499
|
validate-npm-package-license "^3.0.1"
|
2495
2500
|
validate-npm-package-name "^3.0.0"
|
2496
2501
|
|
2497
|
-
inquirer@^6.2.0, inquirer@^6.
|
2498
|
-
version "6.
|
2499
|
-
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.
|
2500
|
-
integrity sha512-
|
2502
|
+
inquirer@^6.2.0, inquirer@^6.4.1:
|
2503
|
+
version "6.5.0"
|
2504
|
+
resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.0.tgz#2303317efc9a4ea7ec2e2df6f86569b734accf42"
|
2505
|
+
integrity sha512-scfHejeG/lVZSpvCXpsB4j/wQNPM5JC8kiElOI0OUTwmc1RTpXr4H32/HOlQHcZiYl2z2VElwuCVDRG8vFmbnA==
|
2501
2506
|
dependencies:
|
2502
2507
|
ansi-escapes "^3.2.0"
|
2503
2508
|
chalk "^2.4.2"
|
@@ -2505,12 +2510,12 @@ inquirer@^6.2.0, inquirer@^6.2.2:
|
|
2505
2510
|
cli-width "^2.0.0"
|
2506
2511
|
external-editor "^3.0.3"
|
2507
2512
|
figures "^2.0.0"
|
2508
|
-
lodash "^4.17.
|
2513
|
+
lodash "^4.17.12"
|
2509
2514
|
mute-stream "0.0.7"
|
2510
2515
|
run-async "^2.2.0"
|
2511
2516
|
rxjs "^6.4.0"
|
2512
2517
|
string-width "^2.1.0"
|
2513
|
-
strip-ansi "^5.
|
2518
|
+
strip-ansi "^5.1.0"
|
2514
2519
|
through "^2.3.6"
|
2515
2520
|
|
2516
2521
|
invariant@^2.2.0, invariant@^2.2.4:
|
@@ -2668,7 +2673,7 @@ is-extglob@^1.0.0:
|
|
2668
2673
|
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0"
|
2669
2674
|
integrity sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=
|
2670
2675
|
|
2671
|
-
is-extglob@^2.1.
|
2676
|
+
is-extglob@^2.1.1:
|
2672
2677
|
version "2.1.1"
|
2673
2678
|
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
2674
2679
|
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
|
@@ -2697,14 +2702,7 @@ is-glob@^2.0.0, is-glob@^2.0.1:
|
|
2697
2702
|
dependencies:
|
2698
2703
|
is-extglob "^1.0.0"
|
2699
2704
|
|
2700
|
-
is-glob@^
|
2701
|
-
version "3.1.0"
|
2702
|
-
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a"
|
2703
|
-
integrity sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=
|
2704
|
-
dependencies:
|
2705
|
-
is-extglob "^2.1.0"
|
2706
|
-
|
2707
|
-
is-glob@^4.0.0:
|
2705
|
+
is-glob@^4.0.0, is-glob@^4.0.1:
|
2708
2706
|
version "4.0.1"
|
2709
2707
|
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
|
2710
2708
|
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
|
@@ -3723,10 +3721,10 @@ lodash.without@~4.4.0:
|
|
3723
3721
|
resolved "https://registry.yarnpkg.com/lodash.without/-/lodash.without-4.4.0.tgz#3cd4574a00b67bae373a94b748772640507b7aac"
|
3724
3722
|
integrity sha1-PNRXSgC2e643OpS3SHcmQFB7eqw=
|
3725
3723
|
|
3726
|
-
lodash@^4.17.11, lodash@^4.17.5:
|
3727
|
-
version "4.17.
|
3728
|
-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.
|
3729
|
-
integrity sha512-
|
3724
|
+
lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.14, lodash@^4.17.5:
|
3725
|
+
version "4.17.15"
|
3726
|
+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
|
3727
|
+
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
|
3730
3728
|
|
3731
3729
|
loose-envify@^1.0.0:
|
3732
3730
|
version "1.4.0"
|
@@ -4749,11 +4747,6 @@ pascalcase@^0.1.1:
|
|
4749
4747
|
resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
|
4750
4748
|
integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=
|
4751
4749
|
|
4752
|
-
path-dirname@^1.0.0:
|
4753
|
-
version "1.0.2"
|
4754
|
-
resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0"
|
4755
|
-
integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=
|
4756
|
-
|
4757
4750
|
path-exists@^3.0.0:
|
4758
4751
|
version "3.0.0"
|
4759
4752
|
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
|
@@ -5455,7 +5448,7 @@ semver-diff@^2.0.0:
|
|
5455
5448
|
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b"
|
5456
5449
|
integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==
|
5457
5450
|
|
5458
|
-
semver@^6.2.0:
|
5451
|
+
semver@^6.1.2, semver@^6.2.0:
|
5459
5452
|
version "6.2.0"
|
5460
5453
|
resolved "https://registry.yarnpkg.com/semver/-/semver-6.2.0.tgz#4d813d9590aaf8a9192693d6c85b9344de5901db"
|
5461
5454
|
integrity sha512-jdFC1VdUGT/2Scgbimf7FSx9iJLXoqfglSF+gJeuNWVpiE37OIbc1jywR/GJyFdz3mnkz2/id0L0J/cr0izR5A==
|
@@ -5846,12 +5839,12 @@ strip-ansi@^4.0.0:
|
|
5846
5839
|
dependencies:
|
5847
5840
|
ansi-regex "^3.0.0"
|
5848
5841
|
|
5849
|
-
strip-ansi@^5.0.0:
|
5850
|
-
version "5.
|
5851
|
-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.
|
5852
|
-
integrity sha512-
|
5842
|
+
strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
|
5843
|
+
version "5.2.0"
|
5844
|
+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"
|
5845
|
+
integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==
|
5853
5846
|
dependencies:
|
5854
|
-
ansi-regex "^4.
|
5847
|
+
ansi-regex "^4.1.0"
|
5855
5848
|
|
5856
5849
|
strip-bom@^3.0.0:
|
5857
5850
|
version "3.0.0"
|
@@ -5863,7 +5856,12 @@ strip-eof@^1.0.0:
|
|
5863
5856
|
resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"
|
5864
5857
|
integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=
|
5865
5858
|
|
5866
|
-
strip-json-comments@^
|
5859
|
+
strip-json-comments@^3.0.1:
|
5860
|
+
version "3.0.1"
|
5861
|
+
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.0.1.tgz#85713975a91fb87bf1b305cca77395e40d2a64a7"
|
5862
|
+
integrity sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==
|
5863
|
+
|
5864
|
+
strip-json-comments@~2.0.1:
|
5867
5865
|
version "2.0.1"
|
5868
5866
|
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
|
5869
5867
|
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
|
@@ -6243,10 +6241,10 @@ uuid@^3.0.1, uuid@^3.3.2:
|
|
6243
6241
|
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131"
|
6244
6242
|
integrity sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==
|
6245
6243
|
|
6246
|
-
v8-compile-cache@^2.0.0:
|
6247
|
-
version "2.0.
|
6248
|
-
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.
|
6249
|
-
integrity sha512-
|
6244
|
+
v8-compile-cache@^2.0.0, v8-compile-cache@^2.0.3:
|
6245
|
+
version "2.0.3"
|
6246
|
+
resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.0.3.tgz#00f7494d2ae2b688cfe2899df6ed2c54bef91dbe"
|
6247
|
+
integrity sha512-CNmdbwQMBjwr9Gsmohvm0pbL954tJrNzf6gWL3K+QMQf00PF7ERGrEiLgjuU3mKreLC2MeGhUsNV9ybTbLgd3w==
|
6250
6248
|
|
6251
6249
|
validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4:
|
6252
6250
|
version "3.0.4"
|
@@ -295,6 +295,7 @@ module Dependabot
|
|
295
295
|
write_lockfiles
|
296
296
|
|
297
297
|
File.write(".npmrc", npmrc_content)
|
298
|
+
File.write(".yarnrc", yarnrc_content) if yarnrc_specifies_npm_reg?
|
298
299
|
|
299
300
|
package_files.each do |file|
|
300
301
|
path = file.name
|
@@ -428,10 +429,8 @@ module Dependabot
|
|
428
429
|
reg = NpmAndYarn::UpdateChecker::RegistryFinder.new(
|
429
430
|
dependency: missing_dep,
|
430
431
|
credentials: credentials,
|
431
|
-
npmrc_file:
|
432
|
-
|
433
|
-
yarnrc_file: dependency_files.
|
434
|
-
find { |f| f.name.end_with?(".yarnrc") }
|
432
|
+
npmrc_file: npmrc_file,
|
433
|
+
yarnrc_file: yarnrc_file
|
435
434
|
).registry
|
436
435
|
|
437
436
|
# Sanitize Gemfury URLs
|
@@ -442,9 +441,7 @@ module Dependabot
|
|
442
441
|
end
|
443
442
|
|
444
443
|
def central_registry?(registry)
|
445
|
-
|
446
|
-
r.include?(registry)
|
447
|
-
end
|
444
|
+
FileParser::CENTRAL_REGISTRIES.any? { |r| r.include?(registry) }
|
448
445
|
end
|
449
446
|
|
450
447
|
def raise_resolvability_error(error_message, yarn_lock)
|
@@ -490,6 +487,26 @@ module Dependabot
|
|
490
487
|
npmrc_content.match?(/^package-lock\s*=\s*false/)
|
491
488
|
end
|
492
489
|
|
490
|
+
def yarnrc_specifies_npm_reg?
|
491
|
+
return false unless yarnrc_file
|
492
|
+
|
493
|
+
regex = UpdateChecker::RegistryFinder::YARN_GLOBAL_REGISTRY_REGEX
|
494
|
+
yarnrc_global_registry =
|
495
|
+
yarnrc_file.content.
|
496
|
+
lines.find { |line| line.match?(regex) }&.
|
497
|
+
match(regex)&.
|
498
|
+
named_captures&.
|
499
|
+
fetch("registry")
|
500
|
+
|
501
|
+
return false unless yarnrc_global_registry
|
502
|
+
|
503
|
+
yarnrc_global_registry.include?("registry.npmjs.org")
|
504
|
+
end
|
505
|
+
|
506
|
+
def yarnrc_content
|
507
|
+
'registry "https://registry.npmjs.org"'
|
508
|
+
end
|
509
|
+
|
493
510
|
def sanitized_package_json_content(content)
|
494
511
|
updated_content =
|
495
512
|
content.
|
@@ -515,6 +532,14 @@ module Dependabot
|
|
515
532
|
def package_files
|
516
533
|
dependency_files.select { |f| f.name.end_with?("package.json") }
|
517
534
|
end
|
535
|
+
|
536
|
+
def yarnrc_file
|
537
|
+
dependency_files.find { |f| f.name == ".yarnrc" }
|
538
|
+
end
|
539
|
+
|
540
|
+
def npmrc_file
|
541
|
+
dependency_files.find { |f| f.name == ".npmrc" }
|
542
|
+
end
|
518
543
|
end
|
519
544
|
end
|
520
545
|
end
|
@@ -13,7 +13,7 @@ module Dependabot
|
|
13
13
|
NPM_GLOBAL_REGISTRY_REGEX =
|
14
14
|
/^registry\s*=\s*['"]?(?<registry>.*?)['"]?$/.freeze
|
15
15
|
YARN_GLOBAL_REGISTRY_REGEX =
|
16
|
-
/^registry\s+['"](?<registry>.*)['"]/.freeze
|
16
|
+
/^(?:--)?registry\s+['"](?<registry>.*)['"]/.freeze
|
17
17
|
|
18
18
|
def initialize(dependency:, credentials:, npmrc_file: nil,
|
19
19
|
yarnrc_file: nil)
|
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.111.
|
4
|
+
version: 0.111.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dependabot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-22 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.111.
|
19
|
+
version: 0.111.23
|
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.111.
|
26
|
+
version: 0.111.23
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: byebug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|