New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

color-cc

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-cc - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

1

index.d.ts

@@ -84,2 +84,3 @@ declare const foreAnsiCode: {

fail: ColorFunc;
def: ColorFunc;
};

@@ -86,0 +87,0 @@ /**

@@ -252,3 +252,3 @@ "use strict";

};
// × xxxxx
// ✘ xxxxx
colorsTool.fail = function (str) {

@@ -258,2 +258,7 @@ str = typeof str === 'string' ? str : JSON.stringify(str);

};
// > xxxxx
colorsTool.def = function (str) {
str = typeof str === 'string' ? str : JSON.stringify(str);
return `${colorsTool.gray('>')} ${str?.replace('\r', '')}`;
};
return colorsTool;

@@ -260,0 +265,0 @@ }

2

package.json
{
"name": "color-cc",
"version": "0.0.4",
"version": "0.0.5",
"description": "Get colors in your node.js console, support commonjs / typescript / esnext, simplified version of colors",

@@ -5,0 +5,0 @@ "author": "Froguard <figure_wf@163.com>",

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