Comparing version 3.0.7 to 3.0.8
@@ -23,3 +23,7 @@ /*global window*/ | ||
if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') { | ||
MagicPen.defaultFormat = 'html'; // Browser | ||
if (window.mochaPhantomJS) { | ||
MagicPen.defaultFormat = 'ansi'; // colored console | ||
} else { | ||
MagicPen.defaultFormat = 'html'; // Browser | ||
} | ||
} else if (require('supports-color')) { | ||
@@ -26,0 +30,0 @@ MagicPen.defaultFormat = 'ansi'; // colored console |
@@ -266,3 +266,7 @@ /*! | ||
if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') { | ||
MagicPen.defaultFormat = 'html'; // Browser | ||
if (window.mochaPhantomJS) { | ||
MagicPen.defaultFormat = 'ansi'; // colored console | ||
} else { | ||
MagicPen.defaultFormat = 'html'; // Browser | ||
} | ||
} else if (require(13)) { | ||
@@ -269,0 +273,0 @@ MagicPen.defaultFormat = 'ansi'; // colored console |
{ | ||
"name": "magicpen", | ||
"version": "3.0.7", | ||
"version": "3.0.8", | ||
"description": "Styled output in both consoles and browsers", | ||
@@ -5,0 +5,0 @@ "main": "./lib/MagicPen.js", |
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
469256
2752