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

@funboxteam/diamonds

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@funboxteam/diamonds - npm Package Compare versions

Comparing version 6.2.1 to 6.3.0

4

CHANGELOG.md
# Changelog
## 6.3.0 (08.10.2020)
Add `dim` and `reset` colors to [colorize](./lib/colorize.ts).
## 6.2.1 (05.10.2020)

@@ -4,0 +8,0 @@

@@ -11,2 +11,4 @@ "use strict";

return {
reset: "\u001B[0m" + str + "\u001B[0m",
dim: "\u001B[2m" + str + "\u001B[22m",
black: "\u001B[30m" + str,

@@ -13,0 +15,0 @@ red: "\u001B[31m" + str,

@@ -9,2 +9,4 @@ // example: console.log(colorize('foo', 'bar').red);

return {
reset: "\u001B[0m" + str + "\u001B[0m",
dim: "\u001B[2m" + str + "\u001B[22m",
black: "\u001B[30m" + str,

@@ -11,0 +13,0 @@ red: "\u001B[31m" + str,

2

dist/types/colorize.d.ts

@@ -1,3 +0,3 @@

declare type colors = 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'bgBlack' | 'bgRed' | 'bgGreen' | 'bgYellow' | 'bgBlue' | 'bgMagenta' | 'bgCyan' | 'bgWhite';
declare type colors = 'reset' | 'dim' | 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'bgBlack' | 'bgRed' | 'bgGreen' | 'bgYellow' | 'bgBlue' | 'bgMagenta' | 'bgCyan' | 'bgWhite';
declare const _default: (...args: string[]) => Record<colors, string>;
export default _default;
{
"name": "@funboxteam/diamonds",
"version": "6.2.1",
"version": "6.3.0",
"description": "A shiny pile of typed JS helpers for everyday use",

@@ -5,0 +5,0 @@ "scripts": {

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