Socket
Socket
Sign inDemoInstall

ora

Package Overview
Dependencies
14
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.4.0

4

index.js

@@ -105,2 +105,6 @@ 'use strict';

stopAndPersist(options) {
if (!this.enabled) {
return this;
}
// Legacy argument

@@ -107,0 +111,0 @@ // TODO: Deprecate sometime in the future

8

package.json
{
"name": "ora",
"version": "1.3.0",
"version": "1.4.0",
"description": "Elegant terminal spinner",

@@ -38,6 +38,6 @@ "license": "MIT",

"dependencies": {
"chalk": "^1.1.1",
"chalk": "^2.1.0",
"cli-cursor": "^2.1.0",
"cli-spinners": "^1.0.0",
"log-symbols": "^1.0.2"
"cli-spinners": "^1.0.1",
"log-symbols": "^2.1.0"
},

@@ -44,0 +44,0 @@ "devDependencies": {

@@ -5,3 +5,5 @@ # ora [![Build Status](https://travis-ci.org/sindresorhus/ora.svg?branch=master)](https://travis-ci.org/sindresorhus/ora)

<img src="screenshot.gif" width="629">
<p align="center">
<img src="https://rawgit.com/sindresorhus/ora/master/screenshot.svg" width="500">
</p>

@@ -15,3 +17,5 @@

*Show your support for Ora by buying this excellent [Node.js course](https://LearnNode.com/friend/AWESOME).*
## Usage

@@ -167,7 +171,7 @@

#### .promise(action, [options|text])
### ora.promise(action, [options|text])
Starts a spinner for a promise. The spinner is stopped with `.succeed()` if the promise fulfills or with `.fail()` if it rejects. Returns the spinner instance.
##### action
#### action

@@ -181,2 +185,5 @@ Type: `Promise`

- [listr](https://github.com/SamVerschueren/listr) - Terminal task list
- [CLISpinner](https://github.com/kiliankoe/CLISpinner) - Terminal spinner library for Swift
- [halo](https://github.com/ManrajGrover/halo) - Python port
- [spinners](https://github.com/FGRibreau/spinners) - Terminal spinners for Rust

@@ -183,0 +190,0 @@

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