Permalink
Commits on Aug 8, 2017
  1. remove v3 discussion note for now

    TooTallNate committed Aug 8, 2017
  2. Release 3.0.0

    TooTallNate committed Aug 8, 2017
  3. fix browser test 😵

    TooTallNate committed Aug 8, 2017
  4. fix `make test`

    TooTallNate committed Aug 8, 2017
  5. fix lint

    TooTallNate committed Aug 8, 2017
  6. readme++

    TooTallNate committed Aug 8, 2017
  7. example: use %o formatter

    TooTallNate committed Aug 8, 2017
  8. readme refactor

    TooTallNate committed Aug 8, 2017
  9. Makefile tweaks

    Re-introduce `make browser` to make a standalone build of `debug.js`
    for the web browser.
    TooTallNate committed Aug 8, 2017
  10. fix lint

    TooTallNate committed Aug 8, 2017
  11. add Web Browser 256 colors

    Like #481, but for the web browser.
    TooTallNate committed Aug 8, 2017
  12. use contrast-bounded colors

    Qix- committed with TooTallNate Aug 8, 2017
  13. update `make lint`

    TooTallNate committed Aug 8, 2017
  14. Use Date#toISOString() instead to Date#toUTCString() when output is n…

    …ot a TTY
    
    Easier to parse programatically and contains milliseconds.
    
    Closes #418.
    denouche committed with TooTallNate Jan 29, 2017
  15. support 256 colors

    Closes #481.
    Qix- committed with TooTallNate Aug 8, 2017
  16. `enabled()` updates existing debug instances, add `destroy()` function (

    #440)
    
    * dynamically updatable instances
    
    * add a `destroy()` function to debug instances
    
    So that "dynamically created instances" can clean up after themselves
    TooTallNate committed Apr 12, 2017
  17. Make millisecond timer namespace specific and allow 'always enabled' …

    …output (#408)
    
    * Make millisecond timer namespace specific
    
    When debugging node apps, I find it much more useful for the
    millisecond timer to be relative to last message from the same
    namespace instead of any message. This is especially true when I'm
    debugging across multiple libraries or multiple levels in the same
    module and I'm interested in seeing all the messages but also need to
    compare times from specific levels.
    
    * Enable 'always enabled' output
    
    Having to deal with 2 different logging mechanisms, one for debugging
    and one for normal output, can be a nuisance.  It would be much easier to
    always use the same facility and semantics for both.  This patch allows
    an 'always enabled' namespace to be specified by appending a single '*'
    to the namespace name.
    
    var alwaysOn = require('debug')('normal:messages*');
    alwaysOn('This will always display regardless of DEBUG');
    gtjoseph committed with TooTallNate Jan 4, 2017
  18. 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
    TooTallNate committed Dec 28, 2016
Commits on Aug 4, 2017
  1. docs(readme): fix typo (#473)

    FantasticFiasco committed with TooTallNate Aug 4, 2017
Commits on Jun 15, 2017
  1. document .enabled flag (#465)

    Was added in #15, should be documented (e.g #423)
    timruffles committed with thebigredgeek Jun 15, 2017
Commits on May 18, 2017
  1. Release 2.6.8

    TooTallNate committed May 18, 2017
  2. Check for undefined on browser globals (#462)

    * Check for undefined on browser globals.
    
    Not all environments include these globals. For example, web workers do not have global window objects.
    
    * remove redundant global checks
    marbemac committed with TooTallNate May 18, 2017
Commits on May 17, 2017
  1. release 2.6.7

    thebigredgeek committed May 17, 2017
  2. Fix Regular Expression Denial of Service (ReDoS)

    hubdotcom committed with TooTallNate May 16, 2017
Commits on May 12, 2017
  1. update "debug" to v1.0.0 (#454)

    dougwilson committed with thebigredgeek May 12, 2017
  2. Fix typo (#455)

    Enables/disabled -> Enables/disabled
    msasad committed with thebigredgeek May 12, 2017
Commits on May 10, 2017
  1. Inline extend function in node implementation (#452)

    dougwilson committed with thebigredgeek May 10, 2017