@optique/config 1.0.0-dev.1547 → 1.0.0-dev.1555
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 +5 -0
- package/dist/index.js +5 -0
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -370,6 +370,11 @@ function bindConfig(parser, options) {
|
|
|
370
370
|
configurable: true,
|
|
371
371
|
enumerable: false
|
|
372
372
|
});
|
|
373
|
+
if (typeof parser.normalizeValue === "function") Object.defineProperty(boundParser, "normalizeValue", {
|
|
374
|
+
value: parser.normalizeValue.bind(parser),
|
|
375
|
+
configurable: true,
|
|
376
|
+
enumerable: false
|
|
377
|
+
});
|
|
373
378
|
return boundParser;
|
|
374
379
|
}
|
|
375
380
|
/**
|
package/dist/index.js
CHANGED
|
@@ -347,6 +347,11 @@ function bindConfig(parser, options) {
|
|
|
347
347
|
configurable: true,
|
|
348
348
|
enumerable: false
|
|
349
349
|
});
|
|
350
|
+
if (typeof parser.normalizeValue === "function") Object.defineProperty(boundParser, "normalizeValue", {
|
|
351
|
+
value: parser.normalizeValue.bind(parser),
|
|
352
|
+
configurable: true,
|
|
353
|
+
enumerable: false
|
|
354
|
+
});
|
|
350
355
|
return boundParser;
|
|
351
356
|
}
|
|
352
357
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/config",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.1555+118c402b",
|
|
4
4
|
"description": "Configuration file support for Optique with Standard Schema validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@standard-schema/spec": "^1.1.0"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@optique/core": "1.0.0-dev.
|
|
62
|
+
"@optique/core": "1.0.0-dev.1555+118c402b"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@standard-schema/spec": "^1.1.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"tsdown": "^0.13.0",
|
|
68
68
|
"typescript": "^5.8.3",
|
|
69
69
|
"zod": "^3.25.0 || ^4.0.0",
|
|
70
|
-
"@optique/env": "1.0.0-dev.
|
|
70
|
+
"@optique/env": "1.0.0-dev.1555+118c402b"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "tsdown",
|