{{ message }}
Repository navigation
feat: show proxy environment variables in npm config list - #8828
Merged
Merged
Conversation
2 tasks done
MaxBlack-dev
force-pushed
the
fix/4170-show-proxy-env-vars
branch
2 times, most recently
from
December 4, 2025 19:40
3341cf4 to
f0b2737
Compare
wraithgar
reviewed
Dec 4, 2025
MaxBlack-dev
force-pushed
the
fix/4170-show-proxy-env-vars
branch
from
December 5, 2025 02:01
f0b2737 to
9c29072
Compare
wraithgar
reviewed
Dec 12, 2025
MaxBlack-dev
force-pushed
the
fix/4170-show-proxy-env-vars
branch
from
December 12, 2025 19:20
68bebc0 to
4c2b641
Compare
Contributor
added 2 commits
December 15, 2025 14:15
Adds proxy-related environment variables to npm config list output to help users understand their proxy configuration. Variables are checked case-insensitively to match the agent library behavior. Closes npm#4170
MaxBlack-dev
force-pushed
the
fix/4170-show-proxy-env-vars
branch
from
December 15, 2025 22:16
4c2b641 to
40be7bb
Compare
Contributor
Author
I've split this into two commits:
This allows proper versioning for the config workspace package. |
Contributor
wraithgar
approved these changes
Dec 16, 2025
Merged
3 tasks done
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.

Fixes #4170
Description
This PR makes
pm config list display proxy-related environment variables when they are set.
Changes
Motivation
As reported in #4170,
pm config list was not showing environment variables like HTTP_PROXY, NOPROXY, etc., even though these variables affect how npm runs. This made it difficult for users to see what proxy settings their environment has and could lead to mistakes.
Testing
Manual testing confirms:
The new test case verifies that environment variables are displayed correctly.