Comparing version 0.1.3 to 0.1.4
@@ -19,3 +19,3 @@ /* This Source Code Form is subject to the terms of the Mozilla Public | ||
function environ() { | ||
var useColor = process.env.DEBUG_COLOR ? envDebugColor() : tty.isatty(2); | ||
var useColor = process.env.DEBUG_COLORS ? envDebugColor() : tty.isatty(2); | ||
var names = []; | ||
@@ -22,0 +22,0 @@ var skips = []; |
{ | ||
"name": "dbug", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "debug improvements", | ||
@@ -5,0 +5,0 @@ "main": "./lib/dbug.js", |
@@ -137,7 +137,7 @@ /* This Source Code Form is subject to the terms of the Mozilla Public | ||
'should look for DEBUG_COLOR to override tty': function() { | ||
process.env.DEBUG_COLOR = false; | ||
process.env.DEBUG_COLORS = false; | ||
assert(require('../')('foo').plain); | ||
}, | ||
'should format with utc': function() { | ||
process.env.DEBUG_COLOR = false; | ||
process.env.DEBUG_COLORS = false; | ||
var plain = require('../')('foo'); | ||
@@ -144,0 +144,0 @@ |
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
26223