@inquirer/editor
Advanced tools
Comparing version 0.0.14-alpha.0 to 0.0.15-alpha.0
{ | ||
"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. | |
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
5417
37
63
+ Added@inquirer/core@0.0.22-alpha.0(transitive)
- Removed@inquirer/core@0.0.21-alpha.0(transitive)