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

ink-text-input

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ink-text-input - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

6

build/index.js

@@ -42,2 +42,4 @@ "use strict";

_defineProperty(this, "isMounted", false);
_defineProperty(this, "handleInput", data => {

@@ -56,3 +58,3 @@ const {

if (focus === false) {
if (focus === false || this.isMounted === false) {
return;

@@ -168,2 +170,3 @@ }

} = this.props;
this.isMounted = true;
setRawMode(true);

@@ -178,2 +181,3 @@ stdin.on('data', this.handleInput);

} = this.props;
this.isMounted = false;
stdin.removeListener('data', this.handleInput);

@@ -180,0 +184,0 @@ setRawMode(false);

2

package.json
{
"name": "ink-text-input",
"version": "3.1.0",
"version": "3.1.1",
"description": "Text input component for Ink",

@@ -5,0 +5,0 @@ "license": "MIT",

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