@azure/core-rest-pipeline
Advanced tools
Comparing version 1.1.0-alpha.20210611.2 to 1.1.0-alpha.20210617.1
@@ -5,3 +5,6 @@ # Release History | ||
### Fixed | ||
- Fixed an issue where `proxySettings` does not work when there is username but no password [Issue 15720](https://github.com/Azure/azure-sdk-for-js/issues/15720) | ||
## 1.1.0-beta.3 (2021-06-03) | ||
@@ -8,0 +11,0 @@ |
@@ -103,3 +103,6 @@ // Copyright (c) Microsoft Corporation. | ||
} | ||
function getProxyAgentOptions(proxySettings, requestHeaders) { | ||
/** | ||
* @internal | ||
*/ | ||
export function getProxyAgentOptions(proxySettings, requestHeaders) { | ||
let parsedProxyUrl; | ||
@@ -121,2 +124,5 @@ try { | ||
} | ||
else if (proxySettings.username) { | ||
proxyAgentOptions.auth = `${proxySettings.username}`; | ||
} | ||
return proxyAgentOptions; | ||
@@ -123,0 +129,0 @@ } |
{ | ||
"name": "@azure/core-rest-pipeline", | ||
"version": "1.1.0-alpha.20210611.2", | ||
"version": "1.1.0-alpha.20210617.1", | ||
"description": "Isomorphic client library for making HTTP requests in node.js and browser.", | ||
@@ -5,0 +5,0 @@ "sdk-type": "client", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
551223
5893