Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hanji

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hanji - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

index.d.ts

@@ -76,3 +76,3 @@ /// <reference types="node" />

on(type: "detach", callback: (terminal: TaskTerminal) => void): void;
abstract render(): string;
abstract render(status: "pending" | "done"): string;
}

@@ -79,0 +79,0 @@ export declare class TaskTerminal {

@@ -208,3 +208,3 @@ "use strict";

requestLayout() {
const string = this.view.render();
const string = this.view.render("pending");
const clearPrefix = this.text ? (0, utils_1.clear)(this.text, this.stdout.columns) : "";

@@ -215,5 +215,6 @@ this.text = string;

clear() {
const string = this.view.render("done");
this.view.detach(this);
const clearPrefix = this.text ? (0, utils_1.clear)(this.text, this.stdout.columns) : "";
this.stdout.write(`${clearPrefix}`);
this.stdout.write(`${clearPrefix}${string}`);
}

@@ -220,0 +221,0 @@ }

{
"name": "hanji",
"version": "0.0.4",
"version": "0.0.5",
"description": "Designless command line user interface builder",

@@ -5,0 +5,0 @@ "repository": {

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