ansi-styles
Advanced tools
Comparing version 6.2.0 to 6.2.1
10
index.js
@@ -68,2 +68,7 @@ const ANSI_BACKGROUND_OFFSET = 10; | ||
export const modifierNames = Object.keys(styles.modifier); | ||
export const foregroundColorNames = Object.keys(styles.color); | ||
export const backgroundColorNames = Object.keys(styles.bgColor); | ||
export const colorNames = [...foregroundColorNames, ...backgroundColorNames]; | ||
function assembleStyles() { | ||
@@ -220,6 +225,1 @@ const codes = new Map(); | ||
export default ansiStyles; | ||
export const modifierNames = Object.keys(styles.modifier); | ||
export const foregroundColorNames = Object.keys(styles.color); | ||
export const backgroundColorNames = Object.keys(styles.bgColor); | ||
export const colorNames = [...foregroundColorNames, ...backgroundColorNames]; |
{ | ||
"name": "ansi-styles", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "ANSI escape codes for styling strings in the terminal", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package