@inquirer/testing 2.1.39 → 2.1.41

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 CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2023 Simon Boudrias
1
+ Copyright (c) 2025 Simon Boudrias
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person
4
4
  obtaining a copy of this software and associated documentation
package/README.md CHANGED
@@ -2,6 +2,17 @@
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" markdown="1">
8
+
9
+ [![Warp](https://github.com/user-attachments/assets/2bda420d-4211-4900-a37e-e3c7056d799c)](https://www.warp.dev/?utm_source=npmjs&utm_medium=referral&utm_campaign=inquirer)<br>
10
+ **[Warp, the intelligent terminal for developers](https://www.warp.dev/?utm_source=npmjs&utm_medium=referral&utm_campaign=inquirer)**<br>
11
+ [Available for MacOS and Linux](https://www.warp.dev/?utm_source=npmjs&utm_medium=referral&utm_campaign=inquirer)<br>
12
+ [Visit warp.dev to learn more](https://www.warp.dev/?utm_source=npmjs&utm_medium=referral&utm_campaign=inquirer)
13
+
14
+ </div>
15
+
5
16
  # Installation
6
17
 
7
18
  <table>
@@ -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, const TestedPrompt extends Prompt<Value, Props>>(prompt: TestedPrompt, props: Props, options?: Context): Promise<{
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
  };
@@ -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, const TestedPrompt extends Prompt<Value, Props>>(prompt: TestedPrompt, props: Props, options?: Context): Promise<{
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.39",
3
+ "version": "2.1.41",
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.2",
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": "7613d7474f1f17a18019b89f208f46be10c5b02f"
107
+ "gitHead": "0b28eff102cb90e933faf104a1e42c2298b7cb0e"
108
108
  }