File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 47
47
"devDependencies" : {
48
48
"@types/tape" : " ^4.0.0" ,
49
49
"c8" : " ^7.0.0" ,
50
- "chalk" : " ^4 .0.0" ,
50
+ "chalk" : " ^5 .0.0" ,
51
51
"hastscript" : " ^7.0.0" ,
52
52
"prettier" : " ^2.0.0" ,
53
- "remark-cli" : " ^9 .0.0" ,
54
- "remark-preset-wooorm" : " ^8 .0.0" ,
53
+ "remark-cli" : " ^10 .0.0" ,
54
+ "remark-preset-wooorm" : " ^9 .0.0" ,
55
55
"retext" : " ^8.0.0" ,
56
56
"rimraf" : " ^3.0.0" ,
57
57
"strip-ansi" : " ^7.0.0" ,
61
61
"unist-builder" : " ^3.0.0" ,
62
62
"xast-util-from-xml" : " ^2.0.0" ,
63
63
"xastscript" : " ^3.0.0" ,
64
- "xo" : " ^0.42 .0"
64
+ "xo" : " ^0.49 .0"
65
65
},
66
66
"scripts" : {
67
67
"prepack" : " npm run build && npm run format" ,
Original file line number Diff line number Diff line change 1
1
import test from 'tape'
2
- import chalk from 'chalk'
2
+ import { Chalk } from 'chalk'
3
3
import strip from 'strip-ansi'
4
4
import { u } from 'unist-builder'
5
5
import { h } from 'hastscript'
@@ -8,7 +8,7 @@ import {retext} from 'retext'
8
8
import { fromXml } from 'xast-util-from-xml'
9
9
import { inspect , inspectColor , inspectNoColor } from './index.js'
10
10
11
- const chalkEnabled = new chalk . Instance ( { level : 1 } )
11
+ const chalkEnabled = new Chalk ( { level : 1 } )
12
12
13
13
const paragraph = 'Some simple text. Other “sentence”.'
14
14
You can’t perform that action at this time.
0 commit comments