@inquirer/core 10.1.13 → 10.1.14
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.
|
@@ -55,7 +55,7 @@ function getCallSites() {
|
|
|
55
55
|
result = callSitesWithoutCurrent;
|
|
56
56
|
return callSitesWithoutCurrent;
|
|
57
57
|
};
|
|
58
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
58
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
59
59
|
new Error().stack;
|
|
60
60
|
}
|
|
61
61
|
catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InquirerReadline } from '@inquirer/type';
|
|
2
2
|
export declare function withHooks<T>(rl: InquirerReadline, cb: (cycle: (render: () => void) => void) => T): T;
|
|
3
3
|
export declare function readline(): InquirerReadline;
|
|
4
|
-
export declare function withUpdates<
|
|
4
|
+
export declare function withUpdates<Args extends unknown[], R>(fn: (...args: Args) => R): (...args: Args) => R;
|
|
5
5
|
type SetPointer<Value> = {
|
|
6
6
|
get(): Value;
|
|
7
7
|
set(value: Value): void;
|
|
@@ -16,7 +16,7 @@ function getCallSites() {
|
|
|
16
16
|
result = callSitesWithoutCurrent;
|
|
17
17
|
return callSitesWithoutCurrent;
|
|
18
18
|
};
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
19
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
20
20
|
new Error().stack;
|
|
21
21
|
}
|
|
22
22
|
catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { InquirerReadline } from '@inquirer/type';
|
|
2
2
|
export declare function withHooks<T>(rl: InquirerReadline, cb: (cycle: (render: () => void) => void) => T): T;
|
|
3
3
|
export declare function readline(): InquirerReadline;
|
|
4
|
-
export declare function withUpdates<
|
|
4
|
+
export declare function withUpdates<Args extends unknown[], R>(fn: (...args: Args) => R): (...args: Args) => R;
|
|
5
5
|
type SetPointer<Value> = {
|
|
6
6
|
get(): Value;
|
|
7
7
|
set(value: Value): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inquirer/core",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.14",
|
|
4
4
|
"description": "Core Inquirer prompt API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"answer",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@arethetypeswrong/cli": "^0.18.1",
|
|
88
|
-
"@inquirer/testing": "^2.1.
|
|
88
|
+
"@inquirer/testing": "^2.1.48",
|
|
89
89
|
"@types/mute-stream": "^0.0.4",
|
|
90
|
-
"@types/node": "^
|
|
90
|
+
"@types/node": "^24.0.1",
|
|
91
91
|
"@types/wrap-ansi": "^3.0.0",
|
|
92
92
|
"tshy": "^3.0.2"
|
|
93
93
|
},
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
".": "./src/index.ts"
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "43b7bb94390c1e2b6473af1b790ff2fd1c8007c8"
|
|
118
118
|
}
|