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

@travetto/terminal

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/terminal - npm Package Compare versions

Comparing version 3.3.0 to 3.3.1

2

package.json
{
"name": "@travetto/terminal",
"version": "3.3.0",
"version": "3.3.1",
"description": "General terminal support",

@@ -5,0 +5,0 @@ "keywords": [

@@ -44,6 +44,7 @@ import tty from 'tty';

static async readBackgroundScheme(
stream: tty.WriteStream,
query: () => Promise<RGB | undefined> | RGB | undefined,
env: string | undefined = process.env.COLORFGBG
): Promise<TermColorScheme | undefined> {
let color = await query();
let color = stream.isTTY ? await query() : undefined;
if (!color && env) {

@@ -50,0 +51,0 @@ const [, bg] = env.split(';');

@@ -94,2 +94,3 @@ import tty from 'tty';

this.#backgroundScheme ??= await ColorOutputUtil.readBackgroundScheme(
this.#output,
() => this.interactive ? this.#query.backgroundColor() : undefined

@@ -96,0 +97,0 @@ );

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