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 8.2.1 to 8.3.0

5

CHANGELOG.md
# Changelog
## 8.3.0 (21.12.2021)
Added `bold` mode to [colorize](./lib/colorize.ts).
## 8.2.1 (03.08.2021)

@@ -4,0 +9,0 @@

1

dist/cjs/colorize.js

@@ -12,2 +12,3 @@ "use strict";

reset: "\u001B[0m" + str + "\u001B[0m",
bold: "\u001B[1m" + str + "\u001B[22m",
dim: "\u001B[2m" + str + "\u001B[22m",

@@ -14,0 +15,0 @@ black: "\u001B[30m" + str + "\u001B[39m",

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

reset: "\u001B[0m" + str + "\u001B[0m",
bold: "\u001B[1m" + str + "\u001B[22m",
dim: "\u001B[2m" + str + "\u001B[22m",

@@ -12,0 +13,0 @@ black: "\u001B[30m" + str + "\u001B[39m",

2

dist/types/colorize.d.ts

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

declare type colors = 'reset' | 'dim' | 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'bgBlack' | 'bgRed' | 'bgGreen' | 'bgYellow' | 'bgBlue' | 'bgMagenta' | 'bgCyan' | 'bgWhite';
declare type colors = 'reset' | 'bold' | '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": "8.2.1",
"version": "8.3.0",
"description": "A shiny pile of typed JS helpers for everyday use",

@@ -11,3 +11,4 @@ "scripts": {

"build": "npm run build-esm-and-types && npm run build-cjs",
"prepack": "npm run build"
"prepack": "npm run build",
"prepublishOnly": "lawyer"
},

@@ -14,0 +15,0 @@ "sideEffects": false,

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