Skip to content

Commit cced307

Browse files
committed
Bump chalk
1 parent 8d1a4f2 commit cced307

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/create-react-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"create-react-app": "./index.js"
2727
},
2828
"dependencies": {
29-
"chalk": "2.4.2",
29+
"chalk": "3.0.0",
3030
"commander": "2.20.0",
3131
"cross-spawn": "6.0.5",
3232
"envinfo": "7.5.0",

packages/react-dev-utils/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,5 +414,5 @@ Returns a cache identifier (string) consisting of the specified environment and
414414
```js
415415
var getCacheIdentifier = require('react-dev-utils/getCacheIdentifier');
416416

417-
getCacheIdentifier('prod', ['react-dev-utils', 'chalk']); // # => 'prod:[email protected]:chalk@2.4.1'
417+
getCacheIdentifier('prod', ['react-dev-utils', 'chalk']); // # => 'prod:[email protected]:chalk@3.0.0'
418418
```

packages/react-dev-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@babel/code-frame": "7.5.5",
5454
"address": "1.1.2",
5555
"browserslist": "4.8.2",
56-
"chalk": "2.4.2",
56+
"chalk": "3.0.0",
5757
"cross-spawn": "6.0.5",
5858
"detect-port-alt": "1.1.6",
5959
"escape-string-regexp": "1.0.5",

packages/react-dev-utils/typescriptFormatter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function formatter(message, useColors) {
2828
}
2929
: message;
3030

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

packages/react-error-overlay/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"babel-jest": "^24.9.0",
4242
"babel-loader": "8.0.6",
4343
"babel-preset-react-app": "^9.1.0",
44-
"chalk": "^2.4.2",
44+
"chalk": "3.0.0",
4545
"chokidar": "^2.1.2",
4646
"cross-env": "5.2.1",
4747
"eslint": "^6.1.0",

0 commit comments

Comments
 (0)