@karmaniverous/get-dotenv 6.2.0 → 6.2.2

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/cli.mjs CHANGED
@@ -3567,7 +3567,6 @@ function attachAwsDefaultAction(cli, plugin, awsCmd) {
3567
3567
  *
3568
3568
  * @internal
3569
3569
  */
3570
- /** @hidden */
3571
3570
  function attachAwsOptions(cli, plugin) {
3572
3571
  return (cli
3573
3572
  // Description is owned by the plugin index (src/plugins/aws/index.ts).
@@ -3627,7 +3626,6 @@ function attachAwsPreSubcommandHook(cli, plugin) {
3627
3626
  * This Zod schema is used by the host to validate the `plugins.aws` config slice.
3628
3627
  *
3629
3628
  * @public
3630
- * @hidden
3631
3629
  */
3632
3630
  const awsPluginConfigSchema = z$2.object({
3633
3631
  /** Preferred AWS profile name (overrides dotenv-derived profile keys when set). */
@@ -14163,7 +14161,6 @@ function attachWhoamiDefaultAction(cli) {
14163
14161
  *
14164
14162
  * @internal
14165
14163
  */
14166
- /** @hidden */
14167
14164
  function attachWhoamiOptions(cli) {
14168
14165
  return cli;
14169
14166
  }
@@ -14564,7 +14561,6 @@ const attachBatchDefaultAction = (plugin, cli, pluginOpts, parent) => {
14564
14561
  *
14565
14562
  * @internal
14566
14563
  */
14567
- /** @hidden */
14568
14564
  function attachBatchOptions(plugin, cli) {
14569
14565
  const GROUP = `plugin:${cli.name()}`;
14570
14566
  return (cli
@@ -14788,7 +14784,6 @@ const attachCmdDefaultAction = (cli, cmd, aliasKey) => {
14788
14784
  *
14789
14785
  * @internal
14790
14786
  */
14791
- /** @hidden */
14792
14787
  function attachCmdOptions(cli) {
14793
14788
  return cli
14794
14789
  .enablePositionalOptions()
@@ -15281,7 +15276,6 @@ function attachInitDefaultAction(cli) {
15281
15276
  *
15282
15277
  * @internal
15283
15278
  */
15284
- /** @hidden */
15285
15279
  function attachInitOptions(cli) {
15286
15280
  return (cli
15287
15281
  // Description is owned by the plugin index (src/plugins/init/index.ts).
@@ -3568,7 +3568,6 @@ function attachAwsDefaultAction(cli, plugin, awsCmd) {
3568
3568
  *
3569
3569
  * @internal
3570
3570
  */
3571
- /** @hidden */
3572
3571
  function attachAwsOptions(cli, plugin) {
3573
3572
  return (cli
3574
3573
  // Description is owned by the plugin index (src/plugins/aws/index.ts).
@@ -3628,7 +3627,6 @@ function attachAwsPreSubcommandHook(cli, plugin) {
3628
3627
  * This Zod schema is used by the host to validate the `plugins.aws` config slice.
3629
3628
  *
3630
3629
  * @public
3631
- * @hidden
3632
3630
  */
3633
3631
  const awsPluginConfigSchema = z$2.object({
3634
3632
  /** Preferred AWS profile name (overrides dotenv-derived profile keys when set). */
@@ -14164,7 +14162,6 @@ function attachWhoamiDefaultAction(cli) {
14164
14162
  *
14165
14163
  * @internal
14166
14164
  */
14167
- /** @hidden */
14168
14165
  function attachWhoamiOptions(cli) {
14169
14166
  return cli;
14170
14167
  }
@@ -14565,7 +14562,6 @@ const attachBatchDefaultAction = (plugin, cli, pluginOpts, parent) => {
14565
14562
  *
14566
14563
  * @internal
14567
14564
  */
14568
- /** @hidden */
14569
14565
  function attachBatchOptions(plugin, cli) {
14570
14566
  const GROUP = `plugin:${cli.name()}`;
14571
14567
  return (cli
@@ -14789,7 +14785,6 @@ const attachCmdDefaultAction = (cli, cmd, aliasKey) => {
14789
14785
  *
14790
14786
  * @internal
14791
14787
  */
14792
- /** @hidden */
14793
14788
  function attachCmdOptions(cli) {
14794
14789
  return cli
14795
14790
  .enablePositionalOptions()
@@ -15282,7 +15277,6 @@ function attachInitDefaultAction(cli) {
15282
15277
  *
15283
15278
  * @internal
15284
15279
  */
15285
- /** @hidden */
15286
15280
  function attachInitOptions(cli) {
15287
15281
  return (cli
15288
15282
  // Description is owned by the plugin index (src/plugins/init/index.ts).
package/dist/index.d.ts CHANGED
@@ -367,6 +367,20 @@ interface GetDotenvConfig<Vars extends ProcessEnv, Env extends string = string>
367
367
  * @returns The same `cfg` value, with its type preserved for inference.
368
368
  */
369
369
  declare function defineGetDotenvConfig<Vars extends ProcessEnv, Env extends string = string, T extends GetDotenvConfig<Vars, Env> = GetDotenvConfig<Vars, Env>>(cfg: T): T;
370
+ /**
371
+ * Internal helper type used by {@link InferGetDotenvVarsFromConfig}.
372
+ *
373
+ * This exists to give TypeDoc a stable symbol for the `vars` probe used in the
374
+ * conditional type, avoiding anonymous `__type` warnings.
375
+ *
376
+ * @typeParam V - The `vars` bag shape declared on the config.
377
+ */
378
+ interface GetDotenvConfigWithVars<V extends ProcessEnv = ProcessEnv> {
379
+ /**
380
+ * Variables declared on a typed getdotenv config document.
381
+ */
382
+ vars?: V;
383
+ }
370
384
  /**
371
385
  * Compile-time helper to derive the Vars shape from a typed getdotenv config document.
372
386
  */
package/dist/index.mjs CHANGED
@@ -3657,7 +3657,6 @@ function attachAwsDefaultAction(cli, plugin, awsCmd) {
3657
3657
  *
3658
3658
  * @internal
3659
3659
  */
3660
- /** @hidden */
3661
3660
  function attachAwsOptions(cli, plugin) {
3662
3661
  return (cli
3663
3662
  // Description is owned by the plugin index (src/plugins/aws/index.ts).
@@ -3717,7 +3716,6 @@ function attachAwsPreSubcommandHook(cli, plugin) {
3717
3716
  * This Zod schema is used by the host to validate the `plugins.aws` config slice.
3718
3717
  *
3719
3718
  * @public
3720
- * @hidden
3721
3719
  */
3722
3720
  const awsPluginConfigSchema = z$2.object({
3723
3721
  /** Preferred AWS profile name (overrides dotenv-derived profile keys when set). */
@@ -14253,7 +14251,6 @@ function attachWhoamiDefaultAction(cli) {
14253
14251
  *
14254
14252
  * @internal
14255
14253
  */
14256
- /** @hidden */
14257
14254
  function attachWhoamiOptions(cli) {
14258
14255
  return cli;
14259
14256
  }
@@ -14654,7 +14651,6 @@ const attachBatchDefaultAction = (plugin, cli, pluginOpts, parent) => {
14654
14651
  *
14655
14652
  * @internal
14656
14653
  */
14657
- /** @hidden */
14658
14654
  function attachBatchOptions(plugin, cli) {
14659
14655
  const GROUP = `plugin:${cli.name()}`;
14660
14656
  return (cli
@@ -14878,7 +14874,6 @@ const attachCmdDefaultAction = (cli, cmd, aliasKey) => {
14878
14874
  *
14879
14875
  * @internal
14880
14876
  */
14881
- /** @hidden */
14882
14877
  function attachCmdOptions(cli) {
14883
14878
  return cli
14884
14879
  .enablePositionalOptions()
@@ -15371,7 +15366,6 @@ function attachInitDefaultAction(cli) {
15371
15366
  *
15372
15367
  * @internal
15373
15368
  */
15374
- /** @hidden */
15375
15369
  function attachInitOptions(cli) {
15376
15370
  return (cli
15377
15371
  // Description is owned by the plugin index (src/plugins/init/index.ts).
@@ -372,7 +372,6 @@ interface PluginWithInstanceHelpers<TOptions extends GetDotenvOptions = GetDoten
372
372
  * This Zod schema is used by the host to validate the `plugins.aws` config slice.
373
373
  *
374
374
  * @public
375
- * @hidden
376
375
  */
377
376
  declare const awsPluginConfigSchema: z.ZodObject<{
378
377
  profile: z.ZodOptional<z.ZodString>;
@@ -2987,7 +2987,6 @@ function attachAwsDefaultAction(cli, plugin, awsCmd) {
2987
2987
  *
2988
2988
  * @internal
2989
2989
  */
2990
- /** @hidden */
2991
2990
  function attachAwsOptions(cli, plugin) {
2992
2991
  return (cli
2993
2992
  // Description is owned by the plugin index (src/plugins/aws/index.ts).
@@ -3047,7 +3046,6 @@ function attachAwsPreSubcommandHook(cli, plugin) {
3047
3046
  * This Zod schema is used by the host to validate the `plugins.aws` config slice.
3048
3047
  *
3049
3048
  * @public
3050
- * @hidden
3051
3049
  */
3052
3050
  const awsPluginConfigSchema = z.object({
3053
3051
  /** Preferred AWS profile name (overrides dotenv-derived profile keys when set). */
@@ -2929,7 +2929,6 @@ const attachBatchDefaultAction = (plugin, cli, pluginOpts, parent) => {
2929
2929
  *
2930
2930
  * @internal
2931
2931
  */
2932
- /** @hidden */
2933
2932
  function attachBatchOptions(plugin, cli) {
2934
2933
  const GROUP = `plugin:${cli.name()}`;
2935
2934
  return (cli
@@ -2922,7 +2922,6 @@ const attachCmdDefaultAction = (cli, cmd, aliasKey) => {
2922
2922
  *
2923
2923
  * @internal
2924
2924
  */
2925
- /** @hidden */
2926
2925
  function attachCmdOptions(cli) {
2927
2926
  return cli
2928
2927
  .enablePositionalOptions()
@@ -2573,7 +2573,6 @@ function attachInitDefaultAction(cli) {
2573
2573
  *
2574
2574
  * @internal
2575
2575
  */
2576
- /** @hidden */
2577
2576
  function attachInitOptions(cli) {
2578
2577
  return (cli
2579
2578
  // Description is owned by the plugin index (src/plugins/init/index.ts).
package/dist/plugins.mjs CHANGED
@@ -3276,7 +3276,6 @@ function attachAwsDefaultAction(cli, plugin, awsCmd) {
3276
3276
  *
3277
3277
  * @internal
3278
3278
  */
3279
- /** @hidden */
3280
3279
  function attachAwsOptions(cli, plugin) {
3281
3280
  return (cli
3282
3281
  // Description is owned by the plugin index (src/plugins/aws/index.ts).
@@ -3336,7 +3335,6 @@ function attachAwsPreSubcommandHook(cli, plugin) {
3336
3335
  * This Zod schema is used by the host to validate the `plugins.aws` config slice.
3337
3336
  *
3338
3337
  * @public
3339
- * @hidden
3340
3338
  */
3341
3339
  const awsPluginConfigSchema = z$2.object({
3342
3340
  /** Preferred AWS profile name (overrides dotenv-derived profile keys when set). */
@@ -13872,7 +13870,6 @@ function attachWhoamiDefaultAction(cli) {
13872
13870
  *
13873
13871
  * @internal
13874
13872
  */
13875
- /** @hidden */
13876
13873
  function attachWhoamiOptions(cli) {
13877
13874
  return cli;
13878
13875
  }
@@ -14273,7 +14270,6 @@ const attachBatchDefaultAction = (plugin, cli, pluginOpts, parent) => {
14273
14270
  *
14274
14271
  * @internal
14275
14272
  */
14276
- /** @hidden */
14277
14273
  function attachBatchOptions(plugin, cli) {
14278
14274
  const GROUP = `plugin:${cli.name()}`;
14279
14275
  return (cli
@@ -14497,7 +14493,6 @@ const attachCmdDefaultAction = (cli, cmd, aliasKey) => {
14497
14493
  *
14498
14494
  * @internal
14499
14495
  */
14500
- /** @hidden */
14501
14496
  function attachCmdOptions(cli) {
14502
14497
  return cli
14503
14498
  .enablePositionalOptions()
@@ -14990,7 +14985,6 @@ function attachInitDefaultAction(cli) {
14990
14985
  *
14991
14986
  * @internal
14992
14987
  */
14993
- /** @hidden */
14994
14988
  function attachInitOptions(cli) {
14995
14989
  return (cli
14996
14990
  // Description is owned by the plugin index (src/plugins/init/index.ts).
package/package.json CHANGED
@@ -221,5 +221,5 @@
221
221
  },
222
222
  "type": "module",
223
223
  "types": "dist/index.d.ts",
224
- "version": "6.2.0"
224
+ "version": "6.2.2"
225
225
  }