File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import deglob from 'deglob'
22import find from 'find-file-up'
33import Githost from 'find-githost'
44import engine from 'unified-engine'
5- import { stdout as color } from 'supports-color'
5+ import supportsColor from 'supports-color'
66import { fromCallback } from 'catering'
77import defaultReporter from 'vfile-reporter-shiny'
88import processor from 'remark'
@@ -72,7 +72,7 @@ function hallmark (options, callback) {
7272 engine ( {
7373 processor,
7474 extensions : [ 'md' , 'markdown' ] ,
75- color,
75+ color : supportsColor . stdout ,
7676 files,
7777 cwd,
7878 reporter,
Original file line number Diff line number Diff line change 5353 "remark-toc" : " ^7.0.0" ,
5454 "remark-validate-links" : " ^10.0.2" ,
5555 "subarg" : " ^1.0.0" ,
56- "supports-color" : " ^7.1.0 " ,
56+ "supports-color" : " ^9.0.2 " ,
5757 "unified-engine" : " ^8.0.0" ,
5858 "vfile-reporter-shiny" : " ^0.1.2"
5959 },
You can’t perform that action at this time.
0 commit comments