Socket
Socket
Sign inDemoInstall

enquirer

Package Overview
Dependencies
1
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.8 to 2.0.9

2

lib/prompt.js

@@ -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)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc