Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

colorcat

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

colorcat - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

11

js/colorcat.js

@@ -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",

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