Skip to content

Commit 6a95377

Browse files
renovate[bot]renovate-botardatan
committed
fix(deps): update dependency yargs to v17 (dotansimha#5929)
* fix(deps): update dependency yargs to v17 * handle watch correctly Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
1 parent 2d86927 commit 6a95377

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

packages/graphql-codegen-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"valid-url": "^1.0.9",
7979
"wrap-ansi": "^7.0.0",
8080
"yaml": "^1.10.0",
81-
"yargs": "^16.1.1"
81+
"yargs": "^17.0.0"
8282
},
8383
"devDependencies": {
8484
"@types/chokidar": "2.1.3",

packages/graphql-codegen-cli/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function buildOptions() {
142142
if (typeof watch === 'string' || Array.isArray(watch)) {
143143
return watch;
144144
}
145-
return true;
145+
return !!watch;
146146
},
147147
},
148148
r: {

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21438,10 +21438,10 @@ yargs@^15.1.0, yargs@^15.3.1, yargs@^15.4.1:
2143821438
y18n "^4.0.0"
2143921439
yargs-parser "^18.1.2"
2144021440

21441-
yargs@^16.1.1:
21442-
version "16.1.1"
21443-
resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.1.1.tgz#5a4a095bd1ca806b0a50d0c03611d38034d219a1"
21444-
integrity sha512-hAD1RcFP/wfgfxgMVswPE+z3tlPFtxG8/yWUrG2i17sTWGCGqWnxKcLTF4cUKDUK8fzokwsmO9H0TDkRbMHy8w==
21441+
yargs@^16.2.0:
21442+
version "16.2.0"
21443+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66"
21444+
integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==
2144521445
dependencies:
2144621446
cliui "^7.0.2"
2144721447
escalade "^3.1.1"
@@ -21451,10 +21451,10 @@ yargs@^16.1.1:
2145121451
y18n "^5.0.5"
2145221452
yargs-parser "^20.2.2"
2145321453

21454-
yargs@^16.2.0:
21455-
version "16.2.0"
21456-
resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66"
21457-
integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==
21454+
yargs@^17.0.0:
21455+
version "17.0.0"
21456+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.0.0.tgz#147db33e222e8e6a7829df5f2ae696b58d1c82bf"
21457+
integrity sha512-gbtedDPfBgG40iLbaRXhqYJycUYqFVZQLIxl1cG5Ez/xZL/47TetSYzPSIixkWa36GKHr9D/o/oSG1vHXF4zTw==
2145821458
dependencies:
2145921459
cliui "^7.0.2"
2146021460
escalade "^3.1.1"

0 commit comments

Comments
 (0)