Update debug to the latest version 🚀 #1292
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version 3.0.0 of debug just got published.
The version 3.0.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of debug.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
3.0.0Major Changes
DEBUG_FD: #406Date#toISOString()instead toDate#toUTCString()when output is not a TTY: #418Minor Changes
enabledflag: #465enabled()updates existing debug instances, adddestroy()function: #440Patches
Credits
Huge thanks to @gtjoseph, @timruffles and @FantasticFiasco for their help!
Commits
The new version differs by 27 commits.
52b894cRelease 3.0.0d2dd80acomponent: update "ms" to v2.0.06752953fix browser test 😵f6f6213removemake coverallsfrom travisf178d86attempt to separate the Node and Browser tests in Travisd73c4aefixmake test402c856fix lint87e7399readme++8b5c438add Namespace Colors section to readme25eb545more readme screenshots replaced31f3343example: use %o formatterdfbac9creadme refactorce1a236Makefile tweaks87880f6separate Node.js and web browser examples25e07c7don't call splice() when indexOf() returns -1There are 27 commits in total.
See the full diff
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴