File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2525 "@jest/environment" : " workspace:*" ,
2626 "@jest/transform" : " workspace:*" ,
2727 "@jest/types" : " workspace:*" ,
28- "chalk" : " ^4.0.0" ,
2928 "jest-config" : " workspace:*" ,
3029 "jest-runtime" : " workspace:*" ,
3130 "jest-util" : " workspace:*" ,
3231 "jest-validate" : " workspace:*" ,
32+ "picocolors" : " ^1.0.1" ,
3333 "repl" : " ^0.1.3" ,
3434 "yargs" : " ^17.3.1"
3535 },
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import {
1212} from 'os' ;
1313import * as path from 'path' ;
1414import * as util from 'util' ;
15- import chalk = require ( 'chalk' ) ;
15+ import * as pico from 'picocolors' ;
1616import yargs = require( 'yargs' ) ;
1717import { CustomConsole } from '@jest/console' ;
1818import type { JestEnvironment } from '@jest/environment' ;
@@ -142,7 +142,7 @@ export async function run(
142142 }
143143 } catch ( error : any ) {
144144 console . error (
145- chalk . red ( util . types . isNativeError ( error ) ? error . stack : error ) ,
145+ pico . red ( util . types . isNativeError ( error ) ? error . stack : error ) ,
146146 ) ;
147147 process . on ( 'exit' , ( ) => {
148148 process . exitCode = 1 ;
Original file line number Diff line number Diff line change @@ -13363,12 +13363,12 @@ __metadata:
1336313363 "@jest/transform": "workspace:*"
1336413364 "@jest/types": "workspace:*"
1336513365 "@types/yargs": ^17.0.8
13366- chalk: ^4.0.0
1336713366 execa: ^5.0.0
1336813367 jest-config: "workspace:*"
1336913368 jest-runtime: "workspace:*"
1337013369 jest-util: "workspace:*"
1337113370 jest-validate: "workspace:*"
13371+ picocolors: ^1.0.1
1337213372 repl: ^0.1.3
1337313373 yargs: ^17.3.1
1337413374 bin:
You can’t perform that action at this time.
0 commit comments