Comparing version 2.1.0 to 2.1.1
@@ -137,5 +137,5 @@ 'use strict'; | ||
this.state.validating = false; | ||
this.value = await this.result(this.value); | ||
await this.render(); | ||
await this.close(); | ||
this.value = await this.result(this.value); | ||
this.emit('submit', this.value); | ||
@@ -142,0 +142,0 @@ } |
@@ -479,2 +479,3 @@ 'use strict'; | ||
let choice = this.focused; | ||
if (!choice) return this.alert(); | ||
if (choice.newChoice) { | ||
@@ -481,0 +482,0 @@ if (!choice.input) return this.alert(); |
{ | ||
"name": "enquirer", | ||
"description": "Stylish, intuitive and user-friendly prompt system. Fast and lightweight enough for small projects, powerful and extensible enough for the most advanced use cases.", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"homepage": "https://github.com/enquirer/enquirer", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
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
180250
3797