@optique/config 1.3.0-dev.2375 → 1.3.0-dev.2380

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/index.cjs CHANGED
@@ -417,7 +417,8 @@ function bindConfig(parser, options) {
417
417
  const fallbackState = state.cliState ?? state;
418
418
  if (!sourceMetadata.preservesSourceValue) return sourceMetadata.extractSourceValue(fallbackState);
419
419
  return getConfigSourceValue(state, options, fallbackState, sourceMetadata.extractSourceValue, parser);
420
- }
420
+ },
421
+ completeSource: sourceMetadata.completeSource == null || sourceMetadata.preservesSourceValue === false ? void 0 : (state, exec) => Promise.resolve(boundParser.complete(state, exec))
421
422
  }));
422
423
  if (dependencyMetadata != null) Object.defineProperty(boundParser, "dependencyMetadata", {
423
424
  value: dependencyMetadata,
package/dist/index.js CHANGED
@@ -394,7 +394,8 @@ function bindConfig(parser, options) {
394
394
  const fallbackState = state.cliState ?? state;
395
395
  if (!sourceMetadata.preservesSourceValue) return sourceMetadata.extractSourceValue(fallbackState);
396
396
  return getConfigSourceValue(state, options, fallbackState, sourceMetadata.extractSourceValue, parser);
397
- }
397
+ },
398
+ completeSource: sourceMetadata.completeSource == null || sourceMetadata.preservesSourceValue === false ? void 0 : (state, exec) => Promise.resolve(boundParser.complete(state, exec))
398
399
  }));
399
400
  if (dependencyMetadata != null) Object.defineProperty(boundParser, "dependencyMetadata", {
400
401
  value: dependencyMetadata,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/config",
3
- "version": "1.3.0-dev.2375",
3
+ "version": "1.3.0-dev.2380",
4
4
  "description": "Configuration file support for Optique with Standard Schema validation",
5
5
  "keywords": [
6
6
  "CLI",
@@ -65,10 +65,10 @@
65
65
  "@standard-schema/spec": "^1.1.0"
66
66
  },
67
67
  "dependencies": {
68
- "@optique/core": "1.3.0-dev.2375+820d01c0"
68
+ "@optique/core": "1.3.0-dev.2380+4bce39a7"
69
69
  },
70
70
  "devDependencies": {
71
- "@optique/env": "1.3.0-dev.2375+820d01c0",
71
+ "@optique/env": "1.3.0-dev.2380+4bce39a7",
72
72
  "@standard-schema/spec": "^1.1.0",
73
73
  "@types/node": "^24.0.0",
74
74
  "fast-check": "^4.7.0",