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.9.3 to 5.10.0

10

lib/HtmlSerializer.js

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

HtmlSerializer.prototype.serialize = function (lines) {
return '<div style="font-family: monospace; white-space: nowrap">\n' + this.serializeLines(lines) + '\n</div>';
return '<div style="font-family: monospace; white-space: nowrap">' + this.serializeLines(lines) + '</div>';
};

@@ -18,4 +18,4 @@

return lines.map(function (line) {
return ' <div>' + (this.serializeLine(line).join('') || '&nbsp;') + '</div>';
}, this).join('\n');
return '<div>' + (this.serializeLine(line).join('') || '&nbsp;') + '</div>';
}, this).join('');
};

@@ -32,5 +32,5 @@

HtmlSerializer.prototype.block = function (content) {
return '<div style="display: inline-block; vertical-align: top">\n' +
return '<div style="display: inline-block; vertical-align: top">' +
this.serializeLines(content) +
'\n</div>';
'</div>';
};

@@ -37,0 +37,0 @@

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

HtmlSerializer.prototype.serialize = function (lines) {
return '<div style="font-family: monospace; white-space: nowrap">\n' + this.serializeLines(lines) + '\n</div>';
return '<div style="font-family: monospace; white-space: nowrap">' + this.serializeLines(lines) + '</div>';
};

@@ -276,4 +276,4 @@

return lines.map(function (line) {
return ' <div>' + (this.serializeLine(line).join('') || '&nbsp;') + '</div>';
}, this).join('\n');
return '<div>' + (this.serializeLine(line).join('') || '&nbsp;') + '</div>';
}, this).join('');
};

@@ -290,5 +290,5 @@

HtmlSerializer.prototype.block = function (content) {
return '<div style="display: inline-block; vertical-align: top">\n' +
return '<div style="display: inline-block; vertical-align: top">' +
this.serializeLines(content) +
'\n</div>';
'</div>';
};

@@ -295,0 +295,0 @@

{
"name": "magicpen",
"version": "5.9.3",
"version": "5.10.0",
"description": "Styled output in both consoles and browsers",

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

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