Comparing version 0.1.2 to 0.2.0
@@ -5,2 +5,3 @@ var QA = require('./'); | ||
"{bold}Name:{reset}", | ||
{ title: "Username:", default: process.env.USER }, | ||
{ title: "{bold}Favorite foods:{reset}", list: 3 }, | ||
@@ -7,0 +8,0 @@ { key: "books", title: "{bold}Favorite books {grey}(Type as much as you want!){reset}{bold}:{reset}", list: true }, |
@@ -56,2 +56,6 @@ var read = require("read-cli-input"); | ||
if (question.default && !answer && (!answer.trim || !answer.trim())) { | ||
answer = question.default; | ||
} | ||
callback(answer); | ||
@@ -58,0 +62,0 @@ }); |
{ | ||
"name": "cli-qa", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "Command-line Questions & Answers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
4735
110
1