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

light-spinner

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

light-spinner - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

dist/index.js

@@ -28,2 +28,5 @@ "use strict";

const moveCursor = `\u001b[${Buffer.byteLength(message)}D`;
if (!this.isWin) {
process.stdout.write('\u001b[u');
}
process.stdout.write(clearChar);

@@ -39,5 +42,8 @@ process.stdout.write(moveCursor);

process.stdout.write(message);
if (!this.isWin) {
process.stdout.write('\u001b[s');
}
}
doing() {
const message = `${this.spinners[this.index++]} ${this.text || ''}${this.isWin ? '' : '\n'}`;
const message = `${this.spinners[this.index++]} ${this.text || ''}${this.isWin ? ' ' : '\n'}`;
this.clearLine();

@@ -44,0 +50,0 @@ this.output(message);

2

package.json
{
"name": "light-spinner",
"version": "1.0.2",
"version": "1.0.3",
"description": "light-spinner",

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

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