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

@types/terminal-kit

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/terminal-kit - npm Package Compare versions

Comparing version 1.34.1 to 2.5.0

5

terminal-kit/index.d.ts

@@ -1,6 +0,7 @@

// Type definitions for terminal-kit 1.34
// Type definitions for terminal-kit 2.5
// Project: https://github.com/cronvel/terminal-kit#readme
// Definitions by: katsanva <https://github.com/katsanva>
// Totto16 <https://github.com/Totto16/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.7
// TypeScript Version: 4.9

@@ -7,0 +8,0 @@ import Rect = require("./Rect");

11

terminal-kit/package.json
{
"name": "@types/terminal-kit",
"version": "1.34.1",
"version": "2.5.0",
"description": "TypeScript definitions for terminal-kit",

@@ -12,2 +12,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/terminal-kit",

"githubUsername": "katsanva"
},
{
"name": "Totto16",
"url": "https://github.com/Totto16",
"githubUsername": "Totto16"
}

@@ -26,4 +31,4 @@ ],

},
"typesPublisherContentHash": "9354b8e7ca3c1e5be92533acd1ef1c9ca80f62db7811dffad962eaefbb7a4186",
"typeScriptVersion": "4.0"
"typesPublisherContentHash": "e70b068a22b0b1d8aa0c8f3308f3c07b484e5e449b54546d0eed17820bdecd5d",
"typeScriptVersion": "4.9"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 29 Jun 2022 07:02:21 GMT
* Last updated: Thu, 18 Aug 2022 20:32:34 GMT
* Dependencies: [@types/nextgen-events](https://npmjs.com/package/@types/nextgen-events)

@@ -17,2 +17,2 @@ * Global values: `TextBuffer`

# Credits
These definitions were written by [katsanva](https://github.com/katsanva).
These definitions were written by [katsanva](https://github.com/katsanva), and [Totto16](https://github.com/Totto16).

@@ -199,2 +199,5 @@ import EventEmitter = require("nextgen-events");

spinner(options?: AnimatedTextOptions): Promise<AnimatedText>;
spinner(animation: AnimationOption): Promise<AnimatedText>;
wrapColumn(options?: {

@@ -579,5 +582,45 @@ width: null | number;

borderAttr?: object;
borderChars?: object | string;
borderChars?: CustomBorderObject | BuiltinBorder;
textBoxKeyBindings?: object;
}
type AnimationOption = BuiltinAnimation | AnimationArray;
// see https://github.com/cronvel/terminal-kit/blob/master/doc/spChars.md#ref.spChars.animation
type BuiltinAnimation =
| 'asciiSpinner'
| 'lineSpinner'
| 'dotSpinner'
| 'bitDots'
| 'impulse'
| 'unboxing'
| 'unboxing-color';
type BuiltinBorder = 'plain' | 'empty' | 'ascii' | 'light' | 'lightRounded' | 'heavy' | 'double' | 'dotted';
type AnimationArray = string[];
interface CustomBorderObject {
vertical: string;
horizontal: string;
topLeft: string;
topRight: string;
bottomLeft: string;
bottomRight: string;
topTee: string;
bottomTee: string;
leftTee: string;
rightTee: string;
cross: string;
}
interface AnimatedTextOptions {
animation: AnimationOption;
internal?: boolean;
attr?: object;
}
interface AnimatedText {
animate(speed: number | false): void;
}
}
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