Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enquirer

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enquirer - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

lib/prompt.js

@@ -137,5 +137,5 @@ 'use strict';

this.state.validating = false;
this.value = await this.result(this.value);
await this.render();
await this.close();
this.value = await this.result(this.value);
this.emit('submit', this.value);

@@ -142,0 +142,0 @@ }

@@ -479,2 +479,3 @@ 'use strict';

let choice = this.focused;
if (!choice) return this.alert();
if (choice.newChoice) {

@@ -481,0 +482,0 @@ if (!choice.input) return this.alert();

{
"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.1.0",
"version": "2.1.1",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc