@inquirer/select
Advanced tools
Comparing version 1.2.10 to 1.2.11
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18318
270
+ Added@inquirer/core@5.1.2(transitive)
+ Added@types/mute-stream@0.0.4(transitive)
- Removed@inquirer/core@4.1.0(transitive)
- Removed@types/mute-stream@0.0.1(transitive)
Updated@inquirer/core@^5.0.0
Updated@inquirer/type@^1.1.4