From 9b23be825a4f2ef1f3b5e9d7a2b5dcec49d38af2 Mon Sep 17 00:00:00 2001
From: Joe Haddad <timer150@gmail.com>
Date: Tue, 8 Aug 2017 23:15:34 -0400
Subject: [PATCH] Update dev deps (#2923)

* Bump deps

* Fix linter errors

* Whoops

* Try to bump webpack

* Update peer deps to min for eslint 4.x
---
 lerna.json                                    |  2 +-
 package.json                                  |  6 +++---
 packages/create-react-app/createReactApp.js   |  2 +-
 packages/eslint-config-react-app/package.json |  6 +++---
 .../react-dev-utils/formatWebpackMessages.js  |  2 +-
 packages/react-dev-utils/package.json         |  6 +++---
 packages/react-dev-utils/printBuildError.js   |  2 +-
 packages/react-error-overlay/package.json     | 20 +++++++++----------
 packages/react-scripts/package.json           | 12 +++++------
 9 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/lerna.json b/lerna.json
index 7ca916a85..1673f8a31 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,5 @@
 {
-  "lerna": "2.0.0-rc.5",
+  "lerna": "2.0.0",
   "version": "independent",
   "changelog": {
     "repo": "facebookincubator/create-react-app",
diff --git a/package.json b/package.json
index 1c343bdc0..c3dd6404b 100644
--- a/package.json
+++ b/package.json
@@ -14,10 +14,10 @@
     "precommit": "lint-staged"
   },
   "devDependencies": {
-    "eslint": "3.19.0",
+    "eslint": "^4.4.1",
     "husky": "^0.13.2",
-    "lerna": "2.0.0-rc.5",
-    "lerna-changelog": "^0.2.3",
+    "lerna": "^2.0.0",
+    "lerna-changelog": "^0.6.0",
     "lint-staged": "^3.3.1",
     "prettier": "^1.5.2"
   },
diff --git a/packages/create-react-app/createReactApp.js b/packages/create-react-app/createReactApp.js
index 9fa0f0771..4a1b7901d 100755
--- a/packages/create-react-app/createReactApp.js
+++ b/packages/create-react-app/createReactApp.js
@@ -441,7 +441,7 @@ function getPackageName(installPackage) {
     // Pull package name out of git urls e.g:
     // git+https://github.com/mycompany/react-scripts.git
     // git+ssh://github.com/mycompany/react-scripts.git#v1.2.3
-    return Promise.resolve(installPackage.match(/([^\/]+)\.git(#.*)?$/)[1]);
+    return Promise.resolve(installPackage.match(/([^/]+)\.git(#.*)?$/)[1]);
   } else if (installPackage.match(/.+@/)) {
     // Do not match @scope/ when stripping off @version or @tag
     return Promise.resolve(
diff --git a/packages/eslint-config-react-app/package.json b/packages/eslint-config-react-app/package.json
index 33395bc86..5f80b9d77 100644
--- a/packages/eslint-config-react-app/package.json
+++ b/packages/eslint-config-react-app/package.json
@@ -14,8 +14,8 @@
     "babel-eslint": "^7.2.3",
     "eslint": "^4.1.1",
     "eslint-plugin-flowtype": "^2.34.1",
-    "eslint-plugin-import": "^2.2.0",
-    "eslint-plugin-jsx-a11y": "^5.0.3",
-    "eslint-plugin-react": "^7.0.1"
+    "eslint-plugin-import": "^2.6.0",
+    "eslint-plugin-jsx-a11y": "^5.1.1",
+    "eslint-plugin-react": "^7.1.0"
   }
 }
diff --git a/packages/react-dev-utils/formatWebpackMessages.js b/packages/react-dev-utils/formatWebpackMessages.js
index a5176b920..1f22a0059 100644
--- a/packages/react-dev-utils/formatWebpackMessages.js
+++ b/packages/react-dev-utils/formatWebpackMessages.js
@@ -97,7 +97,7 @@ function formatMessage(message, isError) {
   // from user code generated by WebPack. For more information see
   // https://github.com/facebookincubator/create-react-app/pull/1050
   message = message.replace(
-    /^\s*at\s((?!webpack:).)*:\d+:\d+[\s\)]*(\n|$)/gm,
+    /^\s*at\s((?!webpack:).)*:\d+:\d+[\s)]*(\n|$)/gm,
     ''
   ); // at ... ...:x:y
 
diff --git a/packages/react-dev-utils/package.json b/packages/react-dev-utils/package.json
index 77d515609..bb3ebb50b 100644
--- a/packages/react-dev-utils/package.json
+++ b/packages/react-dev-utils/package.json
@@ -38,14 +38,14 @@
     "anser": "1.4.1",
     "babel-code-frame": "6.22.0",
     "chalk": "1.1.3",
-    "cross-spawn": "4.0.2",
+    "cross-spawn": "5.1.0",
     "detect-port-alt": "1.1.3",
     "escape-string-regexp": "1.0.5",
-    "filesize": "3.3.0",
+    "filesize": "3.5.10",
     "global-modules": "1.0.0",
     "gzip-size": "3.0.0",
     "html-entities": "1.2.1",
-    "inquirer": "3.1.1",
+    "inquirer": "3.2.1",
     "is-root": "1.0.0",
     "opn": "5.1.0",
     "recursive-readdir": "2.2.1",
diff --git a/packages/react-dev-utils/printBuildError.js b/packages/react-dev-utils/printBuildError.js
index 5efbaa97d..208c708e1 100644
--- a/packages/react-dev-utils/printBuildError.js
+++ b/packages/react-dev-utils/printBuildError.js
@@ -23,7 +23,7 @@ module.exports = function printBuildError(err) {
     message.indexOf('from UglifyJs') !== -1
   ) {
     try {
-      const matched = /Unexpected token:(.+)\[(.+)\:(.+)\,(.+)\]\[.+\]/.exec(
+      const matched = /Unexpected token:(.+)\[(.+):(.+),(.+)\]\[.+\]/.exec(
         stack
       );
       if (!matched) {
diff --git a/packages/react-error-overlay/package.json b/packages/react-error-overlay/package.json
index 15bf9e484..db55d559d 100644
--- a/packages/react-error-overlay/package.json
+++ b/packages/react-error-overlay/package.json
@@ -31,7 +31,7 @@
     "middleware.js"
   ],
   "dependencies": {
-    "anser": "1.2.5",
+    "anser": "1.4.1",
     "babel-code-frame": "6.22.0",
     "babel-runtime": "6.23.0",
     "react-dev-utils": "^3.0.2",
@@ -42,16 +42,16 @@
     "babel-cli": "6.24.1",
     "babel-eslint": "7.2.3",
     "babel-preset-react-app": "^3.0.1",
-    "cross-env": "5.0.0",
-    "eslint": "3.19.0",
+    "cross-env": "5.0.5",
+    "eslint": "4.4.1",
     "eslint-config-react-app": "^1.0.5",
-    "eslint-plugin-flowtype": "2.33.0",
-    "eslint-plugin-import": "2.2.0",
-    "eslint-plugin-jsx-a11y": "5.0.3",
-    "eslint-plugin-react": "7.0.1",
-    "flow-bin": "0.49.1",
-    "jest": "20.0.1",
-    "jest-fetch-mock": "1.1.1"
+    "eslint-plugin-flowtype": "2.35.0",
+    "eslint-plugin-import": "2.7.0",
+    "eslint-plugin-jsx-a11y": "5.1.1",
+    "eslint-plugin-react": "7.1.0",
+    "flow-bin": "0.52.0",
+    "jest": "20.0.4",
+    "jest-fetch-mock": "1.2.1"
   },
   "jest": {
     "setupFiles": [
diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json
index 805555889..f02244424 100644
--- a/packages/react-scripts/package.json
+++ b/packages/react-scripts/package.json
@@ -21,7 +21,7 @@
     "react-scripts": "./bin/react-scripts.js"
   },
   "dependencies": {
-    "autoprefixer": "7.1.1",
+    "autoprefixer": "7.1.2",
     "babel-core": "6.25.0",
     "babel-eslint": "7.2.3",
     "babel-jest": "20.0.3",
@@ -32,10 +32,10 @@
     "chalk": "1.1.3",
     "css-loader": "0.28.4",
     "dotenv": "4.0.0",
-    "eslint": "4.1.1",
+    "eslint": "4.4.1",
     "eslint-config-react-app": "^1.0.5",
     "eslint-loader": "1.9.0",
-    "eslint-plugin-flowtype": "2.34.0",
+    "eslint-plugin-flowtype": "2.35.0",
     "eslint-plugin-import": "2.7.0",
     "eslint-plugin-jsx-a11y": "5.1.1",
     "eslint-plugin-react": "7.1.0",
@@ -45,7 +45,7 @@
     "html-webpack-plugin": "2.29.0",
     "jest": "20.0.4",
     "object-assign": "4.1.1",
-    "postcss-flexbugs-fixes": "3.0.0",
+    "postcss-flexbugs-fixes": "3.2.0",
     "postcss-loader": "2.0.6",
     "promise": "8.0.1",
     "react-dev-utils": "^3.0.2",
@@ -53,8 +53,8 @@
     "style-loader": "0.18.2",
     "sw-precache-webpack-plugin": "0.11.4",
     "url-loader": "0.5.9",
-    "webpack": "3.4.1",
-    "webpack-dev-server": "2.6.1",
+    "webpack": "3.5.1",
+    "webpack-dev-server": "2.7.1",
     "webpack-manifest-plugin": "1.2.1",
     "whatwg-fetch": "2.0.3"
   },
-- 
GitLab