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

@inquirer/select

Package Overview
Dependencies
Maintainers
3
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 1.2.10 to 1.2.11

9

./dist/cjs/index.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -6,5 +9,5 @@ exports.Separator = void 0;

Object.defineProperty(exports, "Separator", { enumerable: true, get: function () { return core_1.Separator; } });
const chalk_1 = require("chalk");
const figures_1 = require("figures");
const ansi_escapes_1 = require("ansi-escapes");
const chalk_1 = __importDefault(require("chalk"));
const figures_1 = __importDefault(require("figures"));
const ansi_escapes_1 = __importDefault(require("ansi-escapes"));
function isSelectableChoice(choice) {

@@ -11,0 +14,0 @@ return choice != null && !core_1.Separator.isSeparator(choice) && !choice.disabled;

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -6,5 +9,5 @@ exports.Separator = void 0;

Object.defineProperty(exports, "Separator", { enumerable: true, get: function () { return core_1.Separator; } });
const chalk_1 = require("chalk");
const figures_1 = require("figures");
const ansi_escapes_1 = require("ansi-escapes");
const chalk_1 = __importDefault(require("chalk"));
const figures_1 = __importDefault(require("figures"));
const ansi_escapes_1 = __importDefault(require("ansi-escapes"));
function isSelectableChoice(choice) {

@@ -11,0 +14,0 @@ return choice != null && !core_1.Separator.isSeparator(choice) && !choice.disabled;

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

import { Separator, AsyncPromptConfig } from '@inquirer/core';
import { Separator } from '@inquirer/core';
type Choice<Value> = {

@@ -9,3 +9,4 @@ value: Value;

};
declare const _default: <Value extends unknown>(config: AsyncPromptConfig & {
declare const _default: <Value extends unknown>(config: {
message: string | Promise<string> | (() => Promise<string>);
choices: readonly (Separator | Choice<Value>)[];

@@ -12,0 +13,0 @@ pageSize?: number | undefined;

{
"name": "@inquirer/select",
"version": "1.2.10",
"version": "1.2.11",
"description": "Inquirer select/list prompt",

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

"dependencies": {
"@inquirer/core": "^4.1.0",
"@inquirer/type": "^1.1.3",
"@inquirer/core": "^5.0.0",
"@inquirer/type": "^1.1.4",
"ansi-escapes": "^4.3.2",

@@ -65,3 +65,3 @@ "chalk": "^4.1.2",

"devDependencies": {
"@inquirer/testing": "^2.1.5"
"@inquirer/testing": "^2.1.6"
},

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

},
"gitHead": "f5c544a8ded1c7dfb6ac8364759955e8f2ecfb0c"
"gitHead": "c2d1c5fdfd1029f78351fb04e06f1cfb29d55bb6"
}

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