Packages

debug

4.4.3 · 13 Sep 2025MIT930.4M / weekRepositoryHomepagenpmAtom feed

Your version

3.0.0

major8 Aug 2017Where it was published

3.2.7 is the newest release of 3.x.

In short

4 breaking8 new1 fixed2 internal

  • breaking

    Remove DEBUG_FD

  • breaking

    Make millisecond timer namespace specific and allow 'always enabled' output

  • breaking

    Use Date#toISOString() instead to Date#toUTCString() when output is not a TTY

  • breaking

    enabled() updates existing debug instances

Security

2 advisories affect 3.0.0; 3.2.7 fixes them

Release note

Featuring pretty new colors!

Major Changes

  • breaking

    Remove DEBUG_FD

  • breaking

    Make millisecond timer namespace specific and allow 'always enabled' output

  • breaking

    Use Date#toISOString() instead to Date#toUTCString() when output is not a TTY

  • breaking

    enabled() updates existing debug instances

Minor Changes

  • Add destroy() function

  • Document enabled flag

  • Support 256 colors

  • Update "browserify" to v14.4.0: 826fd94

  • Separate Node.js and web browser examples: 87880f6

  • More readme screenshots replaced: 25eb545

  • Add Namespace Colors section to readme: 8b5c438

  • Separate the Node and Browser tests in Travis: f178d86

Patches

  • Component: Update "ms" to v2.0.0: d2dd80a