@inquirer/core 2.3.0 → 2.3.1
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/README.md +1 -1
- package/dist/cjs/types/{index.d.cts → index.d.ts} +4 -4
- package/dist/cjs/types/lib/{options.d.cts → options.d.ts} +1 -1
- package/dist/cjs/types/lib/{screen-manager.d.cts → screen-manager.d.ts} +1 -1
- package/package.json +9 -6
- /package/dist/cjs/types/lib/{Paginator.d.cts → Paginator.d.ts} +0 -0
- /package/dist/cjs/types/lib/{Separator.d.cts → Separator.d.ts} +0 -0
- /package/dist/cjs/types/lib/{key.d.cts → key.d.ts} +0 -0
- /package/dist/cjs/types/lib/{prefix.d.cts → prefix.d.ts} +0 -0
- /package/dist/cjs/types/lib/{utils.d.cts → utils.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import readline from 'node:readline';
|
|
4
4
|
import { type Prompt } from '@inquirer/type';
|
|
5
5
|
import MuteStream from 'mute-stream';
|
|
6
|
-
export { usePrefix } from './lib/prefix.
|
|
7
|
-
export * from './lib/key.
|
|
8
|
-
export * from './lib/Paginator.
|
|
9
|
-
export * from './lib/Separator.
|
|
6
|
+
export { usePrefix } from './lib/prefix.js';
|
|
7
|
+
export * from './lib/key.js';
|
|
8
|
+
export * from './lib/Paginator.js';
|
|
9
|
+
export * from './lib/Separator.js';
|
|
10
10
|
export type InquirerReadline = readline.ReadLine & {
|
|
11
11
|
output: MuteStream;
|
|
12
12
|
input: NodeJS.ReadableStream;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { AsyncPromptConfig, ResolvedPromptConfig } from '../index.
|
|
1
|
+
import type { AsyncPromptConfig, ResolvedPromptConfig } from '../index.js';
|
|
2
2
|
export declare function getPromptConfig<In extends AsyncPromptConfig>(option: In): Promise<In & ResolvedPromptConfig>;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/core",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=14.18.0"
|
|
6
6
|
},
|
|
7
7
|
"description": "Core Inquirer prompt API",
|
|
8
8
|
"main": "./dist/cjs/index.js",
|
|
9
|
-
"typings": "./dist/cjs/types/index.d.
|
|
9
|
+
"typings": "./dist/cjs/types/index.d.ts",
|
|
10
10
|
"files": [
|
|
11
11
|
"dist/**/*"
|
|
12
12
|
],
|
|
@@ -57,7 +57,10 @@
|
|
|
57
57
|
"license": "MIT",
|
|
58
58
|
"homepage": "https://github.com/SBoudrias/Inquirer.js/blob/master/packages/core/README.md",
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@inquirer/type": "^1.1.
|
|
60
|
+
"@inquirer/type": "^1.1.1",
|
|
61
|
+
"@types/mute-stream": "^0.0.1",
|
|
62
|
+
"@types/node": "^20.4.2",
|
|
63
|
+
"@types/wrap-ansi": "^3.0.0",
|
|
61
64
|
"ansi-escapes": "^4.3.2",
|
|
62
65
|
"chalk": "^4.1.2",
|
|
63
66
|
"cli-spinners": "^2.8.0",
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
"wrap-ansi": "^6.0.1"
|
|
71
74
|
},
|
|
72
75
|
"devDependencies": {
|
|
73
|
-
"@inquirer/testing": "^2.1.
|
|
76
|
+
"@inquirer/testing": "^2.1.1"
|
|
74
77
|
},
|
|
75
78
|
"scripts": {
|
|
76
79
|
"tsc": "yarn run clean && yarn run tsc:esm && yarn run tsc:cjs",
|
|
@@ -89,10 +92,10 @@
|
|
|
89
92
|
"default": "./dist/esm/index.mjs"
|
|
90
93
|
},
|
|
91
94
|
"require": {
|
|
92
|
-
"types": "./dist/cjs/types/index.d.
|
|
95
|
+
"types": "./dist/cjs/types/index.d.ts",
|
|
93
96
|
"default": "./dist/cjs/index.js"
|
|
94
97
|
}
|
|
95
98
|
}
|
|
96
99
|
},
|
|
97
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "b1b29c0b6da9420d739cd46704c205515de2db04"
|
|
98
101
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|