mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-26 14:15:50 +08:00
Update dev deps (#2923)
* Bump deps * Fix linter errors * Whoops * Try to bump webpack * Update peer deps to min for eslint 4.x
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
2
packages/react-dev-utils/printBuildError.js
vendored
2
packages/react-dev-utils/printBuildError.js
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user