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.2.0 to 0.3.0

index.js

5

CHANGELOG.md
# dbug
## v0.3.0 - 2014-04-18
- fixed grey text bleeding into other input
- changed logger label from `foo.debug` to `foo:DEBUG` and colors to
highlight level
## v0.2.0 - 2014-02-07

@@ -4,0 +9,0 @@ - changed dbug.enabled and dbug.colored to look at process.env for changes

3

package.json
{
"name": "dbug",
"version": "0.2.0",
"version": "0.3.0",
"description": "debug improvements",
"main": "./lib/dbug.js",
"scripts": {

@@ -7,0 +6,0 @@ "test": "mocha --check-leaks --ui exports"

@@ -95,3 +95,4 @@ /* This Source Code Form is subject to the terms of the Mozilla Public

assert(contains(stdout.lastWrite, 'w'));
assert(contains(stdout.lastWrite, 'foo.info'));
assert(contains(stdout.lastWrite, 'foo:'));
assert(contains(stdout.lastWrite, '\x1b[92mINFO'));
foo.warn('v');

@@ -101,3 +102,4 @@ assert(contains(stderr.lastWrite, 'v'));

assert(contains(stderr.lastWrite, 'uuuu'));
assert(contains(stderr.lastWrite, 'foo.error'));
assert(contains(stderr.lastWrite, 'foo:'));
assert(contains(stderr.lastWrite, '\x1b[91mERROR'));

@@ -104,0 +106,0 @@ process.stdout.write = out;

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