@inquirer/select
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@inquirer/select", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Inquirer select/list prompt", | ||
@@ -57,7 +57,7 @@ "main": "./dist/cjs/index.js", | ||
"dependencies": { | ||
"@inquirer/core": "^1.0.2", | ||
"@inquirer/type": "^1.0.1", | ||
"ansi-escapes": "^6.2.0", | ||
"chalk": "^5.2.0", | ||
"figures": "^5.0.0" | ||
"@inquirer/core": "^1.0.3", | ||
"@inquirer/type": "^1.0.2", | ||
"ansi-escapes": "^4.3.2", | ||
"chalk": "^4.1.2", | ||
"figures": "^3.2.0" | ||
}, | ||
@@ -69,3 +69,3 @@ "scripts": { | ||
"tsc:cjs": "tsc -p ./tsconfig.cjs.json && yarn run fix-ext", | ||
"fix-ext": "ts-node ../../tools/rename-ext.mts" | ||
"fix-ext": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ../../tools/rename-ext.mts" | ||
}, | ||
@@ -90,3 +90,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "5b8563d850962ce48daba46e7e95e7285d581a56" | ||
"gitHead": "865c589ffbc4a66f328dc4e64a08646200c755f3" | ||
} |
@@ -49,7 +49,7 @@ # `@inquirer/select` | ||
| Property | Type | Required | Description | | ||
| -------- | --------- | -------- | ------------------------------ | | ||
| message | `string` | yes | The question to ask | | ||
| 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. | | ||
| Property | Type | Required | Description | | ||
| -------- | --------------------------------------------------------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| message | `string` | yes | The question to ask | | ||
| 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. | | ||
@@ -56,0 +56,0 @@ # License |
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
12725
- Removedansi-escapes@6.2.1(transitive)
- Removedchalk@5.3.0(transitive)
- Removedescape-string-regexp@5.0.0(transitive)
- Removedfigures@5.0.0(transitive)
- Removedis-unicode-supported@1.3.0(transitive)
Updated@inquirer/core@^1.0.3
Updated@inquirer/type@^1.0.2
Updatedansi-escapes@^4.3.2
Updatedchalk@^4.1.2
Updatedfigures@^3.2.0