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

tracer

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tracer - npm Package Compare versions

Comparing version 0.8.5 to 0.8.6

7

lib/console.js

@@ -90,9 +90,2 @@ "use strict";

var customMethos = arguments[0].methods;
if(customMethos) {
customMethos = Array.isArray(customMethos) ? customMethos : [customMethos];
_config.methods = _config.methods.concat(customMethos);
}
delete arguments[0].methods;
// union user's config and default

@@ -99,0 +92,0 @@ _config = utils.union(_config, arguments);

2

package.json

@@ -9,3 +9,3 @@ {

},
"version": "0.8.5",
"version": "0.8.6",
"author": "LI Long <lilong@gmail.com>",

@@ -12,0 +12,0 @@ "license": "MIT",

@@ -297,1 +297,10 @@ "use strict";

exports["simple"] = function() {
var logger = require('../').console();
var o = logger.log('hello');
assert.equal(o['message'], 'hello');
assert.equal(o['file'], 'test.js');
assert.equal(o['line'], 299);
assert.equal(o['level'], 0);
}
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