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

@rizzlesauce/inquirer-autocomplete-prompt

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rizzlesauce/inquirer-autocomplete-prompt - npm Package Compare versions

Comparing version 1.0.2-rossa.2 to 1.0.2-rossa.3

9

index.js

@@ -7,3 +7,2 @@ // @flow

var ansiEscapes = require('ansi-escapes');
var chalk = require('chalk');

@@ -237,7 +236,9 @@ var figures = require('figures');

if (this.currentChoices.getChoice(this.selected)) {
this.rl.write(ansiEscapes.cursorLeft);
this.rl.clearLine();
var autoCompleted = this.currentChoices.getChoice(this.selected).value;
this.rl.write(ansiEscapes.cursorForward(autoCompleted.length));
this.rl.line = autoCompleted;
this.rl.write(autoCompleted);
this.render();
if (this.opt.searchOnAutocomplete) {
this.search(autoCompleted);
}
}

@@ -244,0 +245,0 @@ } else if (keyName === 'down') {

{
"name": "@rizzlesauce/inquirer-autocomplete-prompt",
"description": "Autocomplete prompt for inquirer",
"version": "1.0.2-rossa.2",
"version": "1.0.2-rossa.3",
"files": [

@@ -36,3 +36,2 @@ "index.js"

"dependencies": {
"ansi-escapes": "^3.0.0",
"chalk": "^2.0.0",

@@ -39,0 +38,0 @@ "figures": "^2.0.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