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

debug

Package Overview
Dependencies
Maintainers
4
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

debug - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

index.js

6

browser.js

@@ -145,2 +145,8 @@

} catch(e) {}
// If debug isn't set in LS, and we're in Electron, try to load $DEBUG
if ('env' in (process || {})) {
r = process.env.DEBUG;
}
return r;

@@ -147,0 +153,0 @@ }

@@ -0,2 +1,9 @@

2.3.1 / 2016-11-09
==================
* Fix: Added electron compatibility (#324, @paulcbetts)
* Improvement: Added performance optimizations (@tootallnate)
* Readme: Corrected PowerShell environment variable example (#252, @gimre)
* Misc: Removed yarn lock file from source control (#321, @fengmk2)
2.3.0 / 2016-11-07

@@ -3,0 +10,0 @@ ==================

2

component.json

@@ -5,3 +5,3 @@ {

"description": "small debugging utility",
"version": "2.2.0",
"version": "2.3.1",
"keywords": [

@@ -8,0 +8,0 @@ "debug",

@@ -86,3 +86,6 @@

var args = Array.prototype.slice.call(arguments);
var args = new Array(arguments.length);
for (var i = 0; i < args.length; i++) {
args[i] = arguments[i];
}

@@ -114,5 +117,5 @@ args[0] = exports.coerce(args[0]);

if ('function' === typeof exports.formatArgs) {
args = exports.formatArgs.apply(self, args);
}
// apply env-specific formatting
args = exports.formatArgs.apply(self, args);
var logFn = enabled.log || exports.log || console.log.bind(console);

@@ -119,0 +122,0 @@ logFn.apply(self, args);

@@ -83,8 +83,8 @@

function formatArgs() {
var args = [];
var len = arguments.length;
var args = new Array(len);
var useColors = this.useColors;
var name = this.namespace;
for (var i = 0; i < len; i++) {
args.push(arguments[i]);
args[i] = arguments[i];
}

@@ -91,0 +91,0 @@

{
"name": "debug",
"version": "2.3.0",
"version": "2.3.1",
"repository": {

@@ -27,3 +27,3 @@ "type": "git",

},
"main": "./node.js",
"main": "./index.js",
"browser": "./browser.js",

@@ -30,0 +30,0 @@ "component": {

Sorry, the diff of this file is not supported yet

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