@inquirer/select
Advanced tools
Comparing version 0.1.0 to 1.0.0
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11461
0
59
0
- Removed@inquirer/type@0.1.0(transitive)
Updated@inquirer/core@^1.0.1
Updated@inquirer/type@^1.0.0