Socket
Socket
Sign inDemoInstall

ansi-escapes

Package Overview
Dependencies
1
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.0 to 4.2.0

8

package.json
{
"name": "ansi-escapes",
"version": "4.1.0",
"version": "4.2.0",
"description": "ANSI escape codes for manipulating the terminal",

@@ -48,7 +48,7 @@ "license": "MIT",

"dependencies": {
"type-fest": "^0.3.0"
"type-fest": "^0.5.2"
},
"devDependencies": {
"@types/node": "^11.12.2",
"ava": "^1.4.1",
"@types/node": "^12.0.7",
"ava": "^2.1.0",
"tsd": "^0.7.1",

@@ -55,0 +55,0 @@ "xo": "^0.24.0"

@@ -26,7 +26,7 @@ # ansi-escapes [![Build Status](https://travis-ci.org/sindresorhus/ansi-escapes.svg?branch=master)](https://travis-ci.org/sindresorhus/ansi-escapes)

### cursorTo(x, [y])
### cursorTo(x, y?)
Set the absolute position of the cursor. `x0` `y0` is the top left of the screen.
### cursorMove(x, [y])
### cursorMove(x, y?)

@@ -137,3 +137,3 @@ Set the position of the cursor relative to its current position.

### image(input, [options])
### image(filePath, options?)

@@ -154,6 +154,8 @@ Display an image.

Type: `object`
##### width
##### height
Type: `string` `number`
Type: `string | number`

@@ -172,3 +174,3 @@ The width and height are given as a number followed by a unit, or the word "auto".

### iTerm.setCwd([path])
### iTerm.setCwd(path?)

@@ -186,4 +188,12 @@ Type: `string`<br>

## License
---
MIT © [Sindre Sorhus](https://sindresorhus.com)
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-ansi-escapes?utm_source=npm-ansi-escapes&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>
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