Skip to content

Commit c2de4fc

Browse files
authored
✨ Automatically adds *.js extensions on es module code (dubzzz#520) (dubzzz#539)
Related to dubzzz#478
1 parent 5793d79 commit c2de4fc

File tree

3 files changed

+186
-2
lines changed

3 files changed

+186
-2
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"build:watch": "tsc -w",
2222
"build:publish-types": "tsc -p tsconfig.publish.types.json && node ./buildTypes.js",
2323
"build:publish-cjs": "tsc -p tsconfig.publish.json",
24-
"build:publish-esm": "tsc -p tsconfig.publish.json --module es2015 --moduleResolution node --outDir lib/esm",
24+
"build:publish-esm": "tsc -p tsconfig.publish.json --module es2015 --moduleResolution node --outDir lib/esm && node postbuild/main.js",
2525
"webbuild": "browserify lib/fast-check.js --s fastcheck | uglifyjs -cm > lib/bundle.js",
2626
"watch": "tsc -w",
2727
"test": "jest --config jest.unit.config.js --coverage",
@@ -70,6 +70,7 @@
7070
"jest": "^24.9.0",
7171
"markdownbars": "^1.0.9",
7272
"prettier": "1.17.0",
73+
"replace-in-file": "^5.0.2",
7374
"rollup": "^1.25.2",
7475
"rollup-plugin-commonjs": "^10.1.0",
7576
"rollup-plugin-node-resolve": "^5.2.0",

postbuild/main.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// eslint-disable-next-line
2+
const replace = require('replace-in-file');
3+
4+
const options = {
5+
files: 'lib/**/*.js',
6+
from: [/from '\.(.*)(?<!\.js)'/g, /from "\.(.*)(?<!\.js)"/g],
7+
to: ["from '.$1.js'", 'from ".$1.js"']
8+
};
9+
10+
const results = replace.sync(options);
11+
for (const { file, hasChanged } of results) {
12+
if (hasChanged) {
13+
// eslint-disable-next-line
14+
console.info(`Extensions added to: ${file}`);
15+
}
16+
}

yarn.lock

+168-1
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,11 @@
413413
dependencies:
414414
"@babel/types" "^7.3.0"
415415

416+
"@types/color-name@^1.1.1":
417+
version "1.1.1"
418+
resolved "https://registry.yarnpkg.com/@types/color-name/-/color-name-1.1.1.tgz#1c1261bbeaa10a8055bbc5d8ab84b7b2afc846a0"
419+
integrity sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==
420+
416421
"@types/eslint-visitor-keys@^1.0.0":
417422
version "1.0.0"
418423
resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d"
@@ -666,13 +671,26 @@ ansi-regex@^4.0.0, ansi-regex@^4.1.0:
666671
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
667672
integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
668673

674+
ansi-regex@^5.0.0:
675+
version "5.0.0"
676+
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"
677+
integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==
678+
669679
ansi-styles@^3.2.0, ansi-styles@^3.2.1:
670680
version "3.2.1"
671681
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
672682
integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
673683
dependencies:
674684
color-convert "^1.9.0"
675685

686+
ansi-styles@^4.0.0, ansi-styles@^4.1.0:
687+
version "4.2.0"
688+
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.0.tgz#5681f0dcf7ae5880a7841d8831c4724ed9cc0172"
689+
integrity sha512-7kFQgnEaMdRtwf6uSfUnVr9gSGC7faurn+J/Mv90/W+iTtN0405/nLdopfMWwchyxhbGYl6TC4Sccn9TUkGAgg==
690+
dependencies:
691+
"@types/color-name" "^1.1.1"
692+
color-convert "^2.0.1"
693+
676694
anymatch@^2.0.0:
677695
version "2.0.0"
678696
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb"
@@ -1194,6 +1212,14 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.4.2:
11941212
escape-string-regexp "^1.0.5"
11951213
supports-color "^5.3.0"
11961214

1215+
chalk@^3.0.0:
1216+
version "3.0.0"
1217+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-3.0.0.tgz#3f73c2bf526591f574cc492c51e2456349f844e4"
1218+
integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==
1219+
dependencies:
1220+
ansi-styles "^4.1.0"
1221+
supports-color "^7.1.0"
1222+
11971223
chardet@^0.7.0:
11981224
version "0.7.0"
11991225
resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
@@ -1258,6 +1284,15 @@ cliui@^5.0.0:
12581284
strip-ansi "^5.2.0"
12591285
wrap-ansi "^5.1.0"
12601286

1287+
cliui@^6.0.0:
1288+
version "6.0.0"
1289+
resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1"
1290+
integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==
1291+
dependencies:
1292+
string-width "^4.2.0"
1293+
strip-ansi "^6.0.0"
1294+
wrap-ansi "^6.2.0"
1295+
12611296
co@^4.6.0:
12621297
version "4.6.0"
12631298
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
@@ -1283,11 +1318,23 @@ color-convert@^1.9.0:
12831318
dependencies:
12841319
color-name "1.1.3"
12851320

1321+
color-convert@^2.0.1:
1322+
version "2.0.1"
1323+
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
1324+
integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
1325+
dependencies:
1326+
color-name "~1.1.4"
1327+
12861328
12871329
version "1.1.3"
12881330
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
12891331
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
12901332

1333+
color-name@~1.1.4:
1334+
version "1.1.4"
1335+
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
1336+
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
1337+
12911338
colors@^1.3.3:
12921339
version "1.4.0"
12931340
resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
@@ -1773,6 +1820,11 @@ emoji-regex@^7.0.1:
17731820
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156"
17741821
integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==
17751822

1823+
emoji-regex@^8.0.0:
1824+
version "8.0.0"
1825+
resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37"
1826+
integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
1827+
17761828
end-of-stream@^1.1.0:
17771829
version "1.4.4"
17781830
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
@@ -2172,6 +2224,14 @@ find-up@^3.0.0:
21722224
dependencies:
21732225
locate-path "^3.0.0"
21742226

2227+
find-up@^4.1.0:
2228+
version "4.1.0"
2229+
resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
2230+
integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==
2231+
dependencies:
2232+
locate-path "^5.0.0"
2233+
path-exists "^4.0.0"
2234+
21752235
flat-cache@^2.0.1:
21762236
version "2.0.1"
21772237
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0"
@@ -2343,6 +2403,18 @@ glob@^7.1.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
23432403
once "^1.3.0"
23442404
path-is-absolute "^1.0.0"
23452405

2406+
glob@^7.1.6:
2407+
version "7.1.6"
2408+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
2409+
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
2410+
dependencies:
2411+
fs.realpath "^1.0.0"
2412+
inflight "^1.0.4"
2413+
inherits "2"
2414+
minimatch "^3.0.4"
2415+
once "^1.3.0"
2416+
path-is-absolute "^1.0.0"
2417+
23462418
global-dirs@^0.1.0:
23472419
version "0.1.1"
23482420
resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445"
@@ -2440,6 +2512,11 @@ has-flag@^3.0.0:
24402512
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
24412513
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
24422514

2515+
has-flag@^4.0.0:
2516+
version "4.0.0"
2517+
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
2518+
integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
2519+
24432520
has-symbols@^1.0.0:
24442521
version "1.0.0"
24452522
resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"
@@ -2790,6 +2867,11 @@ is-fullwidth-code-point@^2.0.0:
27902867
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
27912868
integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=
27922869

2870+
is-fullwidth-code-point@^3.0.0:
2871+
version "3.0.0"
2872+
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d"
2873+
integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==
2874+
27932875
is-generator-fn@^2.0.0:
27942876
version "2.1.0"
27952877
resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118"
@@ -3564,6 +3646,13 @@ locate-path@^3.0.0:
35643646
p-locate "^3.0.0"
35653647
path-exists "^3.0.0"
35663648

3649+
locate-path@^5.0.0:
3650+
version "5.0.0"
3651+
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
3652+
integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==
3653+
dependencies:
3654+
p-locate "^4.1.0"
3655+
35673656
lodash.get@^4.0.0:
35683657
version "4.4.2"
35693658
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
@@ -4188,7 +4277,7 @@ p-limit@^1.1.0:
41884277
dependencies:
41894278
p-try "^1.0.0"
41904279

4191-
p-limit@^2.0.0:
4280+
p-limit@^2.0.0, p-limit@^2.2.0:
41924281
version "2.2.1"
41934282
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537"
41944283
integrity sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==
@@ -4209,6 +4298,13 @@ p-locate@^3.0.0:
42094298
dependencies:
42104299
p-limit "^2.0.0"
42114300

4301+
p-locate@^4.1.0:
4302+
version "4.1.0"
4303+
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
4304+
integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==
4305+
dependencies:
4306+
p-limit "^2.2.0"
4307+
42124308
p-reduce@^1.0.0:
42134309
version "1.0.0"
42144310
resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa"
@@ -4298,6 +4394,11 @@ path-exists@^3.0.0:
42984394
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
42994395
integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=
43004396

4397+
path-exists@^4.0.0:
4398+
version "4.0.0"
4399+
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
4400+
integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==
4401+
43014402
path-is-absolute@^1.0.0, path-is-absolute@^1.0.1:
43024403
version "1.0.1"
43034404
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
@@ -4657,6 +4758,15 @@ repeat-string@^1.6.1:
46574758
resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
46584759
integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc=
46594760

4761+
replace-in-file@^5.0.2:
4762+
version "5.0.2"
4763+
resolved "https://registry.yarnpkg.com/replace-in-file/-/replace-in-file-5.0.2.tgz#bd26203b66dfb5b8112ae36a2d2cf928ea4cfe12"
4764+
integrity sha512-1Vc7Sbr/rTuHgU1PZuBb7tGsFx3D4NKdhV4BpEF2MuN/6+SoXcFtx+dZ1Zz+5Dq4k5x9js87Y+gXQYPTQ9ppkA==
4765+
dependencies:
4766+
chalk "^3.0.0"
4767+
glob "^7.1.6"
4768+
yargs "^15.0.2"
4769+
46604770
46614771
version "1.1.2"
46624772
resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.2.tgz#339f6aababcafdb31c799ff158700336301d3346"
@@ -5211,6 +5321,15 @@ string-width@^3.0.0, string-width@^3.1.0:
52115321
is-fullwidth-code-point "^2.0.0"
52125322
strip-ansi "^5.1.0"
52135323

5324+
string-width@^4.1.0, string-width@^4.2.0:
5325+
version "4.2.0"
5326+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5"
5327+
integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==
5328+
dependencies:
5329+
emoji-regex "^8.0.0"
5330+
is-fullwidth-code-point "^3.0.0"
5331+
strip-ansi "^6.0.0"
5332+
52145333
string.prototype.trimleft@^2.1.0:
52155334
version "2.1.0"
52165335
resolved "https://registry.yarnpkg.com/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz#6cc47f0d7eb8d62b0f3701611715a3954591d634"
@@ -5262,6 +5381,13 @@ strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
52625381
dependencies:
52635382
ansi-regex "^4.1.0"
52645383

5384+
strip-ansi@^6.0.0:
5385+
version "6.0.0"
5386+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532"
5387+
integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==
5388+
dependencies:
5389+
ansi-regex "^5.0.0"
5390+
52655391
strip-bom-string@^1.0.0:
52665392
version "1.0.0"
52675393
resolved "https://registry.yarnpkg.com/strip-bom-string/-/strip-bom-string-1.0.0.tgz#e5211e9224369fbb81d633a2f00044dc8cedad92"
@@ -5318,6 +5444,13 @@ supports-color@^6.1.0:
53185444
dependencies:
53195445
has-flag "^3.0.0"
53205446

5447+
supports-color@^7.1.0:
5448+
version "7.1.0"
5449+
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.1.0.tgz#68e32591df73e25ad1c4b49108a2ec507962bfd1"
5450+
integrity sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==
5451+
dependencies:
5452+
has-flag "^4.0.0"
5453+
53215454
symbol-tree@^3.2.2:
53225455
version "3.2.4"
53235456
resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
@@ -5848,6 +5981,15 @@ wrap-ansi@^5.1.0:
58485981
string-width "^3.0.0"
58495982
strip-ansi "^5.0.0"
58505983

5984+
wrap-ansi@^6.2.0:
5985+
version "6.2.0"
5986+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53"
5987+
integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==
5988+
dependencies:
5989+
ansi-styles "^4.0.0"
5990+
string-width "^4.1.0"
5991+
strip-ansi "^6.0.0"
5992+
58515993
wrappy@1:
58525994
version "1.0.2"
58535995
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
@@ -5930,6 +6072,14 @@ yargs-parser@^13.1.1:
59306072
camelcase "^5.0.0"
59316073
decamelize "^1.2.0"
59326074

6075+
yargs-parser@^16.1.0:
6076+
version "16.1.0"
6077+
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-16.1.0.tgz#73747d53ae187e7b8dbe333f95714c76ea00ecf1"
6078+
integrity sha512-H/V41UNZQPkUMIT5h5hiwg4QKIY1RPvoBV4XcjUbRM8Bk2oKqqyZ0DIEbTFZB0XjbtSPG8SAa/0DxCQmiRgzKg==
6079+
dependencies:
6080+
camelcase "^5.0.0"
6081+
decamelize "^1.2.0"
6082+
59336083
yargs@^13.2.2, yargs@^13.3.0:
59346084
version "13.3.0"
59356085
resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83"
@@ -5946,6 +6096,23 @@ yargs@^13.2.2, yargs@^13.3.0:
59466096
y18n "^4.0.0"
59476097
yargs-parser "^13.1.1"
59486098

6099+
yargs@^15.0.2:
6100+
version "15.0.2"
6101+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.0.2.tgz#4248bf218ef050385c4f7e14ebdf425653d13bd3"
6102+
integrity sha512-GH/X/hYt+x5hOat4LMnCqMd8r5Cv78heOMIJn1hr7QPPBqfeC6p89Y78+WB9yGDvfpCvgasfmWLzNzEioOUD9Q==
6103+
dependencies:
6104+
cliui "^6.0.0"
6105+
decamelize "^1.2.0"
6106+
find-up "^4.1.0"
6107+
get-caller-file "^2.0.1"
6108+
require-directory "^2.1.1"
6109+
require-main-filename "^2.0.0"
6110+
set-blocking "^2.0.0"
6111+
string-width "^4.2.0"
6112+
which-module "^2.0.0"
6113+
y18n "^4.0.0"
6114+
yargs-parser "^16.1.0"
6115+
59496116
yn@^3.0.0:
59506117
version "3.1.1"
59516118
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"

0 commit comments

Comments
 (0)