supports-ansi
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -10,3 +10,6 @@ 'use strict'; | ||
const supportsAnsi = () => { | ||
if (!process.stdout.isTTY) { | ||
// Check if it is running in the terminal. | ||
// NOTE: `process.stdout.isTTY` always return undefined on Cygwin. | ||
// @link https://github.com/nodejs/node/issues/3006 | ||
if (!isCygwin && !process.stdout.isTTY) { | ||
return false; | ||
@@ -13,0 +16,0 @@ } |
{ | ||
"name": "supports-ansi", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Detect whether a terminal supports ANSI escape sequences", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3876
48