Skip to content

Commit 3c9c21a

Browse files
ianschmitziansu
authored andcommitted
Upgrade dependencies (facebook#6614)
* Upgrade dependencies * Upgrade a couple missed deps * Run Prettier over codebase
1 parent 5b77280 commit 3c9c21a

File tree

10 files changed

+65
-63
lines changed

10 files changed

+65
-63
lines changed

package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@
1919
"compile:lockfile": "node tasks/compile-lockfile.js"
2020
},
2121
"devDependencies": {
22-
"eslint": "5.12.0",
22+
"eslint": "5.15.1",
2323
"execa": "1.0.0",
24-
"fs-extra": "^7.0.0",
25-
"get-port": "^4.0.0",
26-
"globby": "^8.0.1",
27-
"husky": "1.0.0-rc.15",
24+
"fs-extra": "^7.0.1",
25+
"get-port": "^4.2.0",
26+
"globby": "^9.1.0",
27+
"husky": "^1.3.1",
2828
"jest": "^23.6.0",
2929
"lerna": "2.9.1",
30-
"lerna-changelog": "^0.7.0",
30+
"lerna-changelog": "~0.8.2",
3131
"lint-staged": "^8.0.4",
3232
"meow": "^5.0.0",
33-
"multimatch": "^2.1.0",
34-
"prettier": "1.15.2",
35-
"puppeteer": "^1.8.0",
36-
"strip-ansi": "^4.0.0",
33+
"multimatch": "^3.0.0",
34+
"prettier": "1.16.4",
35+
"puppeteer": "^1.13.0",
36+
"strip-ansi": "^5.1.0",
3737
"svg-term-cli": "^2.1.1",
3838
"tempy": "^0.2.1",
39-
"wait-for-localhost": "2.0.1"
39+
"wait-for-localhost": "^3.1.0"
4040
},
4141
"husky": {
4242
"hooks": {

packages/babel-preset-react-app/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@
1717
"test.js"
1818
],
1919
"dependencies": {
20-
"@babel/core": "7.2.2",
21-
"@babel/plugin-proposal-class-properties": "7.3.0",
20+
"@babel/core": "7.3.4",
21+
"@babel/plugin-proposal-class-properties": "7.3.4",
2222
"@babel/plugin-proposal-decorators": "7.3.0",
23-
"@babel/plugin-proposal-object-rest-spread": "7.3.2",
23+
"@babel/plugin-proposal-object-rest-spread": "7.3.4",
2424
"@babel/plugin-syntax-dynamic-import": "7.2.0",
25-
"@babel/plugin-transform-classes": "7.2.2",
25+
"@babel/plugin-transform-classes": "7.3.4",
2626
"@babel/plugin-transform-destructuring": "7.3.2",
27-
"@babel/plugin-transform-flow-strip-types": "7.2.3",
27+
"@babel/plugin-transform-flow-strip-types": "7.3.4",
2828
"@babel/plugin-transform-react-constant-elements": "7.2.0",
2929
"@babel/plugin-transform-react-display-name": "7.2.0",
30-
"@babel/plugin-transform-runtime": "7.2.0",
31-
"@babel/preset-env": "7.3.1",
30+
"@babel/plugin-transform-runtime": "7.3.4",
31+
"@babel/preset-env": "7.3.4",
3232
"@babel/preset-react": "7.0.0",
33-
"@babel/preset-typescript": "7.1.0",
34-
"@babel/runtime": "7.3.1",
33+
"@babel/preset-typescript": "7.3.3",
34+
"@babel/runtime": "7.3.4",
3535
"babel-loader": "8.0.5",
3636
"babel-plugin-dynamic-import-node": "2.2.0",
3737
"babel-plugin-macros": "2.5.0",

packages/create-react-app/createReactApp.js

-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ if (program.info) {
135135
npmGlobalPackages: ['create-react-app'],
136136
},
137137
{
138-
clipboard: false,
139138
duplicates: true,
140139
showNotFound: true,
141140
}

packages/create-react-app/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"repository": "facebook/create-react-app",
99
"license": "MIT",
1010
"engines": {
11-
"node": ">=4"
11+
"node": ">=8"
1212
},
1313
"bugs": {
1414
"url": "https://github.com/facebook/create-react-app/issues"
@@ -22,13 +22,13 @@
2222
"create-react-app": "./index.js"
2323
},
2424
"dependencies": {
25-
"chalk": "1.1.3",
26-
"commander": "2.18.0",
27-
"cross-spawn": "4.0.2",
28-
"envinfo": "5.11.1",
29-
"fs-extra": "5.0.0",
25+
"chalk": "2.4.2",
26+
"commander": "2.19.0",
27+
"cross-spawn": "6.0.5",
28+
"envinfo": "7.1.0",
29+
"fs-extra": "7.0.1",
3030
"hyperquest": "2.1.3",
31-
"semver": "5.5.1",
31+
"semver": "5.6.0",
3232
"tar-pack": "3.4.1",
3333
"tmp": "0.0.33",
3434
"validate-npm-package-name": "3.0.0"

packages/react-app-polyfill/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"jsdom.js"
1717
],
1818
"dependencies": {
19-
"core-js": "2.6.4",
19+
"core-js": "2.6.5",
2020
"object-assign": "4.1.1",
2121
"promise": "8.0.2",
2222
"raf": "3.4.1",

packages/react-dev-utils/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"dependencies": {
4949
"@babel/code-frame": "7.0.0",
5050
"address": "1.0.3",
51-
"browserslist": "4.4.1",
51+
"browserslist": "4.4.2",
5252
"chalk": "2.4.2",
5353
"cross-spawn": "6.0.5",
5454
"detect-port-alt": "1.1.6",
@@ -60,7 +60,7 @@
6060
"globby": "8.0.2",
6161
"gzip-size": "5.0.0",
6262
"immer": "1.10.0",
63-
"inquirer": "6.2.1",
63+
"inquirer": "6.2.2",
6464
"is-root": "2.0.0",
6565
"loader-utils": "1.2.3",
6666
"opn": "5.4.0",
@@ -69,7 +69,7 @@
6969
"recursive-readdir": "2.2.2",
7070
"shell-quote": "1.6.1",
7171
"sockjs-client": "1.3.0",
72-
"strip-ansi": "5.0.0",
72+
"strip-ansi": "5.1.0",
7373
"text-table": "0.2.0"
7474
},
7575
"devDependencies": {

packages/react-error-overlay/package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -31,37 +31,37 @@
3131
],
3232
"devDependencies": {
3333
"@babel/code-frame": "7.0.0",
34-
"@babel/core": "7.2.2",
34+
"@babel/core": "7.3.4",
3535
"anser": "1.4.8",
3636
"babel-core": "7.0.0-bridge.0",
37-
"babel-eslint": "9.0.0",
37+
"babel-eslint": "10.0.1",
3838
"babel-jest": "23.6.0",
3939
"babel-loader": "8.0.5",
4040
"babel-preset-react-app": "^7.0.2",
4141
"chalk": "^2.4.2",
42-
"chokidar": "^2.0.2",
42+
"chokidar": "^2.1.2",
4343
"cross-env": "5.2.0",
44-
"eslint": "5.12.0",
44+
"eslint": "5.15.1",
4545
"eslint-config-react-app": "^3.0.8",
4646
"eslint-plugin-flowtype": "2.50.1",
47-
"eslint-plugin-import": "2.14.0",
48-
"eslint-plugin-jsx-a11y": "6.1.2",
49-
"eslint-plugin-react": "7.12.3",
47+
"eslint-plugin-import": "2.16.0",
48+
"eslint-plugin-jsx-a11y": "6.2.1",
49+
"eslint-plugin-react": "7.12.4",
5050
"flow-bin": "^0.63.1",
5151
"html-entities": "1.2.1",
5252
"jest": "23.6.0",
5353
"jest-fetch-mock": "1.6.6",
5454
"object-assign": "4.1.1",
5555
"promise": "8.0.2",
56-
"raw-loader": "^0.5.1",
57-
"react": "^16.3.2",
56+
"raw-loader": "^1.0.0",
57+
"react": "^16.8.4",
5858
"react-app-polyfill": "^0.2.2",
59-
"react-dom": "^16.3.2",
60-
"rimraf": "^2.6.2",
59+
"react-dom": "^16.8.4",
60+
"rimraf": "^2.6.3",
6161
"settle-promise": "1.0.0",
6262
"source-map": "0.5.6",
63-
"terser-webpack-plugin": "1.2.1",
64-
"webpack": "^4.8.1"
63+
"terser-webpack-plugin": "1.2.3",
64+
"webpack": "^4.29.6"
6565
},
6666
"jest": {
6767
"setupFiles": [

packages/react-scripts/package.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,27 @@
2424
},
2525
"types": "./lib/react-app.d.ts",
2626
"dependencies": {
27-
"@babel/core": "7.2.2",
27+
"@babel/core": "7.3.4",
2828
"@svgr/webpack": "4.1.0",
2929
"babel-core": "7.0.0-bridge.0",
30-
"babel-eslint": "9.0.0",
30+
"babel-eslint": "10.0.1",
3131
"babel-jest": "23.6.0",
3232
"babel-loader": "8.0.5",
3333
"babel-plugin-named-asset-import": "^0.3.1",
3434
"babel-preset-react-app": "^7.0.2",
3535
"bfj": "6.1.1",
3636
"case-sensitive-paths-webpack-plugin": "2.2.0",
37-
"css-loader": "1.0.0",
38-
"dotenv": "6.0.0",
37+
"css-loader": "2.1.1",
38+
"dotenv": "6.2.0",
3939
"dotenv-expand": "4.2.0",
40-
"eslint": "5.12.0",
40+
"eslint": "5.15.1",
4141
"eslint-config-react-app": "^3.0.8",
42-
"eslint-loader": "2.1.1",
42+
"eslint-loader": "2.1.2",
4343
"eslint-plugin-flowtype": "2.50.1",
44-
"eslint-plugin-import": "2.14.0",
45-
"eslint-plugin-jsx-a11y": "6.1.2",
44+
"eslint-plugin-import": "2.16.0",
45+
"eslint-plugin-jsx-a11y": "6.2.1",
4646
"eslint-plugin-react": "7.12.4",
47-
"file-loader": "2.0.0",
47+
"file-loader": "3.0.1",
4848
"fs-extra": "7.0.1",
4949
"html-webpack-plugin": "4.0.0-beta.5",
5050
"identity-obj-proxy": "3.0.0",
@@ -57,26 +57,26 @@
5757
"pnp-webpack-plugin": "1.2.1",
5858
"postcss-flexbugs-fixes": "4.1.0",
5959
"postcss-loader": "3.0.0",
60-
"postcss-preset-env": "6.5.0",
60+
"postcss-preset-env": "6.6.0",
6161
"postcss-safe-parser": "4.0.1",
6262
"react-app-polyfill": "^0.2.2",
6363
"react-dev-utils": "^8.0.0",
6464
"resolve": "1.10.0",
6565
"sass-loader": "7.1.0",
6666
"style-loader": "0.23.1",
67-
"terser-webpack-plugin": "1.2.2",
67+
"terser-webpack-plugin": "1.2.3",
6868
"url-loader": "1.1.2",
69-
"webpack": "4.28.3",
69+
"webpack": "4.29.6",
7070
"webpack-dev-server": "3.2.1",
7171
"webpack-manifest-plugin": "2.0.4",
7272
"workbox-webpack-plugin": "3.6.3"
7373
},
7474
"devDependencies": {
75-
"react": "^16.3.2",
76-
"react-dom": "^16.3.2"
75+
"react": "^16.8.4",
76+
"react-dom": "^16.8.4"
7777
},
7878
"optionalDependencies": {
79-
"fsevents": "1.2.4"
79+
"fsevents": "1.2.7"
8080
},
8181
"browserslist": [
8282
">0.2%",

packages/react-scripts/scripts/utils/verifyTypeScriptSetup.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ function writeJson(fileName, object) {
2222
}
2323

2424
function verifyNoTypeScript() {
25-
const typescriptFiles = globby(['**/*.(ts|tsx)', '!**/node_modules', '!**/*.d.ts'], { cwd: paths.appSrc });
25+
const typescriptFiles = globby(
26+
['**/*.(ts|tsx)', '!**/node_modules', '!**/*.d.ts'],
27+
{ cwd: paths.appSrc }
28+
);
2629
if (typescriptFiles.length > 0) {
2730
console.warn(
2831
chalk.yellow(

test/fixtures/__shared__/util/scripts.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ module.exports = class ReactScripts {
6666
return await execaSafe('yarnpkg', ['start', '--smoke-test'], options);
6767
}
6868
const startProcess = execa('yarnpkg', ['start'], options);
69-
await waitForLocalhost(port);
69+
await waitForLocalhost({ port });
7070
return {
7171
port,
7272
done() {
@@ -91,7 +91,7 @@ module.exports = class ReactScripts {
9191
cwd: this.root,
9292
}
9393
);
94-
await waitForLocalhost(port);
94+
await waitForLocalhost({ port });
9595
return {
9696
port,
9797
done() {

0 commit comments

Comments
 (0)