@clack/prompts
Advanced tools
Comparing version 0.4.0 to 0.4.1
# @clack/prompts | ||
## 0.4.1 | ||
### Patch Changes | ||
- 7fb5375: Adds a new `defaultValue` option to the text prompt, removes automatic usage of the placeholder value. | ||
- Updated dependencies [7fb5375] | ||
- @clack/core@0.1.6 | ||
## 0.4.0 | ||
@@ -4,0 +12,0 @@ |
@@ -6,2 +6,3 @@ export { isCancel } from '@clack/core'; | ||
placeholder?: string; | ||
defaultValue?: string; | ||
initialValue?: string; | ||
@@ -8,0 +9,0 @@ validate?: (value: string) => string | void; |
{ | ||
"name": "@clack/prompts", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"type": "module", | ||
@@ -52,3 +52,3 @@ "main": "./dist/index.cjs", | ||
"dependencies": { | ||
"@clack/core": "^0.1.5", | ||
"@clack/core": "^0.1.6", | ||
"picocolors": "^1.0.0", | ||
@@ -55,0 +55,0 @@ "sisteransi": "^1.0.5" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
29634
210
Updated@clack/core@^0.1.6