@funboxteam/diamonds
Advanced tools
Comparing version 6.3.1 to 6.3.2
# Changelog | ||
## 6.3.2 (09.10.2020) | ||
Fixed [colorize](./lib/colorize.ts) to wrap only provided string. | ||
## 6.3.1 (09.10.2020) | ||
@@ -4,0 +9,0 @@ |
@@ -13,10 +13,10 @@ "use strict"; | ||
dim: "\u001B[2m" + str + "\u001B[22m", | ||
black: "\u001B[30m" + str, | ||
red: "\u001B[31m" + str, | ||
green: "\u001B[32m" + str, | ||
yellow: "\u001B[33m" + str, | ||
blue: "\u001B[34m" + str, | ||
magenta: "\u001B[35m" + str, | ||
cyan: "\u001B[36m" + str, | ||
white: "\u001B[37m" + str, | ||
black: "\u001B[30m" + str + "\u001B[39m", | ||
red: "\u001B[31m" + str + "\u001B[39m", | ||
green: "\u001B[32m" + str + "\u001B[39m", | ||
yellow: "\u001B[33m" + str + "\u001B[39m", | ||
blue: "\u001B[34m" + str + "\u001B[39m", | ||
magenta: "\u001B[35m" + str + "\u001B[39m", | ||
cyan: "\u001B[36m" + str + "\u001B[39m", | ||
white: "\u001B[37m" + str + "\u001B[39m", | ||
bgBlack: "\u001B[40m" + str + "\u001B[0m", | ||
@@ -23,0 +23,0 @@ bgRed: "\u001B[41m" + str + "\u001B[0m", |
@@ -11,10 +11,10 @@ // example: console.log(colorize('foo', 'bar').red); | ||
dim: "\u001B[2m" + str + "\u001B[22m", | ||
black: "\u001B[30m" + str, | ||
red: "\u001B[31m" + str, | ||
green: "\u001B[32m" + str, | ||
yellow: "\u001B[33m" + str, | ||
blue: "\u001B[34m" + str, | ||
magenta: "\u001B[35m" + str, | ||
cyan: "\u001B[36m" + str, | ||
white: "\u001B[37m" + str, | ||
black: "\u001B[30m" + str + "\u001B[39m", | ||
red: "\u001B[31m" + str + "\u001B[39m", | ||
green: "\u001B[32m" + str + "\u001B[39m", | ||
yellow: "\u001B[33m" + str + "\u001B[39m", | ||
blue: "\u001B[34m" + str + "\u001B[39m", | ||
magenta: "\u001B[35m" + str + "\u001B[39m", | ||
cyan: "\u001B[36m" + str + "\u001B[39m", | ||
white: "\u001B[37m" + str + "\u001B[39m", | ||
bgBlack: "\u001B[40m" + str + "\u001B[0m", | ||
@@ -21,0 +21,0 @@ bgRed: "\u001B[41m" + str + "\u001B[0m", |
{ | ||
"name": "@funboxteam/diamonds", | ||
"version": "6.3.1", | ||
"version": "6.3.2", | ||
"description": "A shiny pile of typed JS helpers for everyday use", | ||
@@ -5,0 +5,0 @@ "scripts": { |
73349