Skip to content

Commit c1665a7

Browse files
Bump yargs to ^17.3.1 (#30401)
1 parent 55d4c70 commit c1665a7

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

docs/scripts/buildApi.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ const POST_MIGRATION_SETTINGS: Settings[] = [
205205

206206
const ACTIVE_SETTINGS = BEFORE_MIGRATION_SETTINGS;
207207

208-
async function run(argv: { grep?: string }) {
208+
type CommandOptions = { grep?: string };
209+
210+
async function run(argv: CommandOptions) {
209211
const grep = argv.grep == null ? null : new RegExp(argv.grep);
210212
let allBuilds: Array<PromiseSettledResult<ReactApi | null>> = [];
211213
await ACTIVE_SETTINGS.reduce(async (resolvedPromise, setting) => {
@@ -337,7 +339,7 @@ async function run(argv: { grep?: string }) {
337339
}
338340

339341
yargs
340-
.command({
342+
.command<CommandOptions>({
341343
command: '$0',
342344
describe: 'formats codebase',
343345
builder: (command) => {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"@types/react": "^17.0.38",
9999
"@types/sinon": "^10.0.6",
100100
"@types/webpack": "^5.28.0",
101-
"@types/yargs": "^17.0.7",
101+
"@types/yargs": "^17.0.8",
102102
"@typescript-eslint/eslint-plugin": "^5.8.0",
103103
"@typescript-eslint/parser": "^5.8.0",
104104
"argos-cli": "^0.3.3",
@@ -181,7 +181,7 @@
181181
"webpack": "^5.65.0",
182182
"webpack-bundle-analyzer": "^4.5.0",
183183
"webpack-cli": "^4.9.1",
184-
"yargs": "^17.3.0",
184+
"yargs": "^17.3.1",
185185
"yarn-deduplicate": "^3.1.0"
186186
},
187187
"resolutions": {

packages/mui-codemod/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@babel/traverse": "^7.16.3",
3636
"jscodeshift": "^0.13.0",
3737
"jscodeshift-add-imports": "^1.0.10",
38-
"yargs": "^17.3.0"
38+
"yargs": "^17.3.1"
3939
},
4040
"devDependencies": {
4141
"@types/jscodeshift": "0.11.3"

packages/mui-icons-material/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"mustache": "^4.2.0",
6464
"shx": "^0.3.3",
6565
"svgo": "^2.8.0",
66-
"yargs": "^17.3.0"
66+
"yargs": "^17.3.1"
6767
},
6868
"sideEffects": false,
6969
"publishConfig": {

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3558,10 +3558,10 @@
35583558
dependencies:
35593559
"@types/yargs-parser" "*"
35603560

3561-
"@types/yargs@^17.0.7":
3562-
version "17.0.7"
3563-
resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.7.tgz#44a484c634761da4391477515a98772b82b5060f"
3564-
integrity sha512-OvLKmpKdea1aWtqHv9bxVVcMoT6syAeK+198dfETIFkAevYRGwqh4H+KFxfjUETZuUuE5sQCAFwdOdoHUdo8eg==
3561+
"@types/yargs@^17.0.8":
3562+
version "17.0.8"
3563+
resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.8.tgz#d23a3476fd3da8a0ea44b5494ca7fa677b9dad4c"
3564+
integrity sha512-wDeUwiUmem9FzsyysEwRukaEdDNcwbROvQ9QGRKaLI6t+IltNzbn4/i4asmB10auvZGQCzSQ6t0GSczEThlUXw==
35653565
dependencies:
35663566
"@types/yargs-parser" "*"
35673567

@@ -17204,10 +17204,10 @@ yargs@^15.0.2, yargs@^15.1.0, yargs@^15.3.1:
1720417204
y18n "^4.0.0"
1720517205
yargs-parser "^18.1.2"
1720617206

17207-
yargs@^17.2.1, yargs@^17.3.0:
17208-
version "17.3.0"
17209-
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.3.0.tgz#295c4ffd0eef148ef3e48f7a2e0f58d0e4f26b1c"
17210-
integrity sha512-GQl1pWyDoGptFPJx9b9L6kmR33TGusZvXIZUT+BOz9f7X2L94oeAskFYLEg/FkhV06zZPBYLvLZRWeYId29lew==
17207+
yargs@^17.2.1, yargs@^17.3.1:
17208+
version "17.3.1"
17209+
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.3.1.tgz#da56b28f32e2fd45aefb402ed9c26f42be4c07b9"
17210+
integrity sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==
1721117211
dependencies:
1721217212
cliui "^7.0.2"
1721317213
escalade "^3.1.1"

0 commit comments

Comments
 (0)