Comparing version 2.3.1 to 2.3.2
@@ -147,3 +147,3 @@ | ||
// If debug isn't set in LS, and we're in Electron, try to load $DEBUG | ||
if ('env' in (process || {})) { | ||
if ('env' in (typeof process === 'undefined' ? {} : process)) { | ||
r = process.env.DEBUG; | ||
@@ -150,0 +150,0 @@ } |
@@ -0,1 +1,7 @@ | ||
2.3.2 / 2016-11-09 | ||
================== | ||
* Fix: be super-safe in index.js as well (@TooTallNate) | ||
* Fix: should check whether process exists (Tom Newby) | ||
2.3.1 / 2016-11-09 | ||
@@ -2,0 +8,0 @@ ================== |
@@ -5,3 +5,3 @@ { | ||
"description": "small debugging utility", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "debug", |
@@ -6,3 +6,3 @@ /** | ||
if ((process || {}).type === 'renderer') { | ||
if ((typeof process === 'undefined' ? {} : process).type === 'renderer') { | ||
module.exports = require('./browser.js'); | ||
@@ -9,0 +9,0 @@ } else { |
{ | ||
"name": "debug", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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
30962