Skip to content

Commit

Permalink
Bump chalk
Browse files Browse the repository at this point in the history
  • Loading branch information
andriijas committed Dec 13, 2019
1 parent 8d1a4f2 commit cced307
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"create-react-app": "./index.js"
},
"dependencies": {
"chalk": "2.4.2",
"chalk": "3.0.0",
"commander": "2.20.0",
"cross-spawn": "6.0.5",
"envinfo": "7.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dev-utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,5 +414,5 @@ Returns a cache identifier (string) consisting of the specified environment and
```js
var getCacheIdentifier = require('react-dev-utils/getCacheIdentifier');

getCacheIdentifier('prod', ['react-dev-utils', 'chalk']); // # => 'prod:react-dev-utils@5.0.0:chalk@2.4.1'
getCacheIdentifier('prod', ['react-dev-utils', 'chalk']); // # => 'prod:react-dev-utils@5.0.0:chalk@3.0.0'
```
2 changes: 1 addition & 1 deletion packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@babel/code-frame": "7.5.5",
"address": "1.1.2",
"browserslist": "4.8.2",
"chalk": "2.4.2",
"chalk": "3.0.0",
"cross-spawn": "6.0.5",
"detect-port-alt": "1.1.6",
"escape-string-regexp": "1.0.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dev-utils/typescriptFormatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function formatter(message, useColors) {
}
: message;

const colors = new chalk.constructor({ enabled: useColors });
const colors = new chalk.Instance({ enabled: useColors });
const messageColor = message.isWarningSeverity() ? colors.yellow : colors.red;
const fileAndNumberColor = colors.bold.cyan;

Expand Down
2 changes: 1 addition & 1 deletion packages/react-error-overlay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"babel-jest": "^24.9.0",
"babel-loader": "8.0.6",
"babel-preset-react-app": "^9.1.0",
"chalk": "^2.4.2",
"chalk": "3.0.0",
"chokidar": "^2.1.2",
"cross-env": "5.2.1",
"eslint": "^6.1.0",
Expand Down

0 comments on commit cced307

Please sign in to comment.