Граф коммитов

416 Коммитов

Автор SHA1 Сообщение Дата
Andrew Stegmaier 70cfc9083b Minor version bump and release notes. 2023-07-06 15:20:13 -04:00
Andrew Stegmaier 2dcf244dab Remove cookie support. 2023-07-06 14:55:54 -04:00
Jeremy Meng b63d4794ae fix compile error of
> lib/util/xml.browser.ts(16,20): error TS7006: Parameter 's' implicitly has an 'any' type.
2023-04-10 22:19:03 +00:00
Jeremy Meng 0d5d03216c Upgrade dependency `xml2js` version to `^0.5.0`.
to address https://nvd.nist.gov/vuln/detail/CVE-2023-0842
2023-04-10 22:07:05 +00:00
Jeremy Meng 8fc2e4a770 Update version and CHANGELOG 2023-02-09 19:39:42 +00:00
Michael Zlatkovsky 9380602358
Increment version 2022-11-15 11:12:12 -08:00
Michael Zlatkovsky de8037cde5
Update xml.browser.ts
Wrap policy-creation in try/catch
2022-11-15 11:09:31 -08:00
Jeremy Meng 64813dd1ae bump version 2022-10-24 23:42:07 +00:00
Jeremy Meng 5a75d351d0 port changes from @azure/core-http
to adapt to changes introduced in @types/xml2js v0.4.11
2022-07-28 21:05:54 +00:00
Jeremy Meng 0d9674d928 Increment version 2022-07-28 19:49:05 +00:00
Jeremy Meng 531aea9bfb Address Trusted Types compliance issue
porting fix from https://github.com/Azure/azure-sdk-for-js/pull/22715

Trusted Types is/are a set of web APIs that give us the ability to control and
restrict data that flows into dangerous DOM APIs in our apps. Main goal of this
mechanism is to prevent successful exploitation of HTML and DOM-based
Cross-Site-Scripting (XSS) vulnerabilities.

https://github.com/w3c/webappsec-trusted-types

Our code does not parse HTML strings. The parsed DOM object is not exposed to
outside world either. This PR adds trusted types policies to make the parsing
code compliant at running time. Consumers of our packages can review and add the
policy to their allowed list.
2022-07-28 18:34:42 +00:00
Jeremy Meng df5d874f0e export missing types on public api surface
make extract-api part of build:lib
2022-02-12 01:04:32 +00:00
chientrm a661ae598b Update version number to 2.6.1 2022-01-25 12:08:39 +07:00
Daniel Rodríguez 615505158c
Update lib/serviceClient.ts
Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2021-08-18 15:31:57 -04:00
Daniel Rodríguez 7224651161 addressed feedback: constant to outer scope, manager wording and a conditional improvement 2021-08-18 17:55:39 +00:00
Daniel Rodríguez caaba1f2f3 better comments 2021-08-18 01:17:13 +00:00
Daniel Rodríguez 5149f99bd9 better comments 2021-08-18 01:13:49 +00:00
Daniel Rodríguez 0257ff13d4 using the endpoints without .core 2021-08-18 00:55:22 +00:00
Daniel Rodríguez 5ed7aca14c only applying baseUri as the scope if it matches an Azure management cloud 2021-08-14 00:12:21 +00:00
Daniel Rodríguez 1d4884b2dc
Update lib/serviceClient.ts
Co-authored-by: Ramya Rao <ramya.rao.a@outlook.com>
2021-07-29 19:20:23 -04:00
Daniel Rodríguez 557e53794a version to 2.6.0, better documentation 2021-07-28 16:25:09 +00:00
Daniel Rodríguez 9f57b8ded3 assigning baseUri based on the options 2021-07-27 23:34:29 +00:00
Daniel Rodríguez c0c10f4b8d version update 2021-07-27 20:15:36 +00:00
Daniel Rodríguez 1d2efa51cd suggestion from Christopher Radek 2021-07-27 19:48:35 +00:00
Daniel Rodríguez 3d22a0bd84 draft for how to dynamically set the scope on the service credential if a token credential is passed 2021-07-26 23:11:12 +00:00
deyaaeldeen 6516290b39 edit 2021-07-12 19:59:01 +00:00
deyaaeldeen 32a52f9259 update version 2021-07-12 19:56:59 +00:00
deyaaeldeen d178d1b443 Upgrade uuid dependency to v8 2021-07-12 19:44:29 +00:00
Jeremy Meng 83c3a0b619 Update version number to 2.5.2 2021-06-15 17:21:53 +00:00
Jeremy Meng ce25202b91 Allow password-less proxySettings
It turns out that in some enterprise customer the proxy auth settings include a
username, but not a password: microsoft/AzureStorageExplorer#4430

This change allows password-less auth settings to be passed to the underlying agent.

It's unclear whether it's a real scenario when a proxy auth has a password, but
not username so this PR doesn't consider this scenario.
2021-06-15 00:41:22 +00:00
Martin Granell f68822e596 Updated based on review 2021-06-08 08:17:15 +10:00
Martin Granell 1923b9fd76 Updated msRestVersion constant 2021-06-06 16:47:42 +10:00
Martin Granell b2e7d90eab Fix tslint issue 2021-06-06 16:31:37 +10:00
Martin Granell 2315bfb63c Copy attributes back post de-serializing array 2021-06-06 16:26:04 +10:00
Paul Faid b149ed938a Improve comment 2021-05-09 15:11:14 +12:00
Paul Faid 93ad3341fc Merge remote-tracking branch 'upstream/master',
# Conflicts:
#	lib/util/constants.ts
#	package.json
2021-05-09 15:10:02 +12:00
Maor Leger bae8216f47 update package version 2021-05-05 09:43:37 -07:00
Maor Leger 4313ac44a1 Use self instead of window 2021-05-05 09:23:58 -07:00
Paul Faid c47191b425 Port redirect policy changes from azure-sdk-for-js 2021-05-01 09:08:20 +12:00
Paul Faid 6281ac6a12 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	lib/util/constants.ts
#	package.json
2021-05-01 08:54:42 +12:00
Jeremy Meng bd0170d582 Update version in constants.ts 2021-04-19 16:47:14 +00:00
Ramya Achutha Rao 28d583c823 Expose AzureIdentityCredentialAdapter in the public API 2021-04-18 18:53:19 -07:00
Paul Faid 6337dfeef0 redirectPolicy should respect policy.maxRetires 2021-04-07 09:45:57 +12:00
Paul Faid 65b6cec084 RedirectPolicy behaviour respects request.redirectLimit 2021-04-05 13:35:36 +12:00
Paul Faid b65ff9bcdf Update version numbers 2021-04-01 07:20:38 +13:00
paulfaid ef5ce3421f
Merge branch 'master' into master 2021-03-30 17:15:26 +13:00
Brandon Waterloo [MSFT] 0fe6b9366a
Fix build break 2021-03-26 15:19:03 -04:00
Brandon Waterloo [MSFT] 0446eda7ec
Update WebResource.prepare to also copy streamResponseBody 2021-03-26 15:07:51 -04:00
Jeremy Meng 6ff8cd40b8 Port some proxy enhancements from core-http
- NO_PROXY and ALL_PROXY support
- username and password in proxy url string
2021-03-22 22:02:24 +00:00
Paul Faid 0c9b5f3f87 Add redirected and url to response to mimic the node-fetch response. 2021-03-15 22:18:54 +13:00