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

67 Коммитов

Автор SHA1 Сообщение Дата
Aleksandr Levochkin 92f407b74b
Add ability to pass global agent options for `HttpClient` (#378)
* Increase timeout for global agent

* Add ability to pass global agent options to http client constructor

* Update version in test projects

---------

Co-authored-by: v-levockina <undefined>
2024-09-19 17:06:44 +02:00
Denis Rumyantsev 7ad2a7a001
add EHOSTUNREACH to NetworkRetryErrors (#373) 2024-07-08 09:51:55 +02:00
Denis Nikulin 1815244e8f
Bump the qs version to fix vulnerability issue. (#371) 2024-06-26 13:57:09 +04:00
Dmitrii Bobreshev 593335a314
Fix CG for typed-rest-client (#370)
* Fix CG

- Rewrited react samples on vite because of react'scripts contains cve and not maintained

* Fix CG

- Npm audit fix for webpack samples

* Fix CG

- Fixed CVE in typed-rest client
- Migrated package to use node14+ as mocha is not supported in versions below.
- Migrated CI to use Node14+ for tests
_ Bumped ts to v5
- Bumped typed-rest-client to new major version 2
- Added .vscode folder in .gitignore

* Fix CG

- Fixed tests for the new version of the typescript

* Fix CG

- Replaced crypto package(DES-ECB and MD4 algorythms calls) to a packages as they are become legacy in openssl3 which is used new node

* Fix CG

- Regenerated package.lock files in samples.

* Fix CG

- Fixed types in tests
- Fixed webpack samples

* Fix CG

- Bumped supported version

* Fix CG

- Updated README with new information

* Fix CG

- Updated README with new information
2024-06-04 11:12:34 +02:00
Dmitrii Bobreshev ddca2d90a7
Add release notes automatization (#365) 2023-11-30 12:05:55 +01:00
Roman-Shchukin df510b7f69
Unable to read error message from response header (#339)
* Added response headers to err answer

* Corrected message in test

* Corrected package version
2022-10-06 10:10:12 +02:00
Konstantin Tyukalov 6387cafac2
Fix CG vulnerabilities in dependencies (#333)
* Remove react-scripts from root dependencies

* Increase mocha timeout to 60s for integration tests

* Update package-lock in tests according to main package

* Bump mocha to 6.2.3

* Bump rest client version to 1.8.10
2022-07-15 18:24:31 +04:00
kirill-ivlev ac4e803cab
fix error handling for decompressGzippedContent #327 (#328) 2022-05-25 16:49:19 +04:00
Anatoly Bolshakov 0ccb6f6ef0
Fixed recent vulnerabilities - npm audit fix, bumped mocha dependency (#323)
* npm audit fix

* Bumped mocha

* Bumped package version

* Revert "Bumped mocha"

This reverts commit 0a6b26b75b.
2022-05-10 14:53:39 +04:00
Anatoly Bolshakov 80adced6db
Fixed vulnerabilities (minor patch updates) (#312)
* npm audit fix

* Bumped package version

Co-authored-by: DaniilShmelev <v-dshmelev@microsoft.com>
2022-03-05 10:40:28 +03:00
Nikita Ezzhev 8bdfb968c1
Bump package version (#295) 2021-08-30 13:40:45 +03:00
Nikita Ezzhev 155679c283
Revert "Merge pull request #286 from microsoft/users/EzzhevNikita/fix-processing-of-proxybypass-variables" (#292)
This reverts commit 935b546006
2021-08-12 15:36:26 +03:00
Nikita Ezzhev f7669b9c25 Updated logic for processing proxybypass from env variables 2021-08-02 17:31:30 +03:00
Jesse Houwing 74ae20f332
Updating Underscore to resolve SNYK-JS-UNDERSCORE-1080984 (#258)
* Updating Underscore to resolve SNYK-JS-UNDERSCORE-1080984

* Updating Underscore to resolve SNYK-JS-UNDERSCORE-1080984
2021-04-08 20:20:42 +03:00
tuwrraphael f21ab8a105
Fix constructor on NO_PROXY with wildcard domain (#216)
* fix contrstructor on NO_PROXY with wildcard domain

* escape * in NO_PROXY regex only if needed
keep the original behavior for back-compat purposes

* patch for no proxy with wildcards
2021-03-09 10:21:46 -05:00
Danny McCormick 305ef3e65b
Fix infinite retry loop (#248)
* Fix infinite retry loop

* Fix tests
2021-03-08 13:17:31 -05:00
Anatoly Bolshakov 5fcb9c0945
Passed timeout to info.options (#238)
* Passed timeout to info.options

* Fixed typo

* Added check & set for _socketTimeout
2020-11-06 19:43:08 +03:00
Marcin Strzyz 06d0fc1eae
Added handling for when we have network failures in the retry mechanism (#223)
* Added handling for when we have network failures in the retry mechanism

* forgot ";'

* Fixed to be proper version

* .
2020-06-30 16:05:39 -04:00
Danny McCormick e4b9bf2a73 Bump package version 2020-03-30 16:56:35 -04:00
Jalaj Minda cbb3089ccd
Updated tunnel package version to 0.0.6 (#195)
* Updated tunnel package version to 0.0.6

* Resolving PR comments: Update the patch verison to 1.7.2

Co-authored-by: Stephen Franceschelli <stephenmichaelf@gmail.com>
2020-02-07 10:54:25 -05:00
damccorm 5ff3aea9ec Qs is dependency, not devdep 2019-12-19 14:43:40 -05:00
Danny McCormick e538e494bb
Bump version (#190) 2019-12-19 14:31:22 -05:00
Hamza Hejja 5f2714d508 Support adding query-parameters in RestClient Requests. (#180)
* Support adding query parameters to GET Rest Requests

* Clarify reason for replacing extra question mark at end of Request url

* Refactor: move Query Params interface to the common interfaces module for extensible usage

* Switch to using qs instead of built-in querystring as it offers more options

* Refactor: getUrl util helper function to receive Query Params object instead of entire Request Options

* Added Rest unit tests to parse Url with passing query parameters
2019-12-18 11:53:40 -05:00
Bryan MacFarlane 3f6c54dea0
bump version and failing test (#175) 2019-10-14 20:01:45 -04:00
Danny McCormick db388ca114
Enable web usage without webpack (#153) 2019-06-05 20:27:47 -04:00
Danny McCormick d108cf34f2
Add headers to rest response (#105)
* Add headers to rest response

* Add test
2019-04-09 08:22:21 -04:00
Danny McCormick 9fd358c6c2
Update typescript to 3.1.5 (#141)
* Update typescript to 3.1.5

* Update minor version

* Update minor version
2019-04-03 10:35:45 -04:00
Danny McCormick db2ee73959
Add option for presigned urls (#131)
* Add option for presigned urls

* Respond to feedback
2019-03-07 12:57:54 -05:00
Mario Majcica 1e050ceb54
Bumped the version to 1.1.2 2019-01-22 21:37:22 +01:00
Danny McCormick 3f2cc1c4fe Adding back change from pr 2018-11-07 16:32:44 -05:00
Danny McCormick b7f6fd061a
Revert "Fix getUrl for systems that don't support path.posix" 2018-11-07 16:28:38 -05:00
Danny McCormick 1910c95c6c Revert "Bump patch version"
This reverts commit 57582223ae.
2018-11-07 16:28:22 -05:00
Danny McCormick 3bac4d60c0 Revert "Undo changes to tests for back compat"
This reverts commit 382123a892.
2018-11-07 16:28:21 -05:00
Danny McCormick 382123a892 Undo changes to tests for back compat 2018-11-07 16:02:21 -05:00
Danny McCormick 57582223ae Bump patch version 2018-11-07 15:09:17 -05:00
Andrew Nichols 5edcf4b968 replace text file with streambuffer 2018-11-07 09:55:09 -08:00
Danny McCormick c31e9a8ece Bump minor version 2018-11-01 09:28:28 -04:00
Christian Lange 3f6f232701 moving nock from dependency to devDependencies
#98
* is used only in tests
* will brings a lot transitive dependencies into production environment
2018-10-31 09:38:10 +01:00
Danny McCormick 6da7515957 bump patch 2018-10-29 21:40:08 -04:00
damccorm 2511d4b196
Bump version 2018-10-08 11:01:27 -04:00
Danny McCormick f7b30d9c5c Addressing comments 2018-09-18 10:58:34 -04:00
Danny McCormick 3fb2adcbb0 Added React sample 2018-09-14 10:47:37 -04:00
damccorm e268bebc23 Updated tests to use Nock instead of httpBin (#77)
* Updated tests to use nock instead of httpBin

* Updated tests to ensure that any error includes the http response

* Re-added non-unit tests
2018-09-10 14:50:23 -04:00
Bryan MacFarlane 46689f9b12 bump 2018-08-23 22:56:11 -04:00
Stephen Franceschelli e2b762f684 Add ThirdPartyNotice and copy that and package lock to _build. (#64) 2018-03-23 13:58:56 -04:00
Bryan MacFarlane dd7e06ffe8 bump version 2018-01-30 21:00:09 -05:00
Bryan MacFarlane f7a76af83c bump version 2018-01-29 19:25:18 -05:00
Bryan MacFarlane 3605bd6793 bump version for 1.x release 2018-01-17 21:06:19 -05:00
Stephen Franceschelli 75a37890dd Add NTLM authorization handler. (#56)
* Add NTLM authorization handler.

* Code review feedback.
2018-01-17 16:30:25 -06:00
Stephen Franceschelli 7c570b03a9
Enforce node and npm versions in make.js (#36) 2017-12-07 11:57:01 -05:00