Comparing version 0.2.3 to 0.2.4
@@ -379,3 +379,3 @@ var fs = require('fs'), | ||
// debug 模式,console.log输出颜色标记的日志 | ||
} else if (this.opts['debug'] && COLORS[intLevel]) { | ||
} else if (this.opts['debug'] && COLORS[intLevel] && process.env.NODE_ENV === 'dev') { | ||
var color = COLORS[intLevel]; | ||
@@ -382,0 +382,0 @@ var _str = unescape(str); |
{ | ||
"name": "yog-log", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "yog logger", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
74292
3