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.1.0 to 3.1.1

2

lib/ColoredConsoleSerializer.js

@@ -24,3 +24,3 @@ var cssStyles = require('./cssStyles');

if (i > 0) {
result.push(['\n ']);
result.push(['%c\n ', '']);
}

@@ -27,0 +27,0 @@ Array.prototype.push.apply(result, this.serializeLine(line));

@@ -178,3 +178,3 @@ /*!

if (i > 0) {
result.push(['\n ']);
result.push(['%c\n ', '']);
}

@@ -181,0 +181,0 @@ Array.prototype.push.apply(result, this.serializeLine(line));

{
"name": "magicpen",
"version": "3.1.0",
"version": "3.1.1",
"description": "Styled output in both consoles and browsers",

@@ -5,0 +5,0 @@ "main": "./lib/MagicPen.js",

@@ -967,4 +967,4 @@ /*global describe, it, beforeEach*/

expect(pen.toString('coloredConsole'), 'to equal', [
'%cHello%c // %cThis is a\n %c %c // %c multiline comment',
'color: red', 'color: gray', '', '', 'color: gray', ''
'%cHello%c // %cThis is a%c\n %c %c // %c multiline comment',
'color: red', 'color: gray', '', '', '', 'color: gray', ''
]);

@@ -971,0 +971,0 @@ });

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