-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: properly differentiate http and https proxies #92
fix: properly differentiate http and https proxies #92
Conversation
I think this would also solve #87. |
options.secureEndpoint is not always defined. There is however, a function to properly identify the type of connection in the base class, so intead of rolling the own check, relly on the base class implementation. Fixes npm#87 and npm/cli#7024 Contributed by STMicroelectronics Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
aa90a00
to
eae4b1c
Compare
@wraithgar: Can you review this again? I fixed the lint issue (not sure why I didn't see that before). |
@wraithgar: Do you need me to do something or can you take it from here? |
@Torbjorn-Svensson Thank you! This looks good and @wraithgar and I can take it from here. We'll get this merged once we get our CI sorted and then land it in the CLI in time for the next release. |
🤖 I have created a release *beep* *boop* --- ## [2.2.1](v2.2.0...v2.2.1) (2024-02-01) ### Bug Fixes * [`88212cc`](88212cc) [#92](#92) properly differentiate http and https proxies (#92) (@Torbjorn-Svensson) ### Chores * [`9ffc694`](9ffc694) [#90](#90) postinstall for dependabot template-oss PR (@lukekarrys) * [`7243097`](7243097) [#90](#90) bump @npmcli/template-oss from 4.21.1 to 4.21.3 (@dependabot[bot]) * [`ee9ea76`](ee9ea76) [#88](#88) postinstall for dependabot template-oss PR (@lukekarrys) * [`e169c95`](e169c95) [#88](#88) bump @npmcli/template-oss from 4.19.0 to 4.21.1 (@dependabot[bot]) * [`cfdcf70`](cfdcf70) [#73](#73) move proxy:null to correct test (@lukekarrys) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
options.secureEndpoint is not always defined. There is however, a function to properly identify the type of connection in the base class, so intead of rolling the own check, relly on the base class implementation.
Fixes npm/cli#7024
Contributed by STMicroelectronics
References