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 5.1.0 to 5.2.0

6

lib/MagicPen.js

@@ -34,3 +34,5 @@ /*global window*/

if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {
if (typeof exports === 'object' && typeof exports.nodeName !== 'string' && require('supports-color')) {
MagicPen.defaultFormat = 'ansi'; // colored console
} else if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {
if (window.mochaPhantomJS || (window.__karma__ && window.__karma__.config.captureConsole)) {

@@ -41,4 +43,2 @@ MagicPen.defaultFormat = 'ansi'; // colored console

}
} else if (require('supports-color')) {
MagicPen.defaultFormat = 'ansi'; // colored console
} else {

@@ -45,0 +45,0 @@ MagicPen.defaultFormat = 'text'; // Plain text

@@ -374,3 +374,5 @@ /*!

if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {
if (typeof exports === 'object' && typeof exports.nodeName !== 'string' && require(18)) {
MagicPen.defaultFormat = 'ansi'; // colored console
} else if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {
if (window.mochaPhantomJS || (window.__karma__ && window.__karma__.config.captureConsole)) {

@@ -381,4 +383,2 @@ MagicPen.defaultFormat = 'ansi'; // colored console

}
} else if (require(18)) {
MagicPen.defaultFormat = 'ansi'; // colored console
} else {

@@ -385,0 +385,0 @@ MagicPen.defaultFormat = 'text'; // Plain text

{
"name": "magicpen",
"version": "5.1.0",
"version": "5.2.0",
"description": "Styled output in both consoles and browsers",

@@ -18,3 +18,3 @@ "main": "./lib/MagicPen.js",

"prepublish": "(echo '/*!' && <LICENSE sed -e's/^/ * /' | sed -e's/\\s+$//' && echo ' */' && browserify -p bundle-collapser/plugin -e lib/MagicPen -s weknowhow.MagicPen) > magicpen.js",
"coverage": "NODE_ENV=development istanbul cover _mocha -- --reporter dot"
"coverage": "NODE_ENV=development istanbul cover _mocha --report text --report lcov -- --reporter dot && echo google-chrome coverage/lcov-report/index.html"
},

@@ -27,8 +27,8 @@ "author": "Sune Simonsen",

"del": "0.1.1",
"istanbul": "0.3.0",
"istanbul": "0.3.17",
"jshint": "*",
"mocha": "1.20.1",
"sinon": "1.9.1",
"unexpected": "^7.0.0",
"unexpected-sinon": "^5.1.2"
"unexpected": "9.5.0",
"unexpected-sinon": "6.4.2"
},

@@ -35,0 +35,0 @@ "dependencies": {

Sorry, the diff of this file is too big to display

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