New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

another-ansi

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

another-ansi - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

dist/index.d.ts

@@ -11,3 +11,4 @@ export declare const TEXT_COLOR_CODE = 38;

export declare enum CommandType {
Clear = "clear"
Clear = "clear",
Backspace = "backspace"
}

@@ -14,0 +15,0 @@ export declare enum ModifierType {

@@ -48,2 +48,3 @@ "use strict";

CommandType["Clear"] = "clear";
CommandType["Backspace"] = "backspace";
})(CommandType = exports.CommandType || (exports.CommandType = {}));

@@ -203,2 +204,4 @@ var ModifierType;

return "".concat(this.escapeSequence, "[2J").concat(this.escapeSequence, "[3J").concat(this.escapeSequence, "[;H");
case CommandType.Backspace:
return "".concat(this.escapeSequence, "[D").concat(this.escapeSequence, "[K");
default:

@@ -237,2 +240,3 @@ throw new Error('Unknown command.');

_a[CommandType.Clear] = this.command(CommandType.Clear),
_a[CommandType.Backspace] = this.command(CommandType.Backspace),
_a)

@@ -239,0 +243,0 @@ };

{
"name": "another-ansi",
"version": "1.0.1",
"version": "1.0.2",
"description": "Another ansi library",

@@ -5,0 +5,0 @@ "main": "dist/index",

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