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

@inquirer/select

Package Overview
Dependencies
Maintainers
3
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inquirer/select - npm Package Compare versions

Comparing version 0.0.26-alpha.0 to 0.0.27-alpha.0

4

dist/index.js

@@ -6,3 +6,3 @@ import { createPrompt, useState, useKeypress, useRef, usePrefix, isEnterKey, isUpKey, isDownKey, isNumberKey, Paginator, } from '@inquirer/core';

export default createPrompt((config, done) => {
const { choices, pageSize = 7 } = config;
const { choices } = config;
const paginator = useRef(new Paginator()).current;

@@ -60,3 +60,3 @@ const firstRender = useRef(true);

.join('\n');
const windowedChoices = paginator.paginate(allChoices, cursorPosition, pageSize);
const windowedChoices = paginator.paginate(allChoices, cursorPosition, config.pageSize);
const choice = choices[cursorPosition];

@@ -63,0 +63,0 @@ const choiceDescription = choice && choice.description ? `\n${choice.description}` : ``;

{
"name": "@inquirer/select",
"type": "module",
"version": "0.0.26-alpha.0",
"version": "0.0.27-alpha.0",
"description": "Inquirer select/list prompt",

@@ -13,6 +13,40 @@ "main": "dist/index.js",

"keywords": [
"answer",
"answers",
"ask",
"base",
"cli",
"cli",
"command",
"command-line",
"confirm",
"enquirer",
"generate",
"generator",
"hyper",
"input",
"inquire",
"inquirer",
"interface",
"iterm",
"javascript",
"menu",
"node",
"nodejs",
"prompt",
"command-line",
"input"
"promptly",
"prompts",
"question",
"readline",
"scaffold",
"scaffolder",
"scaffolding",
"stdin",
"stdout",
"terminal",
"tty",
"ui",
"yeoman",
"yo",
"zsh"
],

@@ -34,3 +68,3 @@ "author": "Simon Boudrias",

},
"gitHead": "6e0a7e28b5ac9fc526cf787e0b6c53cb44bd7ae3"
"gitHead": "0e3ef8e31fc34b5fa5308be95af77ba9f5ede8fa"
}
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