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.1.0 to 1.0.0

8

package.json
{
"name": "@inquirer/select",
"version": "0.1.0",
"version": "1.0.0",
"description": "Inquirer select/list prompt",

@@ -57,4 +57,4 @@ "main": "./dist/cjs/index.js",

"dependencies": {
"@inquirer/core": "^1.0.0",
"@inquirer/type": "^0.1.0",
"@inquirer/core": "^1.0.1",
"@inquirer/type": "^1.0.0",
"ansi-escapes": "^6.0.0",

@@ -89,3 +89,3 @@ "chalk": "^5.2.0",

},
"gitHead": "bd58130dd8204945a31b062070b829003b8385fc"
"gitHead": "e93c4cb14f0c35ebd1efb065776b90f48899b075"
}

@@ -38,2 +38,7 @@ # `@inquirer/select`

},
{
name: 'pnpm',
value: 'pnpm',
disabled: '(pnpm is not available)',
},
],

@@ -48,3 +53,3 @@ });

| message | `string` | yes | The question to ask |
| choices | `Array<{ value: string, name?: string, description?: string, disabled?: boolean }>` | yes | List of the available choices. The `value` will be returned as the answer, and used as display if no `name` is defined. Choices who're `disabled` will be displayed, but not selectable. The `description` will be displayed under the prompt when the cursor land over the choice. |
| choices | `Array<{ value: string, name?: string, description?: string, disabled?: boolean \| string }>` | yes | List of the available choices. The `value` will be returned as the answer, and used as display if no `name` is defined. Choices who're `disabled` will be displayed, but not selectable. The `description` will be displayed under the prompt when the cursor land over the choice. |
| pageSize | `number` | no | By default, lists of choice longer than 7 will be paginated. Use this option to control how many choices will appear on the screen at once. |

@@ -51,0 +56,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