@optique/core 1.4.0-dev.2616 → 1.4.0-dev.2619
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/constructs.cjs +2 -0
- package/dist/constructs.js +2 -0
- package/package.json +2 -2
package/dist/constructs.cjs
CHANGED
|
@@ -6430,6 +6430,7 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
6430
6430
|
if (defaultResult.success && (defaultResult.consumed.length > 0 || discriminatorConsumed === 0 && context.buffer.length === 0)) {
|
|
6431
6431
|
const mergedExec = require_execution_context.mergeChildExec(context.exec, defaultResult.next.exec);
|
|
6432
6432
|
const commitDefault = defaultResult.consumed.length > 0 || context.buffer.length === 0;
|
|
6433
|
+
if (commitDefault) optionScope.select(context, syncDefaultBranch);
|
|
6433
6434
|
return {
|
|
6434
6435
|
success: true,
|
|
6435
6436
|
...defaultResult.provisional ? { provisional: true } : {},
|
|
@@ -6685,6 +6686,7 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
6685
6686
|
if (defaultResult.success && (defaultResult.consumed.length > 0 || discriminatorConsumed === 0 && context.buffer.length === 0)) {
|
|
6686
6687
|
const mergedExec = require_execution_context.mergeChildExec(context.exec, defaultResult.next.exec);
|
|
6687
6688
|
const commitDefault = defaultResult.consumed.length > 0 || context.buffer.length === 0;
|
|
6689
|
+
if (commitDefault) optionScope.select(context, defaultBranch);
|
|
6688
6690
|
return {
|
|
6689
6691
|
success: true,
|
|
6690
6692
|
...defaultResult.provisional ? { provisional: true } : {},
|
package/dist/constructs.js
CHANGED
|
@@ -6430,6 +6430,7 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
6430
6430
|
if (defaultResult.success && (defaultResult.consumed.length > 0 || discriminatorConsumed === 0 && context.buffer.length === 0)) {
|
|
6431
6431
|
const mergedExec = mergeChildExec(context.exec, defaultResult.next.exec);
|
|
6432
6432
|
const commitDefault = defaultResult.consumed.length > 0 || context.buffer.length === 0;
|
|
6433
|
+
if (commitDefault) optionScope.select(context, syncDefaultBranch);
|
|
6433
6434
|
return {
|
|
6434
6435
|
success: true,
|
|
6435
6436
|
...defaultResult.provisional ? { provisional: true } : {},
|
|
@@ -6685,6 +6686,7 @@ function conditional(discriminator, branches, defaultBranch, options) {
|
|
|
6685
6686
|
if (defaultResult.success && (defaultResult.consumed.length > 0 || discriminatorConsumed === 0 && context.buffer.length === 0)) {
|
|
6686
6687
|
const mergedExec = mergeChildExec(context.exec, defaultResult.next.exec);
|
|
6687
6688
|
const commitDefault = defaultResult.consumed.length > 0 || context.buffer.length === 0;
|
|
6689
|
+
if (commitDefault) optionScope.select(context, defaultBranch);
|
|
6688
6690
|
return {
|
|
6689
6691
|
success: true,
|
|
6690
6692
|
...defaultResult.provisional ? { provisional: true } : {},
|
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.2619",
|
|
4
4
|
"description": "Type-safe combinatorial command-line interface parser",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
},
|
|
238
238
|
"sideEffects": false,
|
|
239
239
|
"devDependencies": {
|
|
240
|
-
"@optique/env": "1.4.0-dev.
|
|
240
|
+
"@optique/env": "1.4.0-dev.2619+6fa1e1d4",
|
|
241
241
|
"@types/node": "^24.0.0",
|
|
242
242
|
"fast-check": "^4.7.0",
|
|
243
243
|
"tsdown": "^0.13.0",
|