Socket
Socket
Sign inDemoInstall

inquirer

Package Overview
Dependencies
Maintainers
1
Versions
179
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 0.2.0 to 0.2.1

examples/nestedCall.js

5

lib/inquirer.js

@@ -73,3 +73,4 @@ /**

// Close the readline
this.rl.pause();
this.rl.close();
this.rl = null;

@@ -136,5 +137,5 @@ if ( _.isFunction(allDone) ) {

this.rl.output.unmute();
process.stdout.write("\033[?25h");
process.stdout.write("\033[?25h"); // show cursor
this.rl.close();
console.log("\n"); // Line return
}.bind(cli);

2

package.json
{
"name": "inquirer",
"version": "0.2.0",
"version": "0.2.1",
"description": "A collection of common interactive command line user interfaces.",

@@ -5,0 +5,0 @@ "main": "lib/inquirer.js",

@@ -27,3 +27,4 @@ /**

expect(rl.resume.called).to.be.true;
expect(rl.pause.called).to.be.true;
expect(rl.close.called).to.be.true;
expect(inquirer.rl).to.be.null;

@@ -37,3 +38,4 @@ rl = inquirer.rl = new ReadlineStub();

expect(rl.resume.called).to.be.true;
expect(rl.pause.called).to.be.true;
expect(rl.close.called).to.be.true;
expect(inquirer.rl).to.be.null;
done();

@@ -40,0 +42,0 @@ });

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