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 0.4.0 to 0.4.1

6

lib/MagicPen.js

@@ -181,2 +181,6 @@ var shim = require('./shim');

MagicPen.prototype.prependLinesWith = function (pen) {
if (this.output.length === 0) {
return this;
}
if (typeof pen === 'function') {

@@ -186,3 +190,3 @@ return this.prependLinesWith(this.callOnClone(pen));

if (pen.output.length === 0 || this.output.length === 0) {
if (pen.output.length === 0) {
return this;

@@ -189,0 +193,0 @@ }

@@ -387,2 +387,6 @@ /*!

MagicPen.prototype.prependLinesWith = function (pen) {
if (this.output.length === 0) {
return this;
}
if (typeof pen === 'function') {

@@ -392,3 +396,3 @@ return this.prependLinesWith(this.callOnClone(pen));

if (pen.output.length === 0 || this.output.length === 0) {
if (pen.output.length === 0) {
return this;

@@ -395,0 +399,0 @@ }

2

package.json
{
"name": "magicpen",
"version": "0.4.0",
"version": "0.4.1",
"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