Comparing version 0.0.7 to 0.0.8
@@ -213,9 +213,14 @@ | ||
return stream.on('data', function(chunk) { | ||
var colorLines, lines; | ||
lines = chunk.split('\n'); | ||
if (args.pattern) { | ||
return log(pattern(chunk)); | ||
colorLines = lines.map(function(l) { | ||
return pattern(l); | ||
}); | ||
} else { | ||
return log(chunk.split('\n').map(function(l) { | ||
colorLines = lines.map(function(l) { | ||
return funkyBgrd(dimText(l)); | ||
}).join(colors.reset('\n'))); | ||
}); | ||
} | ||
return log(colorLines.join(colors.reset('\n'))); | ||
}); | ||
@@ -222,0 +227,0 @@ }; |
{ | ||
"name": "colorcat", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "color's cat", | ||
@@ -5,0 +5,0 @@ "main": "js/colorcat.js", |
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
7653
208