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.1 to 3.1.2

2

lib/ColoredConsoleSerializer.js

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

}
var result = ['%c' + content];
var result = ['%c' + content.replace(/%/g, '%%')];
var styleProperties = [];

@@ -54,0 +54,0 @@

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

}
var result = ['%c' + content];
var result = ['%c' + content.replace(/%/g, '%%')];
var styleProperties = [];

@@ -208,0 +208,0 @@

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

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

@@ -971,3 +971,9 @@ /*global describe, it, beforeEach*/

});
it('should escape literal percent signs', function () {
expect(magicpen().text('%').toString('coloredConsole'), 'to equal', [
'%c%%', ''
]);
});
});
});
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