@inquirer/expand 1.1.10 → 1.1.12
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
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
const core_1 = require("@inquirer/core");
|
|
4
|
-
const chalk_1 = require("chalk");
|
|
7
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
5
8
|
const helpChoice = {
|
|
6
9
|
key: 'h',
|
|
7
10
|
name: 'Help, list all options',
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AsyncPromptConfig } from '@inquirer/core';
|
|
2
1
|
type ExpandChoice = {
|
|
3
2
|
key: string;
|
|
4
3
|
name: string;
|
|
@@ -10,10 +9,10 @@ type ExpandChoice = {
|
|
|
10
9
|
name: string;
|
|
11
10
|
value: string;
|
|
12
11
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
declare const _default: import("@inquirer/type").Prompt<string, {
|
|
13
|
+
message: string | Promise<string> | (() => Promise<string>);
|
|
14
|
+
choices: readonly ExpandChoice[];
|
|
15
|
+
default?: string | undefined;
|
|
16
|
+
expanded?: boolean | undefined;
|
|
17
|
+
}>;
|
|
19
18
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AsyncPromptConfig } from '@inquirer/core';
|
|
2
1
|
type ExpandChoice = {
|
|
3
2
|
key: string;
|
|
4
3
|
name: string;
|
|
@@ -10,10 +9,10 @@ type ExpandChoice = {
|
|
|
10
9
|
name: string;
|
|
11
10
|
value: string;
|
|
12
11
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
12
|
+
declare const _default: import("@inquirer/type").Prompt<string, {
|
|
13
|
+
message: string | Promise<string> | (() => Promise<string>);
|
|
14
|
+
choices: readonly ExpandChoice[];
|
|
15
|
+
default?: string | undefined;
|
|
16
|
+
expanded?: boolean | undefined;
|
|
17
|
+
}>;
|
|
19
18
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/expand",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "Inquirer checkbox prompt",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"typings": "./dist/cjs/types/index.d.ts",
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"license": "MIT",
|
|
55
55
|
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/expand/README.md",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@inquirer/core": "^
|
|
58
|
-
"@inquirer/type": "^1.1.
|
|
57
|
+
"@inquirer/core": "^5.0.1",
|
|
58
|
+
"@inquirer/type": "^1.1.5",
|
|
59
59
|
"chalk": "^4.1.2",
|
|
60
60
|
"figures": "^3.2.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@inquirer/testing": "^2.1.
|
|
63
|
+
"@inquirer/testing": "^2.1.7"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"tsc": "yarn run tsc:esm && yarn run tsc:cjs",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "85784061d702778bc9dd48ca08f09ee9976b06ee"
|
|
89
89
|
}
|