Permalink
Browse files

Release 0.6.0

  • Loading branch information...
1 parent e7b8954 commit a0b3cceb19a525b992d843ae61090e96ed598b1f @tj tj committed Mar 16, 2012
Showing with 11 additions and 6 deletions.
  1. +6 −0 History.md
  2. +4 −5 lib/debug.js
  3. +1 −1 package.json
View
@@ -1,4 +1,10 @@
+0.6.0 / 2012-03-16
+==================
+
+ * Added support for "-" prefix in DEBUG [Vinay Pulim]
+ * Added `.enabled` flag to the node version [TooTallNate]
+
0.5.0 / 2012-02-02
==================
View
@@ -21,23 +21,22 @@ module.exports = debug;
* Library version.
*/
-exports.version = '0.5.0';
+exports.version = '0.6.0';
/**
* Enabled debuggers.
*/
-var names = [],
- skips = [];
+var names = []
+ , skips = [];
(process.env.DEBUG || '')
.split(/[\s,]+/)
.forEach(function(name){
name = name.replace('*', '.*?');
if (name[0] === '-') {
skips.push(new RegExp('^' + name.substr(1) + '$'));
- }
- else {
+ } else {
names.push(new RegExp('^' + name + '$'));
}
});
View
@@ -1,6 +1,6 @@
{
"name": "debug"
- , "version": "0.5.0"
+ , "version": "0.6.0"
, "description": "small debugging utility"
, "keywords": ["debug", "log", "debugger"]
, "author": "TJ Holowaychuk <tj@vision-media.ca>"

0 comments on commit a0b3cce

Please sign in to comment.