You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@inquirer/input

Package Overview
Dependencies
Maintainers
3
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inquirer/input - npm Package Compare versions

Comparing version
4.2.1
to
4.2.2
+1
-1
dist/commonjs/index.js

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

}
else if (key.name === 'tab' && !value) {
else if ((0, core_1.isTabKey)(key) && !value) {
setDefaultValue(undefined);

@@ -48,0 +48,0 @@ rl.clearLine(0); // Remove the tab character.

@@ -1,2 +0,2 @@

import { createPrompt, useState, useKeypress, useEffect, usePrefix, isEnterKey, isBackspaceKey, makeTheme, } from '@inquirer/core';
import { createPrompt, useState, useKeypress, useEffect, usePrefix, isBackspaceKey, isEnterKey, isTabKey, makeTheme, } from '@inquirer/core';
const inputTheme = {

@@ -43,3 +43,3 @@ validationFailureMode: 'keep',

}
else if (key.name === 'tab' && !value) {
else if (isTabKey(key) && !value) {
setDefaultValue(undefined);

@@ -46,0 +46,0 @@ rl.clearLine(0); // Remove the tab character.

{
"name": "@inquirer/input",
"version": "4.2.1",
"version": "4.2.2",
"description": "Inquirer input text prompt",

@@ -77,3 +77,3 @@ "keywords": [

"dependencies": {
"@inquirer/core": "^10.1.15",
"@inquirer/core": "^10.2.0",
"@inquirer/type": "^3.0.8"

@@ -109,3 +109,3 @@ },

},
"gitHead": "c1a755fe8b50377b685ea5951e0794985ce8d356"
"gitHead": "fdc92010930a3a40da5ed4f14ba608d5333e3d55"
}