@inquirer/editor
Advanced tools
Comparing version 2.1.11 to 2.1.12
{ | ||
"name": "@inquirer/editor", | ||
"version": "2.1.11", | ||
"version": "2.1.12", | ||
"description": "Inquirer multiline editor prompt", | ||
@@ -57,8 +57,8 @@ "main": "./dist/cjs/index.js", | ||
"dependencies": { | ||
"@inquirer/core": "^8.2.4", | ||
"@inquirer/type": "^1.3.3", | ||
"@inquirer/core": "^9.0.0", | ||
"@inquirer/type": "^1.4.0", | ||
"external-editor": "^3.1.0" | ||
}, | ||
"devDependencies": { | ||
"@inquirer/testing": "^2.1.23" | ||
"@inquirer/testing": "^2.1.24" | ||
}, | ||
@@ -91,3 +91,3 @@ "scripts": { | ||
"sideEffects": false, | ||
"gitHead": "d5f62c6ee3e671f7d1b776b85d43781869d70918" | ||
"gitHead": "fc27d575bceb96466cb8da8524c26d4eb2a77df0" | ||
} |
@@ -29,3 +29,3 @@ # `@inquirer/editor` | ||
| 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. | | ||
| validate | `string => boolean \| string \| Promise<boolean \| string>` | 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. | | ||
| 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. | | ||
@@ -32,0 +32,0 @@ | waitForUseInput | `boolean` | no (default to `true`) | Open the editor automatically without waiting for the user to press enter. Note that this mean the user will not see the question! So make sure you have a default value that provide guidance if it's unclear what input is expected. | |
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
+ Added@inquirer/core@9.2.1(transitive)
+ Added@inquirer/type@2.0.0(transitive)
+ Added@types/node@22.7.8(transitive)
+ Addedyoctocolors-cjs@2.1.2(transitive)
- Removed@inquirer/core@8.2.4(transitive)
- Removed@types/node@20.16.14(transitive)
- Removedcli-spinners@2.9.2(transitive)
- Removedpicocolors@1.1.1(transitive)
Updated@inquirer/core@^9.0.0
Updated@inquirer/type@^1.4.0