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

@clack/core

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clack/core - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

9

CHANGELOG.md
# @clack/core
## 0.4.1
### Patch Changes
- 8093f3c: Adds `Error` support to the `validate` function
- e5ba09a: Fixes a cursor display bug in terminals that do not support the "hidden" escape sequence. See [Issue #127](https://github.com/bombshell-dev/clack/issues/127).
- 8cba8e3: Fixes a rendering bug with cursor positions for `TextPrompt`
## 0.4.0

@@ -30,3 +38,2 @@

- a83d2f8: Updates default keybindings to support Vim motion shortcuts and map the `escape` key to cancel (`ctrl+c`).

@@ -33,0 +40,0 @@

4

dist/index.d.ts

@@ -41,3 +41,3 @@ import { Readable, Writable } from 'node:stream';

initialValue?: any;
validate?: ((value: any) => string | undefined) | undefined;
validate?: ((value: any) => string | Error | undefined) | undefined;
input?: Readable;

@@ -193,3 +193,3 @@ output?: Writable;

declare class TextPrompt extends Prompt {
valueWithCursor: string;
get valueWithCursor(): any;
get cursor(): number;

@@ -196,0 +196,0 @@ constructor(opts: TextOptions);

{
"name": "@clack/core",
"version": "0.4.0",
"version": "0.4.1",
"type": "module",

@@ -5,0 +5,0 @@ "main": "./dist/index.cjs",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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