Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

supports-color

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

supports-color - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

6

index.js

@@ -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') ||

7

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc