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

@inquirer/rawlist

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inquirer/rawlist - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

12

package.json
{
"name": "@inquirer/rawlist",
"version": "1.0.1",
"version": "1.0.2",
"description": "Inquirer rawlist prompt",

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

"dependencies": {
"@inquirer/core": "^1.0.2",
"@inquirer/type": "^1.0.1",
"chalk": "^5.2.0"
"@inquirer/core": "^1.0.3",
"@inquirer/type": "^1.0.2",
"chalk": "^4.1.2"
},

@@ -67,3 +67,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"
},

@@ -88,3 +88,3 @@ "publishConfig": {

},
"gitHead": "5b8563d850962ce48daba46e7e95e7285d581a56"
"gitHead": "865c589ffbc4a66f328dc4e64a08646200c755f3"
}

@@ -32,6 +32,6 @@ # `@inquirer/rawlist`

| Property | Type | Required | Description |
| -------- | --------- | -------- | ------------------------------ |
| message | `string` | yes | The question to ask |
| choices | `Array<{ value: string, name?: string, key?: string }>` | yes | List of the available choices. The `value` will be returned as the answer, and used as display if no `name` is defined. By default, choices will be selected by index. This can be customized by using the `key` option. |
| Property | Type | Required | Description |
| -------- | ------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| message | `string` | yes | The question to ask |
| choices | `Array<{ value: string, name?: string, key?: string }>` | yes | List of the available choices. The `value` will be returned as the answer, and used as display if no `name` is defined. By default, choices will be selected by index. This can be customized by using the `key` option. |

@@ -38,0 +38,0 @@ # License

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