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

inquirer

Package Overview
Dependencies
Maintainers
2
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inquirer - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

5

lib/prompts/checkbox.js

@@ -40,2 +40,3 @@ /**

this.pointer = 0;
this.firstRender = true;

@@ -76,2 +77,3 @@ // Make sure no default is set (so it won't be printed)

this.render();
this.firstRender = false;

@@ -91,3 +93,3 @@ return this;

if (!this.spaceKeyPressed) {
if (this.firstRender) {
message += '(Press ' + chalk.cyan.bold('<space>') + ' to select, ' + chalk.cyan.bold('<a>') + ' to toggle all, ' + chalk.cyan.bold('<i>') + ' to inverse selection)';

@@ -161,3 +163,2 @@ }

Prompt.prototype.onSpaceKey = function () {
this.spaceKeyPressed = true;
this.toggleChoice(this.pointer);

@@ -164,0 +165,0 @@ this.render();

1

lib/ui/baseUI.js

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

this.close();
console.log('');
};

@@ -34,0 +35,0 @@

{
"name": "inquirer",
"version": "3.0.5",
"version": "3.0.6",
"description": "A collection of common interactive command line user interfaces.",

@@ -5,0 +5,0 @@ "author": "Simon Boudrias <admin@simonboudrias.com>",

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