@inquirer/input
Advanced tools
Comparing version 0.1.0 to 1.0.0
{ | ||
"name": "@inquirer/input", | ||
"version": "0.1.0", | ||
"version": "1.0.0", | ||
"description": "Inquirer input text prompt", | ||
@@ -57,6 +57,10 @@ "main": "./dist/cjs/index.js", | ||
"dependencies": { | ||
"@inquirer/core": "^1.0.0", | ||
"@inquirer/type": "^0.1.0", | ||
"@inquirer/core": "^1.0.1", | ||
"@inquirer/type": "^1.0.0", | ||
"chalk": "^5.2.0" | ||
}, | ||
"devDependencies": { | ||
"@inquirer/testing": "^1.0.0", | ||
"@jest/globals": "^29.5.0" | ||
}, | ||
"scripts": { | ||
@@ -87,3 +91,3 @@ "tsc": "yarn run clean && yarn run tsc:esm && yarn run tsc:cjs", | ||
}, | ||
"gitHead": "bd58130dd8204945a31b062070b829003b8385fc" | ||
"gitHead": "e93c4cb14f0c35ebd1efb065776b90f48899b075" | ||
} |
@@ -29,3 +29,3 @@ # `@inquirer/input` | ||
| default | `string` | no | Default value if no answer is provided (clear it by pressing backspace) | | ||
| transformer | `(string, { isFinal: boolean }) => string` | no | Transform/Format the raw value entered by the user. Once the prompt is completed, `isFinal` will be `true`. This function is purely visual; to modify the answer, use the `filter` option. | | ||
| transformer | `(string, { isFinal: boolean }) => string` | no | Transform/Format the raw value entered by the user. Once the prompt is completed, `isFinal` will be `true`. This function is purely visual, modify the answer in your code if needed. | | ||
| validate | `string => boolean \| string \| Promise<string \| boolean>` | no | On submit, validate the filtered answered 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. | | ||
@@ -32,0 +32,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11415
0
0
2
- Removed@inquirer/type@0.1.0(transitive)
Updated@inquirer/core@^1.0.1
Updated@inquirer/type@^1.0.0