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

magicpen

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magicpen - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8

6

lib/MagicPen.js

@@ -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

2

package.json
{
"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",

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