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

prompts

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prompts - npm Package Compare versions

Comparing version 0.1.12 to 0.1.13

2

dist/elements/toggle.js

@@ -109,3 +109,3 @@ 'use strict';

this.out.write(erase.line + cursor.to(0) + [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(this.done), this.value ? this.inactive : color.cyan.underline(this.inactive), color.gray('/'), this.value ? color.cyan.underline(this.active) : this.active].join(' '));
this.out.write(erase.lines(first ? 1 : this.msg.split(/\n/g).length) + cursor.to(0) + [style.symbol(this.done, this.aborted), color.bold(this.msg), style.delimiter(this.done), this.value ? this.inactive : color.cyan.underline(this.inactive), color.gray('/'), this.value ? color.cyan.underline(this.active) : this.active].join(' '));
}

@@ -112,0 +112,0 @@ }

@@ -97,5 +97,5 @@ const color = require('kleur');

if (first) this.out.write(cursor.hide);
this.out.write(
erase.line +
this.out.write(
erase.lines(first ? 1 : this.msg.split(/\n/g).length) +
cursor.to(0) +

@@ -102,0 +102,0 @@ [

{
"name": "prompts",
"version": "0.1.12",
"version": "0.1.13",
"description": "Lightweight, beautiful and user-friendly prompts",

@@ -34,3 +34,3 @@ "homepage": "https://github.com/terkelg/prompts",

"dependencies": {
"kleur": "^1.0.0",
"kleur": "^2.0.1",
"sisteransi": "^0.1.1"

@@ -37,0 +37,0 @@ },

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