Skip to content

Commit f85b546

Browse files
committedMay 2, 2020
Update dependencies
Closes #148
1 parent c67d9f4 commit f85b546

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed
 

‎index.d.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ declare namespace meow {
7878
readonly autoVersion?: boolean;
7979

8080
/**
81-
package.json as an `Object`. Default: Closest package.json upwards.
81+
`package.json` as an `Object`. Default: Closest `package.json` upwards.
8282
8383
_You most likely don't need this option._
8484
*/
@@ -89,7 +89,7 @@ declare namespace meow {
8989
9090
@default process.argv.slice(2)
9191
*/
92-
readonly argv?: ReadonlyArray<string>;
92+
readonly argv?: readonly string[];
9393

9494
/**
9595
Infer the argument type.
@@ -213,12 +213,12 @@ declare namespace meow {
213213
214214
@param exitCode - The exit code to use. Default: `2`.
215215
*/
216-
showHelp(exitCode?: number): void;
216+
showHelp: (exitCode?: number) => void;
217217

218218
/**
219219
Show the version text and exit.
220220
*/
221-
showVersion(): void;
221+
showVersion: () => void;
222222
}
223223
}
224224
/**

‎package.json

+10-9
Original file line numberDiff line numberDiff line change
@@ -41,27 +41,28 @@
4141
],
4242
"dependencies": {
4343
"@types/minimist": "^1.2.0",
44-
"camelcase-keys": "^6.1.1",
44+
"camelcase-keys": "^6.2.2",
4545
"decamelize-keys": "^1.1.0",
46-
"hard-rejection": "^2.0.0",
47-
"minimist-options": "^4.0.1",
46+
"hard-rejection": "^2.1.0",
47+
"minimist-options": "^4.0.2",
4848
"normalize-package-data": "^2.5.0",
49-
"read-pkg-up": "^7.0.0",
49+
"read-pkg-up": "^7.0.1",
5050
"redent": "^3.0.0",
5151
"trim-newlines": "^3.0.0",
52-
"type-fest": "^0.8.1",
53-
"yargs-parser": "^18.1.1"
52+
"type-fest": "^0.13.1",
53+
"yargs-parser": "^18.1.3"
5454
},
5555
"devDependencies": {
5656
"ava": "^2.4.0",
57-
"execa": "^3.3.0",
57+
"execa": "^4.0.0",
5858
"indent-string": "^4.0.0",
5959
"tsd": "^0.11.0",
60-
"xo": "^0.25.3"
60+
"xo": "^0.30.0"
6161
},
6262
"xo": {
6363
"rules": {
64-
"unicorn/no-process-exit": "off"
64+
"unicorn/no-process-exit": "off",
65+
"node/no-unsupported-features/es-syntax": "off"
6566
}
6667
}
6768
}

0 commit comments

Comments
 (0)
Please sign in to comment.