Comparing version 0.1.10 to 0.1.11
@@ -88,3 +88,3 @@ 'use strict'; | ||
let x = this.value; | ||
this.value = x !== void 0 ? x : this.initial; | ||
this.value = x !== '' ? x : this.initial; | ||
this.done = this.aborted = true; | ||
@@ -99,3 +99,3 @@ this.fire(); | ||
let x = this.value; | ||
this.value = x !== void 0 ? x : this.initial; | ||
this.value = x !== '' ? x : this.initial; | ||
this.done = true; | ||
@@ -102,0 +102,0 @@ this.aborted = false; |
@@ -77,3 +77,3 @@ const color = require('clorox'); | ||
let x = this.value; | ||
this.value = x !== void 0 ? x : this.initial; | ||
this.value = x !== '' ? x : this.initial; | ||
this.done = this.aborted = true; | ||
@@ -88,3 +88,3 @@ this.fire(); | ||
let x = this.value; | ||
this.value = x !== void 0 ? x : this.initial | ||
this.value = x !== '' ? x : this.initial | ||
this.done = true; | ||
@@ -91,0 +91,0 @@ this.aborted = false; |
{ | ||
"name": "prompts", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "Lightweight, beautiful and user-friendly prompts", | ||
@@ -21,3 +21,3 @@ "homepage": "https://github.com/terkelg/prompts", | ||
"build": "babel lib -d dist", | ||
"prepublish": "npm run build", | ||
"prepublishOnly": "npm run build", | ||
"test": "tape test/*.js | tap-spec" | ||
@@ -24,0 +24,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
91844