fix: make DotenvPopulateInput accept NodeJS.ProcessEnv type#915
Merged
motdotla merged 3 commits intomotdotla:masterfrom Feb 5, 2026
Merged
fix: make DotenvPopulateInput accept NodeJS.ProcessEnv type#915motdotla merged 3 commits intomotdotla:masterfrom
motdotla merged 3 commits intomotdotla:masterfrom
Conversation
test: add test for NodeJS.ProcessEnv type input
Contributor
There was a problem hiding this comment.
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.envcan be passed to theprocessEnvparameter - 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.
Owner
|
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #767