@optique/core 1.4.0-dev.2749 → 1.4.0-dev.2758
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/dist/primitives.cjs +2 -2
- package/dist/primitives.js +2 -2
- package/package.json +2 -2
package/dist/primitives.cjs
CHANGED
|
@@ -952,8 +952,8 @@ function flag(...args) {
|
|
|
952
952
|
error: require_message.message`${require_message.optionNames(optionNames$1)}: ${state.error}`
|
|
953
953
|
};
|
|
954
954
|
},
|
|
955
|
-
suggest(
|
|
956
|
-
if (require_usage.isSuggestionHidden(options.hidden)) return [];
|
|
955
|
+
suggest(context, prefix) {
|
|
956
|
+
if (require_usage.isSuggestionHidden(options.hidden) || context.optionsTerminated) return [];
|
|
957
957
|
const suggestions = [];
|
|
958
958
|
if (prefix.startsWith("--") || prefix.startsWith("-") || prefix.startsWith("/") || prefix.startsWith("+")) {
|
|
959
959
|
for (const optionName$1 of optionNames$1) if (optionName$1.startsWith(prefix)) {
|
package/dist/primitives.js
CHANGED
|
@@ -952,8 +952,8 @@ function flag(...args) {
|
|
|
952
952
|
error: message`${optionNames(optionNames$1)}: ${state.error}`
|
|
953
953
|
};
|
|
954
954
|
},
|
|
955
|
-
suggest(
|
|
956
|
-
if (isSuggestionHidden(options.hidden)) return [];
|
|
955
|
+
suggest(context, prefix) {
|
|
956
|
+
if (isSuggestionHidden(options.hidden) || context.optionsTerminated) return [];
|
|
957
957
|
const suggestions = [];
|
|
958
958
|
if (prefix.startsWith("--") || prefix.startsWith("-") || prefix.startsWith("/") || prefix.startsWith("+")) {
|
|
959
959
|
for (const optionName$1 of optionNames$1) if (optionName$1.startsWith(prefix)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/core",
|
|
3
|
-
"version": "1.4.0-dev.
|
|
3
|
+
"version": "1.4.0-dev.2758",
|
|
4
4
|
"description": "Type-safe combinatorial command-line interface parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
},
|
|
262
262
|
"sideEffects": false,
|
|
263
263
|
"devDependencies": {
|
|
264
|
-
"@optique/env": "1.4.0-dev.
|
|
264
|
+
"@optique/env": "1.4.0-dev.2758+5ff6e66c",
|
|
265
265
|
"@types/node": "^24.0.0",
|
|
266
266
|
"fast-check": "^4.7.0",
|
|
267
267
|
"tsdown": "^0.13.0",
|