kleur
Advanced tools
Comparing version 4.1.2 to 4.1.3
let FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM, isTTY=true; | ||
if (typeof process !== 'undefined') { | ||
({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env); | ||
isTTY = process.stdout.isTTY; | ||
isTTY = process.stdout && process.stdout.isTTY; | ||
} | ||
@@ -6,0 +6,0 @@ |
@@ -6,3 +6,3 @@ 'use strict'; | ||
({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env); | ||
isTTY = process.stdout.isTTY; | ||
isTTY = process.stdout && process.stdout.isTTY; | ||
} | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "kleur", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"repository": "lukeed/kleur", | ||
@@ -5,0 +5,0 @@ "description": "The fastest Node.js library for formatting terminal text with ANSI colors~!", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20151