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

cli-cursor

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-cursor - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

16

index.js

@@ -7,10 +7,22 @@ 'use strict';

exports.show = stream => {
const s = stream || process.stderr;
if (!s.isTTY) {
return;
}
hidden = false;
(stream || process.stderr).write('\u001b[?25h');
s.write('\u001b[?25h');
};
exports.hide = stream => {
const s = stream || process.stderr;
if (!s.isTTY) {
return;
}
restoreCursor();
hidden = true;
(stream || process.stderr).write('\u001b[?25l');
s.write('\u001b[?25l');
};

@@ -17,0 +29,0 @@

2

package.json
{
"name": "cli-cursor",
"version": "2.0.0",
"version": "2.1.0",
"description": "Toggle the CLI cursor",

@@ -5,0 +5,0 @@ "license": "MIT",

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