From ad1a43212d5c884bcdb6d125ec452f8cdafd2c97 Mon Sep 17 00:00:00 2001 From: Kayla Washburn Date: Fri, 12 Jan 2018 10:44:24 -0700 Subject: [PATCH] Fix compatibility. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 05e62b3..a3919c8 100644 --- a/index.js +++ b/index.js @@ -224,5 +224,5 @@ function chalkTag(chalk, strings) { Object.defineProperties(Chalk.prototype, styles); module.exports = Chalk(); // eslint-disable-line new-cap -module.exports.supportsColor = supportsColor; +module.exports.supportsColor = supportsColor.stdout; module.exports.default = module.exports; // For TypeScript