@karmaniverous/get-dotenv
    Preparing search index...

    Function expandLayer

    • Internal

      Expand one overlay layer (a config vars/envVars slice or explicit vars) progressively and apply it over the values composed so far.

      The layer is expanded against process.env overlaid with the values composed so far (composed values win), the same reference as the file cascade. A referenced value is substituted verbatim: it was composed by an earlier layer (or is ambient) and is never expanded again (#94).

      Parameters

      • current: ProcessEnv

        The values composed so far.

      • kv: Record<string, string> | undefined

        The layer's raw values.

      Returns ExpandLayerResult

      The composed map with the layer applied, and the layer's expanded values.