Skip to content

fix: make DotenvPopulateInput accept NodeJS.ProcessEnv type#915

Merged
motdotla merged 3 commits intomotdotla:masterfrom
jedwards1211:patch-1
Feb 5, 2026
Merged

fix: make DotenvPopulateInput accept NodeJS.ProcessEnv type#915
motdotla merged 3 commits intomotdotla:masterfrom
jedwards1211:patch-1

Conversation

@jedwards1211
Copy link
Copy Markdown
Contributor

fix #767

@motdotla motdotla requested a review from Copilot October 7, 2025 22:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a TypeScript type issue where DotenvPopulateInput didn't properly accept the NodeJS.ProcessEnv type. The fix ensures that the processEnv parameter in the config function can accept process.env directly.

  • Adds a test case to verify that process.env can be passed to the processEnv parameter
  • Validates the type compatibility fix for issue #767

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@motdotla motdotla merged commit 3f57082 into motdotla:master Feb 5, 2026
@motdotla
Copy link
Copy Markdown
Owner

motdotla commented Feb 5, 2026

thank you! going out shortly.

renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 6, 2026
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | dotenv  | 17.2.3 | 17.2.4 |


## [v17.2.4](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1724-2026-02-05)

##### Changed

- Make `DotenvPopulateInput` accept `NodeJS.ProcessEnv` type ([#915](motdotla/dotenv#915))

* Give back to dotenv by checking out my newest project [vestauth](https://github.com/vestauth/vestauth). It is auth for agents. Thank you for using my software.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 6, 2026
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | dotenv  | 17.2.3 | 17.2.4 |


## [v17.2.4](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1724-2026-02-05)

##### Changed

- Make `DotenvPopulateInput` accept `NodeJS.ProcessEnv` type ([#915](motdotla/dotenv#915))

* Give back to dotenv by checking out my newest project [vestauth](https://github.com/vestauth/vestauth). It is auth for agents. Thank you for using my software.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 7, 2026
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | dotenv  | 17.2.3 | 17.2.4 |


## [v17.2.4](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1724-2026-02-05)

##### Changed

- Make `DotenvPopulateInput` accept `NodeJS.ProcessEnv` type ([#915](motdotla/dotenv#915))

* Give back to dotenv by checking out my newest project [vestauth](https://github.com/vestauth/vestauth). It is auth for agents. Thank you for using my software.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 8, 2026
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | dotenv  | 17.2.3 | 17.2.4 |


## [v17.2.4](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1724-2026-02-05)

##### Changed

- Make `DotenvPopulateInput` accept `NodeJS.ProcessEnv` type ([#915](motdotla/dotenv#915))

* Give back to dotenv by checking out my newest project [vestauth](https://github.com/vestauth/vestauth). It is auth for agents. Thank you for using my software.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 9, 2026
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | dotenv  | 17.2.3 | 17.2.4 |


## [v17.2.4](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1724-2026-02-05)

##### Changed

- Make `DotenvPopulateInput` accept `NodeJS.ProcessEnv` type ([#915](motdotla/dotenv#915))

* Give back to dotenv by checking out my newest project [vestauth](https://github.com/vestauth/vestauth). It is auth for agents. Thank you for using my software.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 10, 2026
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | dotenv  | 17.2.3 | 17.2.4 |


## [v17.2.4](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1724-2026-02-05)

##### Changed

- Make `DotenvPopulateInput` accept `NodeJS.ProcessEnv` type ([#915](motdotla/dotenv#915))

* Give back to dotenv by checking out my newest project [vestauth](https://github.com/vestauth/vestauth). It is auth for agents. Thank you for using my software.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 11, 2026
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | dotenv  | 17.2.3 | 17.2.4 |


## [v17.2.4](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1724-2026-02-05)

##### Changed

- Make `DotenvPopulateInput` accept `NodeJS.ProcessEnv` type ([#915](motdotla/dotenv#915))

* Give back to dotenv by checking out my newest project [vestauth](https://github.com/vestauth/vestauth). It is auth for agents. Thank you for using my software.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 13, 2026
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | dotenv  | 17.2.3 | 17.3.1 |


## [v17.3.1](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1731-2026-02-12)

##### Changed

- Fix as2 example command in README and update spanish README


## [v17.3.0](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1730-2026-02-12)

##### Added

- Add a new README section on dotenv’s approach to the agentic future.

##### Changed

- Rewrite README to get humans started more quickly with less noise while simultaneously making more accessible for llms and agents to go deeper into details.


## [v17.2.4](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1724-2026-02-05)

##### Changed

- Make `DotenvPopulateInput` accept `NodeJS.ProcessEnv` type ([#915](motdotla/dotenv#915))

* Give back to dotenv by checking out my newest project [vestauth](https://github.com/vestauth/vestauth). It is auth for agents. Thank you for using my software.
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 13, 2026
| datasource | package | from   | to     |
| ---------- | ------- | ------ | ------ |
| npm        | dotenv  | 17.2.3 | 17.3.1 |


## [v17.3.1](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1731-2026-02-12)

##### Changed

- Fix as2 example command in README and update spanish README


## [v17.3.0](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1730-2026-02-12)

##### Added

- Add a new README section on dotenv’s approach to the agentic future.

##### Changed

- Rewrite README to get humans started more quickly with less noise while simultaneously making more accessible for llms and agents to go deeper into details.


## [v17.2.4](https://github.com/motdotla/dotenv/blob/HEAD/CHANGELOG.md#1724-2026-02-05)

##### Changed

- Make `DotenvPopulateInput` accept `NodeJS.ProcessEnv` type ([#915](motdotla/dotenv#915))

* Give back to dotenv by checking out my newest project [vestauth](https://github.com/vestauth/vestauth). It is auth for agents. Thank you for using my software.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DotenvPopulateInput not compatible with NodeJS.ProcessEnv

3 participants