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

console-log-it

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

console-log-it - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

3

CHANGELOG.md

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

## [1.1.0] - 2021-01-20
- Added background color gray
## [1.0.0] - 2021-01-14

@@ -2,0 +5,0 @@ - Full release

@@ -13,2 +13,3 @@ "use strict";

['bgWhite', '\x1b[47m\x1b[30m%s\x1b[0m'],
['bgGray', '\x1b[100m\x1b[37m%s\x1b[0m'],
]);

@@ -24,2 +25,3 @@ exports.backgroundColorNoResetMap = new Map([

['white', '\x1b[47m\x1b[0m'],
['gray', '\x1b[100m\x1b[37m'],
]);

@@ -64,2 +66,3 @@ exports.colorMap = new Map([

['white', '\x1b[47m\x1b[30m'],
['gray', '\x1b[100m\x1b[37m'],
]);

@@ -75,2 +78,3 @@ exports.webTagColorMap = new Map([

['white', 'background-color: #ffffff; color: #000000;'],
['gray', 'background-color: #cccccc; color: #000000;'],
]);

@@ -77,0 +81,0 @@ exports.webColorMap = new Map([

2

lib/es5/types/index.d.ts
export declare type Color = 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white';
export declare type BackgroundColor = 'bgBlack' | 'bgRed' | 'bgGreen' | 'bgYellow' | 'bgBlue' | 'bgMagenta' | 'bgCyan' | 'bgWhite';
export declare type BackgroundColor = 'bgBlack' | 'bgRed' | 'bgGreen' | 'bgYellow' | 'bgBlue' | 'bgMagenta' | 'bgCyan' | 'bgWhite' | 'bgGray';
export declare type Style = 'blink' | 'bright' | 'dim' | 'hidden' | 'reverse' | 'reset' | 'underscore';

@@ -4,0 +4,0 @@ export declare type LogBoxConfig = {

@@ -10,2 +10,3 @@ export var backgroundColorMap = new Map([

['bgWhite', '\x1b[47m\x1b[30m%s\x1b[0m'],
['bgGray', '\x1b[100m\x1b[37m%s\x1b[0m'],
]);

@@ -21,2 +22,3 @@ export var backgroundColorNoResetMap = new Map([

['white', '\x1b[47m\x1b[0m'],
['gray', '\x1b[100m\x1b[37m'],
]);

@@ -61,2 +63,3 @@ export var colorMap = new Map([

['white', '\x1b[47m\x1b[30m'],
['gray', '\x1b[100m\x1b[37m'],
]);

@@ -72,2 +75,3 @@ export var webTagColorMap = new Map([

['white', 'background-color: #ffffff; color: #000000;'],
['gray', 'background-color: #cccccc; color: #000000;'],
]);

@@ -74,0 +78,0 @@ export var webColorMap = new Map([

export declare type Color = 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white';
export declare type BackgroundColor = 'bgBlack' | 'bgRed' | 'bgGreen' | 'bgYellow' | 'bgBlue' | 'bgMagenta' | 'bgCyan' | 'bgWhite';
export declare type BackgroundColor = 'bgBlack' | 'bgRed' | 'bgGreen' | 'bgYellow' | 'bgBlue' | 'bgMagenta' | 'bgCyan' | 'bgWhite' | 'bgGray';
export declare type Style = 'blink' | 'bright' | 'dim' | 'hidden' | 'reverse' | 'reset' | 'underscore';

@@ -4,0 +4,0 @@ export declare type LogBoxConfig = {

{
"name": "console-log-it",
"version": "1.0.0",
"version": "1.1.0",
"description": "Console log colors, boxes, and more for the browser and terminal",
"sideEffects": false,
"main": "lib/es5/index.js",

@@ -6,0 +7,0 @@ "module": "lib/es6/index.js",

@@ -10,3 +10,3 @@ [![Build Status](https://travis-ci.com/TheSpicyMeatball/console-log-it.svg?branch=main)](https://travis-ci.com/TheSpicyMeatball/console-log-it)

<p><b>Version:</b> 1.0.0</p>
<p><b>Version:</b> 1.1.0</p>

@@ -50,3 +50,3 @@ <h2>Summary of Utils</h2>

export type Color = 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white';
export type BackgroundColor = 'bgBlack' | 'bgRed' | 'bgGreen' | 'bgYellow' | 'bgBlue' | 'bgMagenta' | 'bgCyan' | 'bgWhite';
export type BackgroundColor = 'bgBlack' | 'bgRed' | 'bgGreen' | 'bgYellow' | 'bgBlue' | 'bgMagenta' | 'bgCyan' | 'bgWhite' | 'bgGray';
export type Style = 'blink' | 'bright' | 'dim' | 'hidden' | 'reverse' | 'reset' | 'underscore';

@@ -117,7 +117,7 @@

└───/types
└───index.d.ts - 789 Bytes
└───index.d.ts - 800 Bytes
└───index.js - 79 Bytes
└───/_private
└───index.d.ts - 561 Bytes
└───index.js - 3.26 KB
└───index.js - 3.43 KB
└───/es6

@@ -151,7 +151,7 @@ └───index.d.ts - 430 Bytes

└───/types
└───index.d.ts - 789 Bytes
└───index.d.ts - 800 Bytes
└───index.js - 12 Bytes
└───/_private
└───index.d.ts - 561 Bytes
└───index.js - 2.95 KB
└───index.js - 3.12 KB
```

@@ -158,0 +158,0 @@

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