New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@clack/prompts

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clack/prompts - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

10

CHANGELOG.md
# @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 @@

8

dist/index.d.ts

@@ -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 };

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc