Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ee-log

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ee-log - npm Package Compare versions

Comparing version 0.2.23 to 0.3.0

2

lib/log.js

@@ -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++;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc