Export createSupportsColor function from supports-color

This commit is contained in:
Luke Karrys 2023-06-13 23:59:58 -07:00
parent a370f468a4
commit d0927f56a0
No known key found for this signature in database
4 changed files with 10 additions and 2 deletions

View file

@ -5,7 +5,7 @@ import { // eslint-disable-line import/order
stringEncaseCRLFWithFirstIndex,
} from './utilities.js';
const {stdout: stdoutColor, stderr: stderrColor} = supportsColor;
const {stdout: stdoutColor, stderr: stderrColor, createSupportsColor} = supportsColor;
const GENERATOR = Symbol('GENERATOR');
const STYLER = Symbol('STYLER');
@ -218,6 +218,7 @@ export {
} from './vendor/ansi-styles/index.js';
export {
createSupportsColor,
stdoutColor as supportsColor,
stderrColor as supportsColorStderr,
};