Comparing version 3.1.0 to 3.1.1
@@ -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 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
474364