@optique/env 1.0.0-dev.1828 → 1.0.0-dev.1841

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
@@ -39,8 +39,9 @@ function defaultEnvSource(key) {
39
39
  *
40
40
  * When calling `context.getAnnotations()` manually, pass the returned
41
41
  * annotations to low-level APIs such as `parse()`, `parseAsync()`,
42
- * `parser.complete()`, `suggest()`, or `getDocPage()`. Calling
43
- * `getAnnotations()` by itself does not affect later parses.
42
+ * `parser.complete()`, `suggest()`, or `getDocPage()`. Since environment
43
+ * contexts are single-pass, `getAnnotations()` can still be called without
44
+ * a phase request. Calling it by itself does not affect later parses.
44
45
  *
45
46
  * @param options Environment context options.
46
47
  * @returns A context that provides environment source annotations.
package/dist/index.d.cts CHANGED
@@ -50,8 +50,9 @@ interface EnvContextOptions {
50
50
  *
51
51
  * When calling `context.getAnnotations()` manually, pass the returned
52
52
  * annotations to low-level APIs such as `parse()`, `parseAsync()`,
53
- * `parser.complete()`, `suggest()`, or `getDocPage()`. Calling
54
- * `getAnnotations()` by itself does not affect later parses.
53
+ * `parser.complete()`, `suggest()`, or `getDocPage()`. Since environment
54
+ * contexts are single-pass, `getAnnotations()` can still be called without
55
+ * a phase request. Calling it by itself does not affect later parses.
55
56
  *
56
57
  * @param options Environment context options.
57
58
  * @returns A context that provides environment source annotations.
package/dist/index.d.ts CHANGED
@@ -50,8 +50,9 @@ interface EnvContextOptions {
50
50
  *
51
51
  * When calling `context.getAnnotations()` manually, pass the returned
52
52
  * annotations to low-level APIs such as `parse()`, `parseAsync()`,
53
- * `parser.complete()`, `suggest()`, or `getDocPage()`. Calling
54
- * `getAnnotations()` by itself does not affect later parses.
53
+ * `parser.complete()`, `suggest()`, or `getDocPage()`. Since environment
54
+ * contexts are single-pass, `getAnnotations()` can still be called without
55
+ * a phase request. Calling it by itself does not affect later parses.
55
56
  *
56
57
  * @param options Environment context options.
57
58
  * @returns A context that provides environment source annotations.
package/dist/index.js CHANGED
@@ -16,8 +16,9 @@ function defaultEnvSource(key) {
16
16
  *
17
17
  * When calling `context.getAnnotations()` manually, pass the returned
18
18
  * annotations to low-level APIs such as `parse()`, `parseAsync()`,
19
- * `parser.complete()`, `suggest()`, or `getDocPage()`. Calling
20
- * `getAnnotations()` by itself does not affect later parses.
19
+ * `parser.complete()`, `suggest()`, or `getDocPage()`. Since environment
20
+ * contexts are single-pass, `getAnnotations()` can still be called without
21
+ * a phase request. Calling it by itself does not affect later parses.
21
22
  *
22
23
  * @param options Environment context options.
23
24
  * @returns A context that provides environment source annotations.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@optique/env",
3
- "version": "1.0.0-dev.1828+b245a686",
3
+ "version": "1.0.0-dev.1841+7b330b10",
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.1828+b245a686"
57
+ "@optique/core": "1.0.0-dev.1841+7b330b10"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/node": "^20.19.9",