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

@travetto/terminal

Package Overview
Dependencies
Maintainers
0
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 5.0.11 to 5.0.12

2

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

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

@@ -79,4 +79,4 @@ import tty from 'node:tty';

if (q.length && restorePosition) {
q.unshift(Codes.POSITION_SAVE);
q.push(Codes.POSITION_RESTORE);
this.storePosition(true);
this.restorePosition();
}

@@ -90,4 +90,4 @@ if (q.length && !this.#term.output.write(q.join(''))) {

write(...text: (string | number)[]): this {
this.#buffer.push(...text);
write(text: (string | number), beforeAll = false): this {
beforeAll ? this.#buffer.unshift(text) : this.#buffer.push(text);
return this;

@@ -97,4 +97,4 @@ }

/** Stores current cursor position, if called multiple times before restore, last one ones */
storePosition(): this {
return this.write(Codes.POSITION_SAVE);
storePosition(beforeAll = false): this {
return this.write(Codes.POSITION_SAVE, beforeAll);
}

@@ -101,0 +101,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