@inquirer/select 4.3.3 → 4.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commonjs/index.js +2 -2
- package/dist/esm/index.js +2 -2
- package/package.json +5 -5
package/dist/commonjs/index.js
CHANGED
|
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.Separator = void 0;
|
|
7
7
|
const core_1 = require("@inquirer/core");
|
|
8
|
+
const ansi_1 = require("@inquirer/ansi");
|
|
8
9
|
const yoctocolors_cjs_1 = __importDefault(require("yoctocolors-cjs"));
|
|
9
10
|
const figures_1 = __importDefault(require("@inquirer/figures"));
|
|
10
|
-
const ansi_escapes_1 = __importDefault(require("ansi-escapes"));
|
|
11
11
|
const selectTheme = {
|
|
12
12
|
icon: { cursor: figures_1.default.pointer },
|
|
13
13
|
style: {
|
|
@@ -168,7 +168,7 @@ exports.default = (0, core_1.createPrompt)((config, done) => {
|
|
|
168
168
|
const choiceDescription = selectedChoice.description
|
|
169
169
|
? `\n${theme.style.description(selectedChoice.description)}`
|
|
170
170
|
: ``;
|
|
171
|
-
return `${[prefix, message, helpTipTop].filter(Boolean).join(' ')}\n${page}${helpTipBottom}${choiceDescription}${
|
|
171
|
+
return `${[prefix, message, helpTipTop].filter(Boolean).join(' ')}\n${page}${helpTipBottom}${choiceDescription}${ansi_1.cursorHide}`;
|
|
172
172
|
});
|
|
173
173
|
var core_2 = require("@inquirer/core");
|
|
174
174
|
Object.defineProperty(exports, "Separator", { enumerable: true, get: function () { return core_2.Separator; } });
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createPrompt, useState, useKeypress, usePrefix, usePagination, useRef, useMemo, useEffect, isBackspaceKey, isEnterKey, isUpKey, isDownKey, isNumberKey, Separator, ValidationError, makeTheme, } from '@inquirer/core';
|
|
2
|
+
import { cursorHide } from '@inquirer/ansi';
|
|
2
3
|
import colors from 'yoctocolors-cjs';
|
|
3
4
|
import figures from '@inquirer/figures';
|
|
4
|
-
import ansiEscapes from 'ansi-escapes';
|
|
5
5
|
const selectTheme = {
|
|
6
6
|
icon: { cursor: figures.pointer },
|
|
7
7
|
style: {
|
|
@@ -162,6 +162,6 @@ export default createPrompt((config, done) => {
|
|
|
162
162
|
const choiceDescription = selectedChoice.description
|
|
163
163
|
? `\n${theme.style.description(selectedChoice.description)}`
|
|
164
164
|
: ``;
|
|
165
|
-
return `${[prefix, message, helpTipTop].filter(Boolean).join(' ')}\n${page}${helpTipBottom}${choiceDescription}${
|
|
165
|
+
return `${[prefix, message, helpTipTop].filter(Boolean).join(' ')}\n${page}${helpTipBottom}${choiceDescription}${cursorHide}`;
|
|
166
166
|
});
|
|
167
167
|
export { Separator } from '@inquirer/core';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/select",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.4",
|
|
4
4
|
"description": "Inquirer select/list prompt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -74,15 +74,15 @@
|
|
|
74
74
|
"tsc": "tshy"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@inquirer/
|
|
77
|
+
"@inquirer/ansi": "^1.0.0",
|
|
78
|
+
"@inquirer/core": "^10.2.2",
|
|
78
79
|
"@inquirer/figures": "^1.0.13",
|
|
79
80
|
"@inquirer/type": "^3.0.8",
|
|
80
|
-
"ansi-escapes": "^4.3.2",
|
|
81
81
|
"yoctocolors-cjs": "^2.1.2"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@arethetypeswrong/cli": "^0.18.2",
|
|
85
|
-
"@inquirer/testing": "^2.1.
|
|
85
|
+
"@inquirer/testing": "^2.1.50",
|
|
86
86
|
"tshy": "^3.0.2"
|
|
87
87
|
},
|
|
88
88
|
"engines": {
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"optional": true
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "3fdf43342deb468ee41d698e407d8800700e08dc"
|
|
112
112
|
}
|