Socket
Socket
Sign inDemoInstall

ink

Package Overview
Dependencies
66
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-2 to 3.0.0-3

4

build/hooks/use-input.d.ts

@@ -46,2 +46,6 @@ /**

/**
* Delete key was pressed.
*/
delete: boolean;
/**
* [Meta key](https://en.wikipedia.org/wiki/Meta_key) was pressed.

@@ -48,0 +52,0 @@ */

3

build/hooks/use-input.js

@@ -60,2 +60,3 @@ "use strict";

backspace: input === '\u0008',
delete: input === '\u007F',
meta: false

@@ -81,3 +82,3 @@ };

}
if (key.tab || key.backspace) {
if (key.tab || key.backspace || key.delete) {
input = '';

@@ -84,0 +85,0 @@ }

{
"name": "ink",
"version": "3.0.0-2",
"version": "3.0.0-3",
"description": "React for CLI",

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

@@ -1147,2 +1147,9 @@ <h1 align="center">

###### key.delete
Type: `boolean`\
Default: `false`
Delete key was pressed.
###### key.meta

@@ -1149,0 +1156,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc