Socket
Socket
Sign inDemoInstall

supports-color

Package Overview
Dependencies
0
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.2.0

2

index.js

@@ -6,2 +6,3 @@ 'use strict';

if (argv.indexOf('--no-color') !== -1 ||
argv.indexOf('--no-colors') !== -1 ||
argv.indexOf('--color=false') !== -1) {

@@ -12,2 +13,3 @@ return false;

if (argv.indexOf('--color') !== -1 ||
argv.indexOf('--colors') !== -1 ||
argv.indexOf('--color=true') !== -1 ||

@@ -14,0 +16,0 @@ argv.indexOf('--color=always') !== -1) {

2

package.json
{
"name": "supports-color",
"version": "1.1.0",
"version": "1.2.0",
"description": "Detect whether a terminal supports color",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc