Comparing version 0.1.12 to 0.1.13
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91910
+ Addedkleur@2.0.2(transitive)
- Removedkleur@1.0.2(transitive)
Updatedkleur@^2.0.1