@inquirer/select 2.4.5 → 2.4.7
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/cjs/index.js +1 -1
- package/dist/esm/index.mjs +1 -1
- package/package.json +5 -5
package/dist/cjs/index.js
CHANGED
|
@@ -114,7 +114,7 @@ exports.default = (0, core_1.createPrompt)((config, done) => {
|
|
|
114
114
|
if (core_1.Separator.isSeparator(item)) {
|
|
115
115
|
return ` ${item.separator}`;
|
|
116
116
|
}
|
|
117
|
-
const line = item.name || item.value;
|
|
117
|
+
const line = String(item.name || item.value);
|
|
118
118
|
if (item.disabled) {
|
|
119
119
|
const disabledLabel = typeof item.disabled === 'string' ? item.disabled : '(disabled)';
|
|
120
120
|
return theme.style.disabled(`${line} ${disabledLabel}`);
|
package/dist/esm/index.mjs
CHANGED
|
@@ -107,7 +107,7 @@ export default createPrompt((config, done) => {
|
|
|
107
107
|
if (Separator.isSeparator(item)) {
|
|
108
108
|
return ` ${item.separator}`;
|
|
109
109
|
}
|
|
110
|
-
const line = item.name || item.value;
|
|
110
|
+
const line = String(item.name || item.value);
|
|
111
111
|
if (item.disabled) {
|
|
112
112
|
const disabledLabel = typeof item.disabled === 'string' ? item.disabled : '(disabled)';
|
|
113
113
|
return theme.style.disabled(`${line} ${disabledLabel}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/select",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.7",
|
|
4
4
|
"description": "Inquirer select/list prompt",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"typings": "./dist/cjs/types/index.d.ts",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
"license": "MIT",
|
|
55
55
|
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/main/packages/select/README.md",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@inquirer/core": "^9.0.
|
|
57
|
+
"@inquirer/core": "^9.0.10",
|
|
58
58
|
"@inquirer/figures": "^1.0.5",
|
|
59
|
-
"@inquirer/type": "^1.5.
|
|
59
|
+
"@inquirer/type": "^1.5.2",
|
|
60
60
|
"ansi-escapes": "^4.3.2",
|
|
61
61
|
"yoctocolors-cjs": "^2.1.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@inquirer/testing": "^2.1.
|
|
64
|
+
"@inquirer/testing": "^2.1.31"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"tsc": "yarn run tsc:esm && yarn run tsc:cjs",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
90
|
"sideEffects": false,
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "273b16eeb96fab346854b9b92257c930d7ca7661"
|
|
92
92
|
}
|