diff --git a/packages/jest-cli/package.json b/packages/jest-cli/package.json index b34b1e53dba9..b01f467f23e2 100644 --- a/packages/jest-cli/package.json +++ b/packages/jest-cli/package.json @@ -17,14 +17,14 @@ "jest-validate": "^25.1.0", "prompts": "^2.0.1", "realpath-native": "^2.0.0", - "yargs": "^13.3.0" + "yargs": "^15.2.0-beta.0" }, "devDependencies": { "@jest/test-utils": "^25.1.0", "@types/exit": "^0.1.30", "@types/is-ci": "^2.0.0", "@types/prompts": "^2.0.1", - "@types/yargs": "^13.0.0" + "@types/yargs": "^15.0.0" }, "bin": { "jest": "./bin/jest.js" diff --git a/packages/jest-repl/package.json b/packages/jest-repl/package.json index 0f7f31279a6f..528e008014df 100644 --- a/packages/jest-repl/package.json +++ b/packages/jest-repl/package.json @@ -16,11 +16,11 @@ "jest-runtime": "^25.1.0", "jest-validate": "^25.1.0", "repl": "^0.1.3", - "yargs": "^13.3.0" + "yargs": "^15.2.0-beta.0" }, "devDependencies": { "@jest/test-utils": "^25.1.0", - "@types/yargs": "^13.0.0" + "@types/yargs": "^15.0.0" }, "bin": "./bin/jest-repl.js", "engines": { diff --git a/packages/jest-runtime/package.json b/packages/jest-runtime/package.json index 130c114dd47f..6300572b36fc 100644 --- a/packages/jest-runtime/package.json +++ b/packages/jest-runtime/package.json @@ -16,7 +16,7 @@ "@jest/test-result": "^25.1.0", "@jest/transform": "^25.1.0", "@jest/types": "^25.1.0", - "@types/yargs": "^13.0.0", + "@types/yargs": "^15.0.0", "chalk": "^3.0.0", "collect-v8-coverage": "^1.0.0", "exit": "^0.1.2", @@ -34,7 +34,7 @@ "realpath-native": "^2.0.0", "slash": "^3.0.0", "strip-bom": "^4.0.0", - "yargs": "^13.3.0" + "yargs": "^15.2.0-beta.0" }, "devDependencies": { "@jest/test-utils": "^25.1.0", diff --git a/packages/jest-types/package.json b/packages/jest-types/package.json index 3c748b9f032c..d8bec1089459 100644 --- a/packages/jest-types/package.json +++ b/packages/jest-types/package.json @@ -15,7 +15,7 @@ "dependencies": { "@types/istanbul-lib-coverage": "^2.0.0", "@types/istanbul-reports": "^1.1.1", - "@types/yargs": "^13.0.0", + "@types/yargs": "^15.0.0", "chalk": "^3.0.0" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 7f7df5184dc1..744c479d68e2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2495,10 +2495,10 @@ dependencies: "@types/yargs-parser" "*" -"@types/yargs@^15.0.3": - version "15.0.3" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.3.tgz#41453a0bc7ab393e995d1f5451455638edbd2baf" - integrity sha512-XCMQRK6kfpNBixHLyHUsGmXrpEmFFxzMrcnSXFMziHd8CoNJo8l16FkHyQq4x+xbM7E2XL83/O78OD8u+iZTdQ== +"@types/yargs@^15.0.0", "@types/yargs@^15.0.3": + version "15.0.4" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.4.tgz#7e5d0f8ca25e9d5849f2ea443cf7c402decd8299" + integrity sha512-9T1auFmbPZoxHz0enUFlUuKRy3it01R+hlggyVUMtnCTQRunsQYifnSGb8hET4Xo8yiC0o0r1paW3ud5+rbURg== dependencies: "@types/yargs-parser" "*" @@ -4277,6 +4277,15 @@ cliui@^5.0.0: strip-ansi "^5.2.0" wrap-ansi "^5.1.0" +cliui@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1" + integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^6.2.0" + clone-deep@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" @@ -13453,7 +13462,7 @@ string-width@^3.0.0, string-width@^3.1.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^5.1.0" -string-width@^4.1.0: +string-width@^4.1.0, string-width@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.0.tgz#952182c46cc7b2c313d1596e623992bd163b72b5" integrity sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg== @@ -14808,6 +14817,15 @@ wrap-ansi@^5.1.0: string-width "^3.0.0" strip-ansi "^5.0.0" +wrap-ansi@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" + integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -15033,6 +15051,14 @@ yargs-parser@^15.0.0: camelcase "^5.0.0" decamelize "^1.2.0" +yargs-parser@^17.0.0: + version "17.0.0" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-17.0.0.tgz#cb2586e6fd445b17ced264dd4a38c60bdb35b7ec" + integrity sha512-Fl4RBJThsWeJl3cRZeGuolcuH78/foVUAYIUpKn8rkCnjn23ilZvJyEZJjnlzoG/+EJKPb1RggD4xS/Jie2nxg== + dependencies: + camelcase "^5.0.0" + decamelize "^1.2.0" + yargs-parser@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-7.0.0.tgz#8d0ac42f16ea55debd332caf4c4038b3e3f5dfd9" @@ -15100,6 +15126,23 @@ yargs@^14.2.2: y18n "^4.0.0" yargs-parser "^15.0.0" +yargs@^15.2.0-beta.0: + version "15.2.0-beta.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.2.0-beta.0.tgz#63f21017a40fcc0ec2cc2331c9023f60b545177e" + integrity sha512-SkN/RfnK5pO3cVFSpith7GneGg/Pwp4if/Ebe2yqXm7IAwg9FDXnHRh+k3JDLO1ppeX7SH08iucQjqRxpem+jg== + dependencies: + cliui "^6.0.0" + decamelize "^1.2.0" + find-up "^4.1.0" + get-caller-file "^2.0.1" + require-directory "^2.1.1" + require-main-filename "^2.0.0" + set-blocking "^2.0.0" + string-width "^4.2.0" + which-module "^2.0.0" + y18n "^4.0.0" + yargs-parser "^17.0.0" + yargs@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-2.3.0.tgz#e900c87250ec5cd080db6009fe3dd63156f1d7fb"