enquirer
Advanced tools
Comparing version 2.0.8 to 2.0.9
@@ -362,3 +362,3 @@ 'use strict'; | ||
get value() { | ||
return [this.state.value, this.input, this.initial].find(this.isValue.bind(this)); | ||
return [this.state.value, this.input].find(this.isValue.bind(this)) || this.initial; | ||
} | ||
@@ -365,0 +365,0 @@ |
@@ -63,4 +63,11 @@ 'use strict'; | ||
} | ||
set value(value) { | ||
super.value = value; | ||
} | ||
get value() { | ||
return this.cast(super.value); | ||
} | ||
} | ||
module.exports = BooleanPrompt; |
{ | ||
"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.0.8", | ||
"version": "2.0.9", | ||
"homepage": "https://github.com/enquirer/enquirer", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
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
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
179811
3776
6