From bbbf4bb4b366c4df0cebb429c944d610b67d6d0f Mon Sep 17 00:00:00 2001 From: Christian Gonzalez <1581488+christiango@users.noreply.github.com> Date: Mon, 2 Nov 2020 11:40:09 -0500 Subject: [PATCH] Bump yargs (#483) * Bump to latest yargs/yargs parser * Change files Co-authored-by: Kenneth Chau <34725+kenotron@users.noreply.github.com> --- ...0-10-22-08-05-57-chrisgo-yargs-update.json | 8 +++ ...0-10-22-08-05-57-chrisgo-yargs-update.json | 8 +++ ...0-10-22-08-05-57-chrisgo-yargs-update.json | 8 +++ packages/just-scripts-utils/package.json | 4 +- packages/just-task-logger/package.json | 4 +- packages/just-task/package.json | 2 +- yarn.lock | 65 +++++++++++++++++-- 7 files changed, 88 insertions(+), 11 deletions(-) create mode 100644 change/just-scripts-utils-2020-10-22-08-05-57-chrisgo-yargs-update.json create mode 100644 change/just-task-2020-10-22-08-05-57-chrisgo-yargs-update.json create mode 100644 change/just-task-logger-2020-10-22-08-05-57-chrisgo-yargs-update.json diff --git a/change/just-scripts-utils-2020-10-22-08-05-57-chrisgo-yargs-update.json b/change/just-scripts-utils-2020-10-22-08-05-57-chrisgo-yargs-update.json new file mode 100644 index 00000000..2800c29f --- /dev/null +++ b/change/just-scripts-utils-2020-10-22-08-05-57-chrisgo-yargs-update.json @@ -0,0 +1,8 @@ +{ + "type": "patch", + "comment": "Bump yargs dependency", + "packageName": "just-scripts-utils", + "email": "1581488+christiango@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2020-10-22T15:05:48.878Z" +} diff --git a/change/just-task-2020-10-22-08-05-57-chrisgo-yargs-update.json b/change/just-task-2020-10-22-08-05-57-chrisgo-yargs-update.json new file mode 100644 index 00000000..2f0da852 --- /dev/null +++ b/change/just-task-2020-10-22-08-05-57-chrisgo-yargs-update.json @@ -0,0 +1,8 @@ +{ + "type": "patch", + "comment": "Bump yargs dependency", + "packageName": "just-task", + "email": "1581488+christiango@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2020-10-22T15:05:56.981Z" +} diff --git a/change/just-task-logger-2020-10-22-08-05-57-chrisgo-yargs-update.json b/change/just-task-logger-2020-10-22-08-05-57-chrisgo-yargs-update.json new file mode 100644 index 00000000..f8e89ae2 --- /dev/null +++ b/change/just-task-logger-2020-10-22-08-05-57-chrisgo-yargs-update.json @@ -0,0 +1,8 @@ +{ + "type": "patch", + "comment": "Bump yargs dependency", + "packageName": "just-task-logger", + "email": "1581488+christiango@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2020-10-22T15:05:53.171Z" +} diff --git a/packages/just-scripts-utils/package.json b/packages/just-scripts-utils/package.json index 835951ee..9efb7c44 100644 --- a/packages/just-scripts-utils/package.json +++ b/packages/just-scripts-utils/package.json @@ -26,7 +26,7 @@ "marked-terminal": "^3.3.0", "semver": "^5.6.0", "tar": "^4.4.8", - "yargs": "^12.0.5" + "yargs": "^16.1.0" }, "devDependencies": { "@types/fs-extra": "^5.0.4", @@ -41,7 +41,7 @@ "@types/semver": "^5.5.0", "@types/tar": "^4.0.0", "@types/tar-fs": "^1.16.1", - "@types/yargs": "12.0.1", + "@types/yargs": "15.0.9", "gunzip-maybe": "^1.4.2", "jest": "^24.0.0", "mock-fs": "^4.8.0", diff --git a/packages/just-task-logger/package.json b/packages/just-task-logger/package.json index 4e866af8..e30de6e6 100644 --- a/packages/just-task-logger/package.json +++ b/packages/just-task-logger/package.json @@ -18,12 +18,12 @@ "license": "MIT", "dependencies": { "chalk": "^2.4.1", - "yargs": "^12.0.5" + "yargs": "^16.1.0" }, "devDependencies": { "@types/jest": "^23.3.13", "@types/node": "^10.12.18", - "@types/yargs": "12.0.1", + "@types/yargs": "15.0.9", "jest": "^24.0.0", "mock-fs": "^4.8.0", "ts-jest": "^24.0.1", diff --git a/packages/just-task/package.json b/packages/just-task/package.json index df01b6f7..3a51c5d7 100644 --- a/packages/just-task/package.json +++ b/packages/just-task/package.json @@ -28,7 +28,7 @@ "resolve": "^1.8.1", "undertaker": "^1.2.1", "undertaker-registry": "^1.0.1", - "yargs-parser": "^18.1.2" + "yargs-parser": "^20.2.3" }, "devDependencies": { "@types/fs-extra": "^5.0.4", diff --git a/yarn.lock b/yarn.lock index 504dd431..5a589447 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1900,10 +1900,12 @@ resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d" integrity sha512-FA/BWv8t8ZWJ+gEOnLLd8ygxH/2UFbAvgEonyfN6yWGLKc7zVjbpl2Y4CTjid9h2RfgPP6SEt6uHwEOply00yw== -"@types/yargs@12.0.1": - version "12.0.1" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-12.0.1.tgz#c5ce4ad64499010ae4dc2acd9b14d49749a44233" - integrity sha512-UVjo2oH79aRNcsDlFlnQ/iJ67Jd7j6uSg7jUJP/RZ/nUjAh5ElmnwlD5K/6eGgETJUgCHkiWn91B8JjXQ6ubAw== +"@types/yargs@15.0.9": + version "15.0.9" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-15.0.9.tgz#524cd7998fe810cdb02f26101b699cccd156ff19" + integrity sha512-HmU8SeIRhZCWcnRskCs36Q1Q00KBV6Cqh/ora8WN1+22dY07AZdn6Gel8QZ3t26XYPImtcL8WV/eqjhVmMEw4g== + dependencies: + "@types/yargs-parser" "*" "@types/yargs@^12.0.2", "@types/yargs@^12.0.9": version "12.0.12" @@ -3773,6 +3775,15 @@ cliui@^6.0.0: strip-ansi "^6.0.0" wrap-ansi "^6.2.0" +cliui@^7.0.2: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.3.tgz#ef180f26c8d9bff3927ee52428bfec2090427981" + integrity sha512-Gj3QHTkVMPKqwP3f7B4KPkBZRMR9r4rfi5bXFpg1a+Svvj8l7q5CnkBkVQzfxT5DFSsGk2+PascOgL0JYkL2kw== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^7.0.0" + clone-response@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" @@ -5297,6 +5308,11 @@ escalade@^3.1.0: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.0.tgz#e8e2d7c7a8b76f6ee64c2181d6b8151441602d4e" integrity sha512-mAk+hPSO8fLDkhV7V0dXazH5pDc6MrjBTPyD3VeKzxnVFjH1MIxbCdqGZB9O8+EwWakZs3ZCbDS4IpRt79V1ig== +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + escape-goat@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675" @@ -6117,7 +6133,7 @@ get-caller-file@^1.0.1: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" integrity sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w== -get-caller-file@^2.0.1: +get-caller-file@^2.0.1, get-caller-file@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== @@ -10455,6 +10471,11 @@ prettier@^1.18.2: resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== +prettier@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.2.tgz#3050700dae2e4c8b67c4c3f666cdb8af405e1ce5" + integrity sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg== + pretty-error@^2.0.2: version "2.1.1" resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-2.1.1.tgz#5f4f87c8f91e5ae3f3ba87ab4cf5e03b1a17f1a3" @@ -13239,6 +13260,15 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + 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" @@ -13331,6 +13361,11 @@ xtend@~4.0.1: resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== +y18n@^5.0.2: + version "5.0.4" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.4.tgz#0ab2db89dd5873b5ec4682d8e703e833373ea897" + integrity sha512-deLOfD+RvFgrpAmSZgfGdWYE+OKyHcVHaRQ7NphG/63scpRvTHHeQMAxGGvaLVGJ+HYVcCXlzcTK0ZehFf+eHQ== + yallist@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" @@ -13400,7 +13435,12 @@ yargs-parser@^18.1.3: camelcase "^5.0.0" decamelize "^1.2.0" -yargs@^12.0.2, yargs@^12.0.5: +yargs-parser@^20.2.2, yargs-parser@^20.2.3: + version "20.2.3" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.3.tgz#92419ba867b858c868acf8bae9bf74af0dd0ce26" + integrity sha512-emOFRT9WVHw03QSvN5qor9QQT9+sw5vwxfYweivSMHTcAXPefwVae2FjO7JJjj8hCE4CzPOPeFM83VwT29HCww== + +yargs@^12.0.2: version "12.0.5" resolved "https://registry.yarnpkg.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13" integrity sha512-Lhz8TLaYnxq/2ObqHDql8dX8CJi97oHxrjUcYtzKbbykPtVW9WB+poxI+NM2UIzsMgNCZTIf0AQwsjK5yMAqZw== @@ -13451,6 +13491,19 @@ yargs@^15.0.2: y18n "^4.0.0" yargs-parser "^18.1.2" +yargs@^16.1.0: + version "16.1.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.1.0.tgz#fc333fe4791660eace5a894b39d42f851cd48f2a" + integrity sha512-upWFJOmDdHN0syLuESuvXDmrRcWd1QafJolHskzaw79uZa7/x53gxQKiR07W59GWY1tFhhU/Th9DrtSfpS782g== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.0" + y18n "^5.0.2" + yargs-parser "^20.2.2" + yn@3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"