@clack/prompts
Advanced tools
Comparing version 0.4.4 to 0.4.5
# @clack/prompts | ||
## 0.4.5 | ||
### Patch Changes | ||
- 1251132: Multiselect: return `Value[]` instead of `Option[]`. | ||
- 8994382: Add a password prompt to `@clack/prompts` | ||
- Updated dependencies [1251132] | ||
- Updated dependencies [8994382] | ||
- @clack/core@0.1.9 | ||
## 0.4.4 | ||
@@ -4,0 +14,0 @@ |
@@ -11,2 +11,8 @@ export { isCancel } from '@clack/core'; | ||
declare const text: (opts: TextOptions) => Promise<string | symbol>; | ||
interface PasswordOptions { | ||
message: string; | ||
mask?: string; | ||
validate?: (value: string) => string | void; | ||
} | ||
declare const password: (opts: PasswordOptions) => Promise<string | symbol>; | ||
interface ConfirmOptions { | ||
@@ -70,2 +76,2 @@ message: string; | ||
export { ConfirmOptions, MultiSelectOptions, PromptGroup, PromptGroupAwaitedReturn, PromptGroupOptions, SelectOptions, TextOptions, cancel, confirm, group, intro, multiselect, note, outro, select, spinner, text }; | ||
export { ConfirmOptions, MultiSelectOptions, PasswordOptions, PromptGroup, PromptGroupAwaitedReturn, PromptGroupOptions, SelectOptions, TextOptions, cancel, confirm, group, intro, multiselect, note, outro, password, select, spinner, text }; |
{ | ||
"name": "@clack/prompts", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"type": "module", | ||
@@ -52,3 +52,3 @@ "main": "./dist/index.cjs", | ||
"dependencies": { | ||
"@clack/core": "^0.1.8", | ||
"@clack/core": "^0.1.9", | ||
"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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
33027
235
Updated@clack/core@^0.1.9