Socket
Socket
Sign inDemoInstall

inquirer

Package Overview
Dependencies
Maintainers
1
Versions
176
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 1.2.1 to 1.2.2

6

lib/prompts/checkbox.js

@@ -188,4 +188,6 @@ /**

Prompt.prototype.toggleChoice = function (index) {
var checked = this.opt.choices.getChoice(index).checked;
this.opt.choices.getChoice(index).checked = !checked;
var item = this.opt.choices.getChoice(index);
if (item !== undefined) {
this.opt.choices.getChoice(index).checked = !item.checked;
}
};

@@ -192,0 +194,0 @@

{
"name": "inquirer",
"version": "1.2.1",
"version": "1.2.2",
"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