supports-color
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -18,2 +18,8 @@ 'use strict'; | ||
var supportLevel = (function () { | ||
if (hasFlag('no-color') || | ||
hasFlag('no-colors') || | ||
hasFlag('color=false')) { | ||
return 0; | ||
} | ||
if (hasFlag('color=16m') || | ||
@@ -20,0 +26,0 @@ hasFlag('color=full') || |
{ | ||
"name": "supports-color", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Detect whether a terminal supports color", | ||
@@ -44,3 +44,6 @@ "license": "MIT", | ||
"capability", | ||
"detect" | ||
"detect", | ||
"truecolor", | ||
"16m", | ||
"million" | ||
], | ||
@@ -47,0 +50,0 @@ "dependencies": { |
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
4808
57