15 Commits

Author SHA1 Message Date
Josh Junon
ba8a424d41 move to XO (closes #397) 2018-09-10 23:18:17 -06:00
Nathan Rajlich
285dfe10a5 fix colors with supports-color@5 2017-11-09 12:35:02 -08:00
Nathan Rajlich
71169065b5 refactor to make the common code be a setup function (#507)
This is so that we can make both a Node.js instance and
web browser instance for when `--inspect` is used in Node.js.
2017-10-11 08:31:18 -07:00
Nathan Rajlich
2c0df9baf7 rename DEBUG_HIDE_TTY_DATE to DEBUG_HIDE_DATE
The date is actually only printed when output is *NOT* a TTY.

Let's just genericize the name instead.
2017-09-26 21:11:45 +02:00
Nathan Rajlich
56a3853b95 Add DEBUG_HIDE_TTY_DATE env var (#486)
Squashed commit of the following:

commit 62589c0a4e1babc5953ea30c7ef80b3867ed0a04
Author: Adrian Mejia <admejiar@cisco.com>
Date:   Sat Aug 12 15:24:45 2017 -0400

    solves merge conflict

commit 55e5c5e86812163293779e9bbad1afc252c83230
Author: Adrian Mejia <admejiar@cisco.com>
Date:   Sat Aug 12 15:21:16 2017 -0400

    docs

commit e09dec33c15fae136039c7ebd94c23000a35373f
Author: Adrian Mejia <admejiar@cisco.com>
Date:   Sat Aug 12 15:19:10 2017 -0400

    cleanup

commit 9dd6a2b9ca3b1f0d9852ecf0e64ccc6dacf04fa7
Author: Adrian Mejia <admejiar@cisco.com>
Date:   Sat Aug 12 15:05:53 2017 -0400

    enables DEBUG_HIDE_TTY_DATE
2017-09-22 15:45:06 +02:00
Ya Zhuang
c38a0166c2 remove ReDoS regexp in %o formatter (#504) 2017-09-22 00:26:33 +02:00
Josh Junon
65192b755d use contrast-bounded colors 2017-08-08 14:42:25 -07:00
antoine.leveugle
39eb2770a2 Use Date#toISOString() instead to Date#toUTCString() when output is not a TTY
Easier to parse programatically and contains milliseconds.

Closes #418.
2017-08-08 14:42:25 -07:00
Josh Junon
d5854f4eb6 support 256 colors
Closes #481.
2017-08-08 14:42:25 -07:00
Nathan Rajlich
ff432e76e9 Remove DEBUG_FD (#406)
* remove DEBUG_FD

Now simply uses `process.stderr`. Breaking API change,
for the v3 branch.

Previously used internal and undocumented Node.js APIs to support
this underly used API.

Fixes #280
Closes #386

* remove DEBUG_FD from readme
2017-08-08 14:42:25 -07:00
Douglas Wilson
1351d2f91f Inline extend function in node implementation (#452) 2017-05-10 15:51:27 -07:00
slavaGanzin
23bc780b84 fix DEBUG_MAX_ARRAY_LENGTH 2017-02-22 11:18:13 -08:00
Pooya Parsa
37e14d6aad Whitelist DEBUG_FD for values 1 and 2 only Fixes #410 (#415)
* Hide in DEBUG_FD deprecation warning in Webstorm Fixes #410

+ Intellij idea

* Hide in DEBUG_FD deprecation warning in Webstorm Fixes #410

* whitelist DEBUG_FD for values 1 and 2 only

* Use appreciate depreciation message
2017-01-23 17:42:32 -08:00
Nathan Rajlich
62df220d20 Deprecate DEBUG_FD (#405)
* remove DEBUG_FD from readme

* deprecate DEBUG_FD

* remove arrow function

ES6 habbits hit hard :D
2016-12-27 18:25:09 -06:00
Yami
f42b962792 refactor: Moved source files to /src. Moved test files to client and server side tests. Added karma for front-end testing. 2016-12-16 15:19:40 +00:00