🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

kleur

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kleur - npm Package Compare versions

Comparing version

to
4.1.0

6

colors.js

@@ -1,4 +0,4 @@

let FORCE_COLOR, NODE_DISABLE_COLORS, TERM, isTTY=true;
let FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM, isTTY=true;
if (typeof process !== 'undefined') {
({ FORCE_COLOR, NODE_DISABLE_COLORS, TERM } = process.env);
({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env);
isTTY = process.stdout.isTTY;

@@ -8,3 +8,3 @@ }

const $ = exports.$ = {
enabled: !NODE_DISABLE_COLORS && TERM !== 'dumb' && (
enabled: !NODE_DISABLE_COLORS && !NO_COLOR && TERM !== 'dumb' && (
FORCE_COLOR != null && FORCE_COLOR !== '0' || isTTY

@@ -11,0 +11,0 @@ )

'use strict';
let FORCE_COLOR, NODE_DISABLE_COLORS, TERM, isTTY=true;
let FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM, isTTY=true;
if (typeof process !== 'undefined') {
({ FORCE_COLOR, NODE_DISABLE_COLORS, TERM } = process.env);
({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env);
isTTY = process.stdout.isTTY;

@@ -10,3 +10,3 @@ }

const $ = {
enabled: !NODE_DISABLE_COLORS && TERM !== 'dumb' && (
enabled: !NODE_DISABLE_COLORS && !NO_COLOR && TERM !== 'dumb' && (
FORCE_COLOR != null && FORCE_COLOR !== '0' || isTTY

@@ -13,0 +13,0 @@ ),

{
"name": "kleur",
"version": "4.0.3",
"version": "4.1.0",
"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