@optique/env 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 +2 -2
package/dist/index.cjs
CHANGED
|
@@ -194,6 +194,11 @@ function bindEnv(parser, options) {
|
|
|
194
194
|
configurable: true,
|
|
195
195
|
enumerable: false
|
|
196
196
|
});
|
|
197
|
+
if (typeof parser.normalizeValue === "function") Object.defineProperty(boundParser, "normalizeValue", {
|
|
198
|
+
value: parser.normalizeValue.bind(parser),
|
|
199
|
+
configurable: true,
|
|
200
|
+
enumerable: false
|
|
201
|
+
});
|
|
197
202
|
return boundParser;
|
|
198
203
|
}
|
|
199
204
|
function getEnvOrDefault(state, options, mode, innerParser, innerState) {
|
package/dist/index.js
CHANGED
|
@@ -171,6 +171,11 @@ function bindEnv(parser, options) {
|
|
|
171
171
|
configurable: true,
|
|
172
172
|
enumerable: false
|
|
173
173
|
});
|
|
174
|
+
if (typeof parser.normalizeValue === "function") Object.defineProperty(boundParser, "normalizeValue", {
|
|
175
|
+
value: parser.normalizeValue.bind(parser),
|
|
176
|
+
configurable: true,
|
|
177
|
+
enumerable: false
|
|
178
|
+
});
|
|
174
179
|
return boundParser;
|
|
175
180
|
}
|
|
176
181
|
function getEnvOrDefault(state, options, mode, innerParser, innerState) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optique/env",
|
|
3
|
-
"version": "1.0.0-dev.
|
|
3
|
+
"version": "1.0.0-dev.1555+118c402b",
|
|
4
4
|
"description": "Environment variable support for Optique",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"CLI",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"sideEffects": false,
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@optique/core": "1.0.0-dev.
|
|
57
|
+
"@optique/core": "1.0.0-dev.1555+118c402b"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/node": "^20.19.9",
|