@inquirer/i18n 1.0.6 → 1.1.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.
@@ -29,7 +29,6 @@ export declare const confirm: (this: void, config: {
29
29
  disabledError: string;
30
30
  };
31
31
  indexMode: "hidden" | "number";
32
- keybindings: ReadonlyArray<import("@inquirer/core").Keybinding>;
33
32
  }>> | undefined;
34
33
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, checkbox: <Value>(this: void, config: {
35
34
  message: string;
@@ -89,7 +88,6 @@ export declare const confirm: (this: void, config: {
89
88
  i18n: {
90
89
  disabledError: string;
91
90
  };
92
- keybindings: ReadonlyArray<import("@inquirer/core").Keybinding>;
93
91
  }>> | undefined;
94
92
  shortcuts?: {
95
93
  all?: string | null;
@@ -131,18 +129,18 @@ export declare const confirm: (this: void, config: {
131
129
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, expand: <Value>(this: void, config: {
132
130
  message: string;
133
131
  choices: readonly (import("@inquirer/prompts").Separator | {
134
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
132
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
135
133
  name: Value & string;
136
134
  value?: never;
137
135
  } | ({
138
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
136
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
139
137
  value: Value;
140
138
  } | {
141
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
139
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
142
140
  name: string;
143
141
  value: Value;
144
142
  }))[];
145
- default?: (("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z") | "h") | undefined;
143
+ default?: (("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z") | "h") | undefined;
146
144
  expanded?: boolean | undefined;
147
145
  theme?: import("@inquirer/type").PartialDeep<import("@inquirer/core").Theme> | undefined;
148
146
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, rawlist: <Value>(this: void, config: {
@@ -29,7 +29,6 @@ export declare const confirm: (this: void, config: {
29
29
  disabledError: string;
30
30
  };
31
31
  indexMode: "hidden" | "number";
32
- keybindings: ReadonlyArray<import("@inquirer/core").Keybinding>;
33
32
  }>> | undefined;
34
33
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, checkbox: <Value>(this: void, config: {
35
34
  message: string;
@@ -89,7 +88,6 @@ export declare const confirm: (this: void, config: {
89
88
  i18n: {
90
89
  disabledError: string;
91
90
  };
92
- keybindings: ReadonlyArray<import("@inquirer/core").Keybinding>;
93
91
  }>> | undefined;
94
92
  shortcuts?: {
95
93
  all?: string | null;
@@ -131,18 +129,18 @@ export declare const confirm: (this: void, config: {
131
129
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, expand: <Value>(this: void, config: {
132
130
  message: string;
133
131
  choices: readonly (import("@inquirer/prompts").Separator | {
134
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
132
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
135
133
  name: Value & string;
136
134
  value?: never;
137
135
  } | ({
138
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
136
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
139
137
  value: Value;
140
138
  } | {
141
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
139
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
142
140
  name: string;
143
141
  value: Value;
144
142
  }))[];
145
- default?: (("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z") | "h") | undefined;
143
+ default?: (("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z") | "h") | undefined;
146
144
  expanded?: boolean | undefined;
147
145
  theme?: import("@inquirer/type").PartialDeep<import("@inquirer/core").Theme> | undefined;
148
146
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, rawlist: <Value>(this: void, config: {
@@ -29,7 +29,6 @@ export declare const confirm: (this: void, config: {
29
29
  disabledError: string;
30
30
  };
31
31
  indexMode: "hidden" | "number";
32
- keybindings: ReadonlyArray<import("@inquirer/core").Keybinding>;
33
32
  }>> | undefined;
34
33
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, checkbox: <Value>(this: void, config: {
35
34
  message: string;
@@ -89,7 +88,6 @@ export declare const confirm: (this: void, config: {
89
88
  i18n: {
90
89
  disabledError: string;
91
90
  };
92
- keybindings: ReadonlyArray<import("@inquirer/core").Keybinding>;
93
91
  }>> | undefined;
94
92
  shortcuts?: {
95
93
  all?: string | null;
@@ -131,18 +129,18 @@ export declare const confirm: (this: void, config: {
131
129
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, expand: <Value>(this: void, config: {
132
130
  message: string;
133
131
  choices: readonly (import("@inquirer/prompts").Separator | {
134
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
132
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
135
133
  name: Value & string;
136
134
  value?: never;
137
135
  } | ({
138
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
136
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
139
137
  value: Value;
140
138
  } | {
141
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
139
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
142
140
  name: string;
143
141
  value: Value;
144
142
  }))[];
145
- default?: (("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z") | "h") | undefined;
143
+ default?: (("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z") | "h") | undefined;
146
144
  expanded?: boolean | undefined;
147
145
  theme?: import("@inquirer/type").PartialDeep<import("@inquirer/core").Theme> | undefined;
148
146
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, rawlist: <Value>(this: void, config: {
@@ -29,7 +29,6 @@ export declare const confirm: (this: void, config: {
29
29
  disabledError: string;
30
30
  };
31
31
  indexMode: "hidden" | "number";
32
- keybindings: ReadonlyArray<import("@inquirer/core").Keybinding>;
33
32
  }>> | undefined;
34
33
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, checkbox: <Value>(this: void, config: {
35
34
  message: string;
@@ -89,7 +88,6 @@ export declare const confirm: (this: void, config: {
89
88
  i18n: {
90
89
  disabledError: string;
91
90
  };
92
- keybindings: ReadonlyArray<import("@inquirer/core").Keybinding>;
93
91
  }>> | undefined;
94
92
  shortcuts?: {
95
93
  all?: string | null;
@@ -131,18 +129,18 @@ export declare const confirm: (this: void, config: {
131
129
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, expand: <Value>(this: void, config: {
132
130
  message: string;
133
131
  choices: readonly (import("@inquirer/prompts").Separator | {
134
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
132
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
135
133
  name: Value & string;
136
134
  value?: never;
137
135
  } | ({
138
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
136
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
139
137
  value: Value;
140
138
  } | {
141
- key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
139
+ key: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
142
140
  name: string;
143
141
  value: Value;
144
142
  }))[];
145
- default?: (("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "f" | "s" | "a" | "b" | "c" | "d" | "e" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "t" | "u" | "v" | "w" | "x" | "y" | "z") | "h") | undefined;
143
+ default?: (("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z") | "h") | undefined;
146
144
  expanded?: boolean | undefined;
147
145
  theme?: import("@inquirer/type").PartialDeep<import("@inquirer/core").Theme> | undefined;
148
146
  }, context?: import("@inquirer/type").Context | undefined) => Promise<Value>, rawlist: <Value>(this: void, config: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inquirer/i18n",
3
- "version": "1.0.6",
3
+ "version": "1.1.1",
4
4
  "description": "Internationalized Inquirer prompts - drop-in package with i18n support",
5
5
  "keywords": [
6
6
  "answer",
@@ -97,8 +97,8 @@
97
97
  "tsc": "tsc"
98
98
  },
99
99
  "dependencies": {
100
- "@inquirer/core": "^11.1.10",
101
- "@inquirer/prompts": "^8.4.3"
100
+ "@inquirer/core": "^11.2.1",
101
+ "@inquirer/prompts": "^8.5.1"
102
102
  },
103
103
  "devDependencies": {
104
104
  "typescript": "^6.0.2"
@@ -112,9 +112,9 @@
112
112
  }
113
113
  },
114
114
  "engines": {
115
- "node": ">=23.5.0 || ^22.13.0 || ^21.7.0 || ^20.12.0"
115
+ "node": ">=23.5.0 || ^22.13.0 || ^20.17.0"
116
116
  },
117
117
  "main": "./dist/index.js",
118
118
  "types": "./dist/index.d.ts",
119
- "gitHead": "113558c67f0d781d774cf3cf4db48fbcd8738b13"
119
+ "gitHead": "b43359d803733b1a7c4638addcc270987fb894c3"
120
120
  }