Socket
Socket
Sign inDemoInstall

ansi-styles

Package Overview
Dependencies
0
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.1.0

15

index.d.ts

@@ -15,6 +15,2 @@ declare namespace ansiStyles {

interface ColorBase {
ansi256(code: number): string;
ansi16m(red: number, green: number, blue: number): string;
/**

@@ -24,2 +20,6 @@ The ANSI terminal control sequence for ending this color.

readonly close: string;
ansi256(code: number): string;
ansi16m(red: number, green: number, blue: number): string;
}

@@ -54,2 +54,9 @@

/**
Make text overline.
Supported on VTE-based terminals, the GNOME terminal, mintty, and Git Bash.
*/
readonly overline: CSPair;
/**
Inverse background and foreground colors.

@@ -56,0 +63,0 @@ */

@@ -19,2 +19,3 @@ 'use strict';

underline: [4, 24],
overline: [53, 55],
inverse: [7, 27],

@@ -21,0 +22,0 @@ hidden: [8, 28],

{
"name": "ansi-styles",
"version": "5.0.0",
"version": "5.1.0",
"description": "ANSI escape codes for styling strings in the terminal",

@@ -47,8 +47,7 @@ "license": "MIT",

"devDependencies": {
"@types/color-convert": "^1.9.0",
"ava": "^2.3.0",
"ava": "^2.4.0",
"svg-term-cli": "^2.1.1",
"tsd": "^0.11.0",
"xo": "^0.25.3"
"tsd": "^0.14.0",
"xo": "^0.37.1"
}
}

@@ -45,2 +45,3 @@ # ansi-styles

- `underline`
- `overline` *Supported on VTE-based terminals, the GNOME terminal, mintty, and Git Bash.*
- `inverse`

@@ -47,0 +48,0 @@ - `hidden`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc