Socket
Socket
Sign inDemoInstall

clrsole

Package Overview
Dependencies
8
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

4

lib/layout.js
'use strict';
const { inspect } = require('util');
const { isObject } = require('celia');
const { format: formatDate } = require('kick-date');
const isObject = require('celia/isObject');
const formatDate = require('celia.date/format');

@@ -7,0 +7,0 @@ /**

@@ -5,3 +5,4 @@ 'use strict';

const { inspect } = require('util');
const { isObject, forEach } = require('celia');
const isObject = require('celia/isObject');
const each = require('celia/each');

@@ -28,3 +29,3 @@ [

const args = [];
forEach(arguments, (arg, i) => {
each(arguments, (arg, i) => {
args[i] = isObject(arg) ? inspect(arg, { depth: Infinity }) : arg;

@@ -31,0 +32,0 @@ });

'use strict';
const { isNil } = require('celia');
const isNil = require('celia/isNil');

@@ -5,0 +5,0 @@ const ALL = { level: 'ALL', value: -Number.MAX_SAFE_INTEGER, color: 'whiteBright' };

{
"name": "clrsole",
"version": "1.1.0",
"version": "1.1.1",
"description": "colorful console.log",

@@ -33,5 +33,5 @@ "main": "index.js",

"dependencies": {
"celia": "^5.1.3",
"chalk": "^2.4.2",
"kick-date": "^1.0.2"
"celia": "^6.0.3",
"celia.date": "^1.0.0",
"chalk": "^2.4.2"
},

@@ -38,0 +38,0 @@ "devDependencies": {

@@ -9,5 +9,5 @@ # clrsole

const Console = require('clrsole');
const { output, getLogger } = require('clrsole');
const appLogger = new Console('app');
const appLogger = getLogger('app');

@@ -40,2 +40,5 @@ // logging for log4j

output.green('green message', ...);
output.red('red message', ...);
```
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