File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 63
63
"@babel/runtime" : " ^7.12.5" ,
64
64
"@types/aria-query" : " ^5.0.1" ,
65
65
"aria-query" : " 5.3.0" ,
66
- "chalk" : " ^4.1.0" ,
67
66
"dom-accessibility-api" : " ^0.5.9" ,
68
67
"lz-string" : " ^1.5.0" ,
68
+ "picocolors" : " ^1.1.1" ,
69
69
"pretty-format" : " ^27.0.2"
70
70
},
71
71
"devDependencies" : {
Original file line number Diff line number Diff line change 1
1
// We try to load node dependencies
2
- let chalk = null
2
+ let picocolors = null
3
3
let readFileSync = null
4
4
let codeFrameColumns = null
5
5
11
11
module ,
12
12
'@babel/code-frame' ,
13
13
) . codeFrameColumns
14
- chalk = nodeRequire . call ( module , 'chalk ' )
14
+ picocolors = nodeRequire . call ( module , 'picocolors ' )
15
15
} catch {
16
16
// We're in a browser environment
17
17
}
@@ -46,7 +46,7 @@ function getCodeFrame(frame) {
46
46
linesBelow : 0 ,
47
47
} ,
48
48
)
49
- return `${ chalk . dim ( frameLocation ) } \n${ codeFrame } \n`
49
+ return `${ picocolors . dim ( frameLocation ) } \n${ codeFrame } \n`
50
50
}
51
51
52
52
function getUserCodeFrame ( ) {
You can’t perform that action at this time.
0 commit comments