@poi/logger
Advanced tools
Comparing version 12.0.0-alpha.0 to 12.0.0-alpha.1
@@ -16,7 +16,11 @@ const chalk = require('chalk') | ||
debug(...args) { | ||
debug(title, ...args) { | ||
if (!this.options.debug) { | ||
return | ||
} | ||
console.log(chalk.magenta.bold('===>'), ...args.map(str => chalk.bold(str))) | ||
console.log( | ||
chalk.magenta('debug'), | ||
chalk.blue(title), | ||
...args.map(str => chalk.bold(str)) | ||
) | ||
} | ||
@@ -23,0 +27,0 @@ |
{ | ||
"name": "@poi/logger", | ||
"version": "12.0.0-alpha.0", | ||
"version": "12.0.0-alpha.1", | ||
"files": [ | ||
@@ -13,3 +13,5 @@ "index.js" | ||
"chalk": "^2.4.1" | ||
} | ||
}, | ||
"xo": false, | ||
"gitHead": "8747b20b3a882698d5683bd17cb22263a16e3c7b" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
2063
3
0
30
0