Comparing version 2.6.2 to 2.6.3
n.n.n / 2017-03-10 | ||
2.6.3 / 2017-03-13 | ||
================== | ||
* Fix: Fix for electron reference to `process.env.DEBUG` (#431, @paulcbetts) | ||
* Docs: Changelog fix (@thebigredgeeK) | ||
2.6.2 / 2017-03-10 | ||
================== | ||
* Fix: DEBUG_MAX_ARRAY_LENGTH (#420, @slavaGanzin) | ||
* Docs: Add backers and sponsors from Open Collective (#422, @piamancini) | ||
* Docs: Add Slackin invite badge (@tootallnate) | ||
2.6.1 / 2017-02-10 | ||
@@ -27,3 +34,3 @@ ================== | ||
* Fix: reference error on window within webworkers (#393, @KlausTrainer) | ||
* Docs: fixed README typo (#391, @lurch) | ||
* Docs: fixed README typo (#391, @lurch) | ||
* Docs: added notice about v3 api discussion (@thebigredgeek) | ||
@@ -43,3 +50,3 @@ | ||
* Fix: babel-loader compatibility (#383, @escwald) | ||
* Misc: removed built asset from repo and publications (@thebigredgeek) | ||
* Misc: removed built asset from repo and publications (@thebigredgeek) | ||
* Misc: moved source files to /src (#378, @yamikuronue) | ||
@@ -46,0 +53,0 @@ * Test: added karma integration and replaced babel with browserify for browser tests (#378, @yamikuronue) |
@@ -5,3 +5,3 @@ { | ||
"description": "small debugging utility", | ||
"version": "2.6.2", | ||
"version": "2.6.3", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "debug", |
{ | ||
"name": "debug", | ||
"version": "2.6.2", | ||
"version": "2.6.3", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -151,10 +151,13 @@ /** | ||
function load() { | ||
var r; | ||
try { | ||
return exports.storage.debug; | ||
r = exports.storage.debug; | ||
} catch(e) {} | ||
// If debug isn't set in LS, and we're in Electron, try to load $DEBUG | ||
if (typeof process !== 'undefined' && 'env' in process) { | ||
return process.env.DEBUG; | ||
if (!r && typeof process !== 'undefined' && 'env' in process) { | ||
r = process.env.DEBUG; | ||
} | ||
return r; | ||
} | ||
@@ -161,0 +164,0 @@ |
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
50263
620