@optique/env 1.0.0-dev.606 → 1.0.0-dev.610

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
@@ -100,8 +100,9 @@ function createEnvContext(options = {}) {
100
100
  * @param parser Parser that reads CLI values.
101
101
  * @param options Environment binding options.
102
102
  * @returns A parser with environment fallback behavior.
103
- * @throws {Error} If the inner parser or environment value parser throws
104
- * while parsing or completing a value.
103
+ * @throws {Error} If the inner parser throws while parsing or completing a
104
+ * value, or if the environment value parser throws while
105
+ * parsing the environment variable value.
105
106
  * @since 1.0.0
106
107
  */
107
108
  function bindEnv(parser, options) {
package/dist/index.d.cts CHANGED
@@ -112,8 +112,9 @@ interface BindEnvOptions<M extends Mode, TValue> {
112
112
  * @param parser Parser that reads CLI values.
113
113
  * @param options Environment binding options.
114
114
  * @returns A parser with environment fallback behavior.
115
- * @throws {Error} If the inner parser or environment value parser throws
116
- * while parsing or completing a value.
115
+ * @throws {Error} If the inner parser throws while parsing or completing a
116
+ * value, or if the environment value parser throws while
117
+ * parsing the environment variable value.
117
118
  * @since 1.0.0
118
119
  */
119
120
  declare function bindEnv<M extends Mode, TValue, TState>(parser: Parser<M, TValue, TState>, options: BindEnvOptions<M, TValue>): Parser<M, TValue, TState>;
package/dist/index.d.ts CHANGED
@@ -112,8 +112,9 @@ interface BindEnvOptions<M extends Mode, TValue> {
112
112
  * @param parser Parser that reads CLI values.
113
113
  * @param options Environment binding options.
114
114
  * @returns A parser with environment fallback behavior.
115
- * @throws {Error} If the inner parser or environment value parser throws
116
- * while parsing or completing a value.
115
+ * @throws {Error} If the inner parser throws while parsing or completing a
116
+ * value, or if the environment value parser throws while
117
+ * parsing the environment variable value.
117
118
  * @since 1.0.0
118
119
  */
119
120
  declare function bindEnv<M extends Mode, TValue, TState>(parser: Parser<M, TValue, TState>, options: BindEnvOptions<M, TValue>): Parser<M, TValue, TState>;
package/dist/index.js CHANGED
@@ -77,8 +77,9 @@ function createEnvContext(options = {}) {
77
77
  * @param parser Parser that reads CLI values.
78
78
  * @param options Environment binding options.
79
79
  * @returns A parser with environment fallback behavior.
80
- * @throws {Error} If the inner parser or environment value parser throws
81
- * while parsing or completing a value.
80
+ * @throws {Error} If the inner parser throws while parsing or completing a
81
+ * value, or if the environment value parser throws while
82
+ * parsing the environment variable value.
82
83
  * @since 1.0.0
83
84
  */
84
85
  function bindEnv(parser, options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/env",
3
- "version": "1.0.0-dev.606+a7c54a0f",
3
+ "version": "1.0.0-dev.610+9b26c972",
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.606+a7c54a0f"
57
+ "@optique/core": "1.0.0-dev.610+9b26c972"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/node": "^20.19.9",