Skip to content

Commit 4398ccb

Browse files
SimenBcpojer
authored andcommitted
Upgrade all outdated deps (#4425)
* Upgrade all outdated deps * Revert micromatch upgrade * Disable version from yargs * Upgrade deps in root package.json
1 parent 0cb03f6 commit 4398ccb

9 files changed

Lines changed: 94 additions & 131 deletions

File tree

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
"babel-preset-react-native": "^1.9.1",
2121
"browserify": "^14.4.0",
2222
"chalk": "^2.0.1",
23-
"codecov": "^1.0.1",
23+
"codecov": "^2.3.0",
2424
"cross-spawn": "^5.1.0",
25-
"debug": "^2.6.8",
25+
"debug": "^3.0.1",
2626
"enzyme": "^2.8.2",
2727
"eslint": "^4.2.0",
2828
"eslint-config-prettier": "^2.4.0",
@@ -56,24 +56,24 @@
5656
"mocha": "^3.4.2",
5757
"mock-fs": "^4.4.1",
5858
"prettier": "^1.6.1",
59-
"progress": "^1.1.8",
59+
"progress": "^2.0.0",
6060
"react": "^15.4.2",
6161
"react-addons-test-utils": "15.4.2",
6262
"react-dom": "^15.6.1",
6363
"react-test-renderer": "15.4.2",
64-
"regenerator-runtime": "^0.10.3",
64+
"regenerator-runtime": "^0.11.0",
6565
"resolve": "^1.4.0",
6666
"rimraf": "^2.5.4",
67-
"rollup": "^0.41.6",
68-
"rollup-plugin-babel": "^2.7.1",
67+
"rollup": "^0.49.2",
68+
"rollup-plugin-babel": "^3.0.2",
6969
"rollup-plugin-commonjs": "^8.0.2",
7070
"rollup-plugin-flow": "^1.1.1",
7171
"rollup-plugin-json": "^2.1.1",
7272
"rollup-plugin-node-builtins": "^2.1.1",
7373
"rollup-plugin-node-globals": "^1.1.0",
7474
"rollup-plugin-node-resolve": "^3.0.0",
7575
"slash": "^1.0.0",
76-
"string-length": "^1.0.1",
76+
"string-length": "^2.0.0",
7777
"strip-ansi": "^4.0.0",
7878
"typescript": "^2.2.2",
7979
"watchify": "^3.9.0"

packages/jest-cli/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "21.0.1",
55
"main": "build/jest.js",
66
"dependencies": {
7-
"ansi-escapes": "^2.0.0",
7+
"ansi-escapes": "^3.0.0",
88
"chalk": "^2.0.1",
99
"glob": "^7.1.2",
1010
"graceful-fs": "^4.1.11",
@@ -26,13 +26,13 @@
2626
"jest-util": "^21.0.0",
2727
"micromatch": "^2.3.11",
2828
"node-notifier": "^5.0.2",
29-
"pify": "^2.3.0",
29+
"pify": "^3.0.0",
3030
"slash": "^1.0.0",
31-
"string-length": "^1.0.1",
31+
"string-length": "^2.0.0",
3232
"strip-ansi": "^4.0.0",
3333
"which": "^1.2.12",
3434
"worker-farm": "^1.3.1",
35-
"yargs": "^7.0.2"
35+
"yargs": "^9.0.0"
3636
},
3737
"bin": {
3838
"jest": "./bin/jest.js"

packages/jest-cli/src/cli/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ const _readResultsAndExit = (
112112
const _buildArgv = (maybeArgv: ?Argv, project: ?Path) => {
113113
const argv: Argv = yargs(maybeArgv || process.argv.slice(2))
114114
.usage(args.usage)
115-
.help()
116115
.alias('help', 'h')
117116
.options(args.options)
118117
.epilogue(args.docs)
119-
.check(args.check).argv;
118+
.check(args.check)
119+
.version(false).argv;
120120

121121
validateCLIOptions(argv, args.options);
122122

packages/jest-repl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"jest-runtime": "^21.0.0",
1212
"jest-util": "^21.0.0",
1313
"repl": "^0.1.3",
14-
"yargs": "^7.0.2"
14+
"yargs": "^9.0.0"
1515
},
1616
"bin": {
1717
"jest-repl": "./bin/jest-repl.js"

packages/jest-runner/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"jest-message-util": "^21.0.0",
1616
"jest-runtime": "^21.0.0",
1717
"jest-util": "^21.0.0",
18-
"pify": "^2.3.0",
19-
"throat": "^3.0.0",
18+
"pify": "^3.0.0",
19+
"throat": "^4.0.0",
2020
"worker-farm": "^1.3.1"
2121
}
2222
}

packages/jest-runtime/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"slash": "^1.0.0",
2525
"strip-bom": "3.0.0",
2626
"write-file-atomic": "^2.1.0",
27-
"yargs": "^7.0.2"
27+
"yargs": "^9.0.0"
2828
},
2929
"devDependencies": {
3030
"jest-environment-jsdom": "^21.0.0",

packages/jest-runtime/src/cli/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ function run(cliArgv?: Argv, cliInfo?: Array<string>) {
2727
if (cliArgv) {
2828
argv = cliArgv;
2929
} else {
30-
argv = yargs.usage(args.usage).options(args.options).argv;
30+
argv = yargs
31+
.usage(args.usage)
32+
.help(false)
33+
.version(false)
34+
.options(args.options).argv;
3135

3236
validateCLIOptions(argv, args.options);
3337
}

scripts/browserBuild.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function browserBuild(pkgName, entryPath, destination) {
6464
rollupBuiltins(),
6565
rollupResolve(),
6666
],
67-
useStrict: false,
67+
strict: false,
6868
}).then(bundle => {
6969
return bundle.write({
7070
dest: destination,

0 commit comments

Comments
 (0)