Comparing version 0.1.5 to 0.1.6
@@ -16,3 +16,3 @@ 'use strict'; | ||
questions = [].concat(questions); | ||
let answer, question, quit, name, type, key; | ||
let answer, question, quit, name, type; | ||
let MAP = prompt._map || {}; | ||
@@ -34,3 +34,3 @@ | ||
// if property is a function, invoke it unless it's ignored | ||
for (key in question) { | ||
for (let key in question) { | ||
if (ignore.includes(key)) continue; | ||
@@ -41,2 +41,6 @@ let value = question[key]; | ||
// update vars in case they changed | ||
({ name, type } = question); | ||
// skip if type is a falsy value | ||
@@ -43,0 +47,0 @@ if (!type) continue; |
{ | ||
"name": "prompts", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Lightweight, beautiful and user-friendly prompts", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/terkelg/prompts", |
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
62649
1025