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

@inquirer/select

Package Overview
Dependencies
Maintainers
0
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inquirer/select - npm Package Compare versions

Comparing version 2.3.6 to 2.3.7

4

dist/cjs/index.js

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

const core_1 = require("@inquirer/core");
const chalk_1 = __importDefault(require("chalk"));
const picocolors_1 = __importDefault(require("picocolors"));
const figures_1 = __importDefault(require("@inquirer/figures"));

@@ -14,3 +14,3 @@ const ansi_escapes_1 = __importDefault(require("ansi-escapes"));

icon: { cursor: figures_1.default.pointer },
style: { disabled: (text) => chalk_1.default.dim(`- ${text}`) },
style: { disabled: (text) => picocolors_1.default.dim(`- ${text}`) },
helpMode: 'auto',

@@ -17,0 +17,0 @@ };

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

import { Separator } from '@inquirer/core';
import { Separator, type Theme } from '@inquirer/core';
import type { PartialDeep } from '@inquirer/type';
type SelectTheme = {
icon: {
cursor: string;
};
style: {
disabled: (text: string) => string;
};
helpMode: 'always' | 'never' | 'auto';
};
type Choice<Value> = {

@@ -12,28 +22,8 @@ value: Value;

choices: readonly (Separator | Choice<Value>)[];
pageSize?: number | undefined;
loop?: boolean | undefined;
pageSize?: number;
loop?: boolean;
default?: unknown;
theme?: {
icon?: {
cursor?: string | undefined;
} | undefined;
style?: {
disabled?: {} | undefined;
answer?: {} | undefined;
message?: {} | undefined;
error?: {} | undefined;
defaultAnswer?: {} | undefined;
help?: {} | undefined;
highlight?: {} | undefined;
key?: {} | undefined;
} | undefined;
helpMode?: "always" | "auto" | "never" | undefined;
prefix?: string | undefined;
spinner?: {
interval?: number | undefined;
frames?: (string | undefined)[] | undefined;
} | undefined;
} | undefined;
}, context?: import("@inquirer/type").Context | undefined) => import("@inquirer/type").CancelablePromise<Value>;
theme?: PartialDeep<Theme<SelectTheme>>;
}, context?: import("@inquirer/type").Context) => import("@inquirer/type").CancelablePromise<Value>;
export default _default;
export { Separator } from '@inquirer/core';
{
"name": "@inquirer/select",
"version": "2.3.6",
"version": "2.3.7",
"description": "Inquirer select/list prompt",

@@ -57,10 +57,10 @@ "main": "./dist/cjs/index.js",

"dependencies": {
"@inquirer/core": "^8.2.3",
"@inquirer/core": "^8.2.4",
"@inquirer/figures": "^1.0.3",
"@inquirer/type": "^1.3.3",
"ansi-escapes": "^4.3.2",
"chalk": "^4.1.2"
"picocolors": "^1.0.1"
},
"devDependencies": {
"@inquirer/testing": "^2.1.22"
"@inquirer/testing": "^2.1.23"
},

@@ -93,3 +93,3 @@ "scripts": {

"sideEffects": false,
"gitHead": "cc52a353abb1b7f3b3dc81b9e6da7ed478099dbf"
"gitHead": "d5f62c6ee3e671f7d1b776b85d43781869d70918"
}

Sorry, the diff of this file is not supported yet

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