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

@inquirer/editor

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inquirer/editor - npm Package Compare versions

Comparing version 0.0.14-alpha.0 to 0.0.15-alpha.0

dist/index.d.ts

15

package.json
{
"name": "@inquirer/editor",
"type": "module",
"version": "0.0.14-alpha.0",
"version": "0.0.15-alpha.0",
"description": "Inquirer multiline editor prompt",
"main": "index.js",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist/"
],
"repository": "SBoudrias/Inquirer.js",

@@ -18,10 +22,13 @@ "keywords": [

"dependencies": {
"@inquirer/core": "^0.0.21-alpha.0",
"@inquirer/core": "^0.0.22-alpha.0",
"chalk": "^5.0.1",
"external-editor": "^3.0.3"
},
"scripts": {
"tsc": "tsc"
},
"publishConfig": {
"access": "public"
},
"gitHead": "cd0d1465327c0e98a89c937a80b7c473b6d00f74"
"gitHead": "1d5e7e3d15c86851f2e5df2bb9f55084ba231c54"
}

@@ -28,2 +28,3 @@ # `@inquirer/editor`

| message | `string` | yes | The question to ask |
| default | `string` | no | Default value which will automatically be present in the editor |
| validate | `string => boolean \| string \| Promise<string \| boolean>` | no | On submit, validate the content. When returning a string, it'll be used as the error message displayed to the user. Note: returning a rejected promise, we'll assume a code error happened and crash. |

@@ -30,0 +31,0 @@ | postfix | `string` | no (default to `.txt`) | The postfix of the file being edited. Adding this will add color highlighting to the file content in most editors. |

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