@inquirer/testing 2.1.39 → 2.1.40
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/LICENSE +1 -1
- package/README.md +20 -0
- package/dist/commonjs/index.d.ts +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
The `@inquirer/testing` package is Inquirer's answer to testing prompts [built with `@inquirer/core`](https://github.com/SBoudrias/Inquirer.js/tree/main/packages/core).
|
|
4
4
|
|
|
5
|
+
# Special Thanks
|
|
6
|
+
|
|
7
|
+
<div align="center">
|
|
8
|
+
<br>
|
|
9
|
+
<br>
|
|
10
|
+
<a href="https://www.warp.dev/?utm_source=npmjs&utm_medium=referral&utm_campaign=inquirer">
|
|
11
|
+
<div>
|
|
12
|
+
<picture>
|
|
13
|
+
<img alt="Warp" width="400" src="https://github.com/user-attachments/assets/2bda420d-4211-4900-a37e-e3c7056d799c">
|
|
14
|
+
</picture>
|
|
15
|
+
</div>
|
|
16
|
+
<b>Warp, the intelligent terminal for developers</b>
|
|
17
|
+
<div>
|
|
18
|
+
<sup>Available for MacOS and Linux<br>
|
|
19
|
+
Visit warp.dev to learn more
|
|
20
|
+
</sup>
|
|
21
|
+
</div>
|
|
22
|
+
</a>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
5
25
|
# Installation
|
|
6
26
|
|
|
7
27
|
<table>
|
package/dist/commonjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import MuteStream from 'mute-stream';
|
|
2
2
|
import type { Prompt, Context } from '@inquirer/type';
|
|
3
|
-
export declare function render<const Props, const Value
|
|
3
|
+
export declare function render<const Props, const Value>(prompt: Prompt<Value, Props>, props: Props, options?: Context): Promise<{
|
|
4
4
|
answer: Promise<Value> & {
|
|
5
5
|
cancel: () => void;
|
|
6
6
|
};
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import MuteStream from 'mute-stream';
|
|
2
2
|
import type { Prompt, Context } from '@inquirer/type';
|
|
3
|
-
export declare function render<const Props, const Value
|
|
3
|
+
export declare function render<const Props, const Value>(prompt: Prompt<Value, Props>, props: Props, options?: Context): Promise<{
|
|
4
4
|
answer: Promise<Value> & {
|
|
5
5
|
cancel: () => void;
|
|
6
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/testing",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.40",
|
|
4
4
|
"description": "Inquirer testing utilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@arethetypeswrong/cli": "^0.17.2",
|
|
87
87
|
"@repo/tsconfig": "workspace:*",
|
|
88
88
|
"@types/mute-stream": "^0.0.4",
|
|
89
|
-
"@types/node": "^22.10.
|
|
89
|
+
"@types/node": "^22.10.5",
|
|
90
90
|
"tshy": "^3.0.2"
|
|
91
91
|
},
|
|
92
92
|
"engines": {
|
|
@@ -104,5 +104,5 @@
|
|
|
104
104
|
"peerDependencies": {
|
|
105
105
|
"@types/node": ">=18"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "43afbb5a1a96a23342f9fa3867e3d5d0a9abc8fe"
|
|
108
108
|
}
|