Socket
Socket
Sign inDemoInstall

dbug

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

2

lib/dbug.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc