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 4747 "devDependencies" : {
4848 "@types/tape" : " ^4.0.0" ,
4949 "c8" : " ^7.0.0" ,
50- "chalk" : " ^4 .0.0" ,
50+ "chalk" : " ^5 .0.0" ,
5151 "hastscript" : " ^7.0.0" ,
5252 "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" ,
5555 "retext" : " ^8.0.0" ,
5656 "rimraf" : " ^3.0.0" ,
5757 "strip-ansi" : " ^7.0.0" ,
6161 "unist-builder" : " ^3.0.0" ,
6262 "xast-util-from-xml" : " ^2.0.0" ,
6363 "xastscript" : " ^3.0.0" ,
64- "xo" : " ^0.42 .0"
64+ "xo" : " ^0.49 .0"
6565 },
6666 "scripts" : {
6767 "prepack" : " npm run build && npm run format" ,
Original file line number Diff line number Diff line change 11import test from 'tape'
2- import chalk from 'chalk'
2+ import { Chalk } from 'chalk'
33import strip from 'strip-ansi'
44import { u } from 'unist-builder'
55import { h } from 'hastscript'
@@ -8,7 +8,7 @@ import {retext} from 'retext'
88import { fromXml } from 'xast-util-from-xml'
99import { inspect , inspectColor , inspectNoColor } from './index.js'
1010
11- const chalkEnabled = new chalk . Instance ( { level : 1 } )
11+ const chalkEnabled = new Chalk ( { level : 1 } )
1212
1313const paragraph = 'Some simple text. Other “sentence”.'
1414
You can’t perform that action at this time.
0 commit comments