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

@inquirer/password

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inquirer/password - npm Package Compare versions

Comparing version 1.1.15 to 1.1.16

5

./dist/cjs/index.js

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

let formattedValue = '';
let helpTip;
if (config.mask) {

@@ -60,3 +61,3 @@ const maskChar = typeof config.mask === 'string' ? config.mask : '*';

else if (status !== 'done') {
formattedValue = `${chalk_1.default.dim('[input is masked]')}${ansi_escapes_1.default.cursorHide}`;
helpTip = `${chalk_1.default.dim('[input is masked]')}${ansi_escapes_1.default.cursorHide}`;
}

@@ -70,3 +71,3 @@ if (status === 'done') {

}
return [`${prefix} ${message} ${formattedValue}`, error];
return [[prefix, message, formattedValue, helpTip].filter(Boolean).join(' '), error];
});

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

let formattedValue = '';
let helpTip;
if (config.mask) {

@@ -60,3 +61,3 @@ const maskChar = typeof config.mask === 'string' ? config.mask : '*';

else if (status !== 'done') {
formattedValue = `${chalk_1.default.dim('[input is masked]')}${ansi_escapes_1.default.cursorHide}`;
helpTip = `${chalk_1.default.dim('[input is masked]')}${ansi_escapes_1.default.cursorHide}`;
}

@@ -70,3 +71,3 @@ if (status === 'done') {

}
return [`${prefix} ${message} ${formattedValue}`, error];
return [[prefix, message, formattedValue, helpTip].filter(Boolean).join(' '), error];
});

6

package.json
{
"name": "@inquirer/password",
"version": "1.1.15",
"version": "1.1.16",
"engines": {

@@ -60,3 +60,3 @@ "node": ">=14.18.0"

"dependencies": {
"@inquirer/core": "^5.1.2",
"@inquirer/core": "^6.0.0",
"@inquirer/type": "^1.1.6",

@@ -89,3 +89,3 @@ "ansi-escapes": "^4.3.2",

},
"gitHead": "6c0d1d23e6881a10bc3d718d079a0a09ba382dd5"
"gitHead": "4dee2b11d89a7c8a698c9eeda546ba8092b84f64"
}

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