Comparing version 0.2.23 to 0.3.0
@@ -14,3 +14,3 @@ | ||
var log = function(){ | ||
var log = function() { | ||
var items = Array.prototype.slice.call( arguments, 0 ); | ||
@@ -17,0 +17,0 @@ |
@@ -0,6 +1,18 @@ | ||
!function() { | ||
'use strict'; | ||
var Class = require('ee-class') | ||
, type = require('ee-types') | ||
, fs = require('fs') | ||
, util = require('util'); | ||
var stylize, project; | ||
// colorful strings | ||
var stylize = function (str, style) { | ||
stylize = function (str, style) { | ||
var styles = { | ||
@@ -37,9 +49,5 @@ 'bold': [1, 22] | ||
var Class = require('ee-class') | ||
, type = require('ee-types') | ||
, fs = require('fs') | ||
, util = require('util'); | ||
var project = new (new Class({ | ||
// old dependency emulation | ||
project = new (new Class({ | ||
init: function() { | ||
@@ -70,6 +78,9 @@ var file = process.argv[1] | ||
module.exports = new Class({ | ||
blacklist: [] | ||
module.exports = new Class({ | ||
init: function() { | ||
this.blacklist = []; | ||
} | ||
@@ -242,2 +253,7 @@ | ||
// ee loggable object | ||
else if (data._ee_serializable) { | ||
this._dir(data.toJSON(), margin, null, first, knownObjects); | ||
} | ||
// date | ||
@@ -404,2 +420,3 @@ else if (data instanceof Date) { | ||
} | ||
}); | ||
}); | ||
}(); |
{ | ||
"name" : "ee-log" | ||
, "description" : "simple, helpful & colorful logs" | ||
, "version" : "0.2.23" | ||
, "version" : "0.3.0" | ||
, "homepage" : "https://github.com/eventEmitter/ee-log" | ||
@@ -19,3 +19,3 @@ , "author" : "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)" | ||
, "dependencies": { | ||
"ee-class" : "0.4.x" | ||
"ee-class" : "0.1.x" | ||
, "ee-types" : "0.1.x" | ||
@@ -22,0 +22,0 @@ } |
@@ -7,7 +7,7 @@ | ||
, lens = [] | ||
, results = [199,31,79,11,176,232,186,31,50,11,190,31,48,11,188,90,61,90,108,105,119,101,111,113,97,90,90,173,191,175,188,90,46,90,108,105,119,101,111,113,97,90,90,238,192,202]; | ||
, results = [199,31,79,11,176,231,186,31,50,11,190,31,48,11,188,90,61,90,108,105,119,101,111,113,97,90,90,173,191,175,188,90,46,90,108,105,119,101,111,113,97,90,90,238,192,202]; | ||
console.log = function( data ){ | ||
//lens.push( data.length ); | ||
//lens.push( data.length); | ||
assert.equal( data.length, results[ index ], "log line has the wrong length: " + data ); | ||
@@ -14,0 +14,0 @@ index++; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20113
374
+ Addedee-class@0.1.5(transitive)
- Removedee-class@0.4.0(transitive)
Updatedee-class@0.1.x