Skip to content

Commit ccf90c0

Browse files
authored
chore: bump yargs (#8694)
1 parent b76d46a commit ccf90c0

File tree

7 files changed

+72
-15
lines changed

7 files changed

+72
-15
lines changed

packages/jest-cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
"jest-validate": "^24.8.0",
1818
"prompts": "^2.0.1",
1919
"realpath-native": "^1.1.0",
20-
"yargs": "^12.0.5"
20+
"yargs": "^13.2.4"
2121
},
2222
"devDependencies": {
2323
"@types/exit": "^0.1.30",
2424
"@types/is-ci": "^2.0.0",
2525
"@types/prompts": "^2.0.1",
26-
"@types/yargs": "^12.0.12"
26+
"@types/yargs": "^13.0.0"
2727
},
2828
"bin": {
2929
"jest": "./bin/jest.js"

packages/jest-cli/src/cli/args.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export const options = {
7474
'The opposite of `onlyChanged`. If `onlyChanged` is set by ' +
7575
'default, running jest with `--all` will force Jest to run all tests ' +
7676
'instead of running only tests related to changed files.',
77+
type: 'boolean' as 'boolean',
7778
},
7879
automock: {
7980
default: undefined,
@@ -85,6 +86,7 @@ export const options = {
8586
default: undefined,
8687
description:
8788
'Exit the test suite immediately after `n` number of failing tests.',
89+
type: 'boolean' as 'boolean',
8890
},
8991
browser: {
9092
default: undefined,

packages/jest-repl/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
"jest-runtime": "^24.8.0",
1717
"jest-validate": "^24.8.0",
1818
"repl": "^0.1.3",
19-
"yargs": "^12.0.5"
19+
"yargs": "^13.2.4"
2020
},
2121
"devDependencies": {
22-
"@types/yargs": "^12.0.12"
22+
"@types/yargs": "^13.0.0"
2323
},
2424
"bin": {
2525
"jest-repl": "./bin/jest-repl.js"

packages/jest-runtime/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@jest/source-map": "^24.3.0",
1616
"@jest/transform": "^24.8.0",
1717
"@jest/types": "^24.8.0",
18-
"@types/yargs": "^12.0.12",
18+
"@types/yargs": "^13.0.0",
1919
"chalk": "^2.0.1",
2020
"exit": "^0.1.2",
2121
"glob": "^7.1.3",
@@ -32,7 +32,7 @@
3232
"realpath-native": "^1.1.0",
3333
"slash": "^2.0.0",
3434
"strip-bom": "^3.0.0",
35-
"yargs": "^12.0.5"
35+
"yargs": "^13.2.4"
3636
},
3737
"devDependencies": {
3838
"@types/exit": "^0.1.30",

packages/jest-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dependencies": {
1616
"@types/istanbul-lib-coverage": "^2.0.0",
1717
"@types/istanbul-reports": "^1.1.1",
18-
"@types/yargs": "^12.0.12"
18+
"@types/yargs": "^13.0.0"
1919
},
2020
"publishConfig": {
2121
"access": "public"

packages/jest-watcher/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dependencies": {
77
"@jest/test-result": "^24.8.0",
88
"@jest/types": "^24.8.0",
9-
"@types/yargs": "^12.0.12",
9+
"@types/yargs": "^13.0.0",
1010
"ansi-escapes": "^3.0.0",
1111
"chalk": "^2.0.1",
1212
"jest-util": "^24.8.0",

yarn.lock

Lines changed: 62 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1972,10 +1972,17 @@
19721972
dependencies:
19731973
"@types/node" "*"
19741974

1975-
"@types/yargs@^12.0.12":
1976-
version "12.0.12"
1977-
resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-12.0.12.tgz#45dd1d0638e8c8f153e87d296907659296873916"
1978-
integrity sha512-SOhuU4wNBxhhTHxYaiG5NY4HBhDIDnJF60GU+2LqHAdKKer86//e4yg69aENCtQ04n0ovz+tq2YPME5t5yp4pw==
1975+
"@types/yargs-parser@*":
1976+
version "13.0.0"
1977+
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-13.0.0.tgz#453743c5bbf9f1bed61d959baab5b06be029b2d0"
1978+
integrity sha512-wBlsw+8n21e6eTd4yVv8YD/E3xq0O6nNnJIquutAsFGE7EyMKz7W6RNT6BRu1SmdgmlCZ9tb0X+j+D6HGr8pZw==
1979+
1980+
"@types/yargs@^13.0.0":
1981+
version "13.0.0"
1982+
resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-13.0.0.tgz#d2acb3bec0047d8f648ebacdab6b928a900c42c4"
1983+
integrity sha512-hY0o+kcz9M6kH32NUeb6VURghqMuCVkiUx+8Btsqhj4Hhov/hVGUx9DmBJeIkzlp1uAQK4wngQBCjqWdUUkFyA==
1984+
dependencies:
1985+
"@types/yargs-parser" "*"
19791986

19801987
"@typescript-eslint/eslint-plugin@^1.10.2":
19811988
version "1.12.0"
@@ -3614,6 +3621,15 @@ cliui@^4.0.0:
36143621
strip-ansi "^4.0.0"
36153622
wrap-ansi "^2.0.0"
36163623

3624+
cliui@^5.0.0:
3625+
version "5.0.0"
3626+
resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5"
3627+
integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==
3628+
dependencies:
3629+
string-width "^3.1.0"
3630+
strip-ansi "^5.2.0"
3631+
wrap-ansi "^5.1.0"
3632+
36173633
36183634
version "1.0.2"
36193635
resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b"
@@ -6195,6 +6211,11 @@ get-caller-file@^1.0.1:
61956211
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a"
61966212
integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==
61976213

6214+
get-caller-file@^2.0.1:
6215+
version "2.0.5"
6216+
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
6217+
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
6218+
61986219
get-pkg-repo@^1.0.0:
61996220
version "1.4.0"
62006221
resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d"
@@ -9668,7 +9689,7 @@ os-locale@^2.0.0:
96689689
lcid "^1.0.0"
96699690
mem "^1.1.0"
96709691

9671-
os-locale@^3.0.0:
9692+
os-locale@^3.0.0, os-locale@^3.1.0:
96729693
version "3.1.0"
96739694
resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a"
96749695
integrity sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==
@@ -12234,7 +12255,7 @@ string-width@^1.0.1:
1223412255
is-fullwidth-code-point "^2.0.0"
1223512256
strip-ansi "^4.0.0"
1223612257

12237-
string-width@^3.0.0:
12258+
string-width@^3.0.0, string-width@^3.1.0:
1223812259
version "3.1.0"
1223912260
resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961"
1224012261
integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==
@@ -12285,7 +12306,7 @@ strip-ansi@^4.0.0:
1228512306
dependencies:
1228612307
ansi-regex "^3.0.0"
1228712308

12288-
strip-ansi@^5.0.0, strip-ansi@^5.1.0:
12309+
strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
1228912310
version "5.2.0"
1229012311
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"
1229112312
integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==
@@ -13431,6 +13452,15 @@ wrap-ansi@^2.0.0:
1343113452
string-width "^1.0.1"
1343213453
strip-ansi "^3.0.1"
1343313454

13455+
wrap-ansi@^5.1.0:
13456+
version "5.1.0"
13457+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09"
13458+
integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==
13459+
dependencies:
13460+
ansi-styles "^3.2.0"
13461+
string-width "^3.0.0"
13462+
strip-ansi "^5.0.0"
13463+
1343413464
wrappy@1:
1343513465
version "1.0.2"
1343613466
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
@@ -13601,6 +13631,14 @@ [email protected], yargs-parser@^11.1.1:
1360113631
camelcase "^5.0.0"
1360213632
decamelize "^1.2.0"
1360313633

13634+
yargs-parser@^13.1.0:
13635+
version "13.1.1"
13636+
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0"
13637+
integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==
13638+
dependencies:
13639+
camelcase "^5.0.0"
13640+
decamelize "^1.2.0"
13641+
1360413642
yargs-parser@^7.0.0:
1360513643
version "7.0.0"
1360613644
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9"
@@ -13635,6 +13673,23 @@ [email protected], yargs@^12.0.1, yargs@^12.0.5:
1363513673
y18n "^3.2.1 || ^4.0.0"
1363613674
yargs-parser "^11.1.1"
1363713675

13676+
yargs@^13.2.4:
13677+
version "13.2.4"
13678+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.2.4.tgz#0b562b794016eb9651b98bd37acf364aa5d6dc83"
13679+
integrity sha512-HG/DWAJa1PAnHT9JAhNa8AbAv3FPaiLzioSjCcmuXXhP8MlpHO5vwls4g4j6n30Z74GVQj8Xa62dWVx1QCGklg==
13680+
dependencies:
13681+
cliui "^5.0.0"
13682+
find-up "^3.0.0"
13683+
get-caller-file "^2.0.1"
13684+
os-locale "^3.1.0"
13685+
require-directory "^2.1.1"
13686+
require-main-filename "^2.0.0"
13687+
set-blocking "^2.0.0"
13688+
string-width "^3.0.0"
13689+
which-module "^2.0.0"
13690+
y18n "^4.0.0"
13691+
yargs-parser "^13.1.0"
13692+
1363813693
yargs@^2.3.0:
1363913694
version "2.3.0"
1364013695
resolved "https://registry.yarnpkg.com/yargs/-/yargs-2.3.0.tgz#e900c87250ec5cd080db6009fe3dd63156f1d7fb"

0 commit comments

Comments
 (0)