@siteone/builder-logger
Advanced tools
Comparing version 0.0.33 to 0.1.1
@@ -10,11 +10,11 @@ const chalk = require('chalk') | ||
chalk[color](BLDR), | ||
msg.includes('\n') ? msg.replace(/(\r?\n)/g, `$1${SPACER}`) : msg, | ||
msg.includes('\n') ? msg.replace(/(\r?\n)/g, `$1${SPACER}`) : msg | ||
) | ||
} | ||
module.exports = (msg) => { | ||
module.exports = msg => { | ||
module.exports.info( | ||
msg.includes('@bldr') | ||
? msg.replace(RGX, chalk.magenta.underline('$1')) | ||
: msg, | ||
: msg | ||
) | ||
@@ -21,0 +21,0 @@ } |
{ | ||
"name": "@siteone/builder-logger", | ||
"description": "Logging utility package", | ||
"version": "0.0.33", | ||
"version": "0.1.1", | ||
"author": "Viktor Bezdek <viktor.bezdek@siteone.cz>", | ||
@@ -9,3 +9,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "5fb7b3c7053c79a92c21a3e8f6e29bd94c000bad", | ||
"gitHead": "c03fc77077a14b6c56a541535460971d077b762f", | ||
"license": "MIT", | ||
@@ -12,0 +12,0 @@ "main": "index.js", |
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
1133