File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 28
28
"license" : " MIT" ,
29
29
"dependencies" : {
30
30
"@jest/types" : " workspace:*" ,
31
- "chalk" : " ^4.0.0" ,
32
31
"jest-get-type" : " workspace:*" ,
33
32
"jest-util" : " workspace:*" ,
33
+ "picocolors" : " ^1.0.1" ,
34
34
"pretty-format" : " workspace:*"
35
35
},
36
36
"engines" : {
Original file line number Diff line number Diff line change 6
6
*
7
7
*/
8
8
9
- import chalk = require ( 'chalk' ) ;
9
+ import * as pico from 'picocolors' ;
10
10
import type { Global } from '@jest/types' ;
11
11
import { format as pretty } from 'pretty-format' ;
12
12
13
13
type TemplateData = Global . TemplateData ;
14
14
15
- const EXPECTED_COLOR = chalk . green ;
16
- const RECEIVED_COLOR = chalk . red ;
15
+ const EXPECTED_COLOR = pico . green ;
16
+ const RECEIVED_COLOR = pico . red ;
17
17
18
18
export const validateArrayTable = ( table : unknown ) : void => {
19
19
if ( ! Array . isArray ( table ) ) {
Original file line number Diff line number Diff line change @@ -3064,7 +3064,6 @@ __metadata:
3064
3064
"@types/micromatch": ^4.0.7
3065
3065
"@types/node": "*"
3066
3066
ansi-escapes: ^4.2.1
3067
- chalk: ^4.0.0
3068
3067
ci-info: ^4.0.0
3069
3068
exit: ^0.1.2
3070
3069
graceful-fs: ^4.2.9
@@ -3082,6 +3081,7 @@ __metadata:
3082
3081
jest-validate: "workspace:*"
3083
3082
jest-watcher: "workspace:*"
3084
3083
micromatch: ^4.0.7
3084
+ picocolors: ^1.0.1
3085
3085
pretty-format: "workspace:*"
3086
3086
slash: ^3.0.0
3087
3087
strip-ansi: ^6.0.0
@@ -13113,9 +13113,9 @@ __metadata:
13113
13113
resolution: "jest-diff@workspace:packages/jest-diff"
13114
13114
dependencies:
13115
13115
"@jest/test-utils": "workspace:*"
13116
- chalk: ^4.0.0
13117
13116
diff-sequences: "workspace:*"
13118
13117
jest-get-type: "workspace:*"
13118
+ picocolors: ^1.0.1
13119
13119
pretty-format: "workspace:*"
13120
13120
strip-ansi: ^6.0.0
13121
13121
languageName: unknown
@@ -13135,9 +13135,9 @@ __metadata:
13135
13135
resolution: "jest-each@workspace:packages/jest-each"
13136
13136
dependencies:
13137
13137
"@jest/types": "workspace:*"
13138
- chalk: ^4.0.0
13139
13138
jest-get-type: "workspace:*"
13140
13139
jest-util: "workspace:*"
13140
+ picocolors: ^1.0.1
13141
13141
pretty-format: "workspace:*"
13142
13142
languageName: unknown
13143
13143
linkType: soft
You can’t perform that action at this time.
0 commit comments