Comparing version 1.1.0 to 1.1.1
'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', ...); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13454
359
43
+ Addedcelia.date@^1.0.0
+ Addedcelia@6.1.4(transitive)
- Removedkick-date@^1.0.2
- Removedcelia@5.7.0(transitive)
Updatedcelia@^6.0.3