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

237 Коммитов

Автор 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
Ivan Duplenskikh 76548788a6
Migration to CFS (#377)
* Migration to CFS

* Add NpmAuthenticate@0 task before the installation task
2024-09-09 11:56:35 +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 4c0c060941
1ES Migration (#369)
- Remove useless lines
- New SC for npm
- Migrate the pipeline to another pool and org
2024-03-08 09:49:19 +01:00
Dmitrii Bobreshev ed71272ffb
1ES Pipelines Template Adoption (#367)
* 1ES Pipelines Template Adoption

- Switch to 1ES templates

* 1ES Pipelines Template Adoption

- CreadScan Fix

* 1ES Pipelines Template Adoption

- CreadScan Fix
2024-02-12 11:08:01 +01:00
Dmitrii Bobreshev 7375ce1fde
Update github workflows to avoid issues with GITHUB_TOKEN (#366)
- Added write permissions in gh workflow
2024-01-26 11:56:55 +01:00
Dmitrii Bobreshev ddca2d90a7
Add release notes automatization (#365) 2023-11-30 12:05:55 +01:00
Maxim Zaytsev 5d146925f6
Fix condition (#360) 2023-06-28 19:42:35 +03:00
Maxim Zaytsev 4e7fd28bda
Add pool to Publish_package job (#359) 2023-06-28 15:43:10 +03:00
Maxim Zaytsev cef4b0d890
Add publish stage to pipeline (#358) 2023-06-28 12:08:34 +03:00
Maxim Zaytsev a3eb8f162c
Update azure devops pipeline and fix tests (#357) 2023-06-27 14:11:28 +03:00
Maxim Zaytsev 9dd700b859
Update workflow (#352) 2023-03-15 19:43:22 +03: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
Maxim Zaytsev aae8297f2f
Add codeowners (#338) 2022-08-23 11:09:49 +03:00
Konstantin Tyukalov 90547af6a4
Add webpack sample (#337)
* Add webpack sample

* Add note about recommended npm version
2022-07-27 16:35:26 +04:00
Konstantin Tyukalov 6d7db3b676
Update samples (#336)
* Move react sample to separate directory

* Rewrite react sample

* Update node server sample

* Move basic samples to separate directory

* Update samples script

* Bump react-scripts to 5.0.1

* Update project configuration to run on react-scripts 5

* Add typescript support

* Add description for react sample

* Add notification when server started
2022-07-27 16:34:44 +04:00
Konstantin Tyukalov 06d265a02b
Removed mention of node 4 support (#335)
* Remove mention of node 4 support from README

* Remove mention of node 4 support from CONTRIBUTING

* Add mention about node16 testing
2022-07-20 10:45:15 +04:00
AndreyIvanov42 7892e053f6
added Node 16 to pipeline (#332) 2022-07-19 17:09:48 +04: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
microsoft-github-policy-service[bot] 2c34e3c0f8
Microsoft mandatory file (#329)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-05-26 11:14:45 +02: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
Jordan Wallet bdc3f95733
Reduce Buffer copies in HttpClient (#322) 2022-05-04 16:00:34 +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
Daniil Shmelev 9d20f74626
Fix broken azure pipeline (#316)
* set vmImage to ubuntu-20.04

* skip certificate validation on node 8

* add node 6

* use HTTP instead of disabling certificate validation
2022-03-03 17:39:33 +03:00
kuleshovilya a6b0dafd62
Merge Azure pipelines and GitHub actions (#298)
* add tests to ap and git act

* remove 6

* try tests using matrix

* remove mentions of specific versions

* try version 6

* change node order

* add node 6 tests

* add test to az pipelines, remove git from readme

* remove github test file

* fix indent

* add space

* test incorrect node versions

* fix node vesrsions

* add different art names

* add variable to prevent publishBuild running

* fix variables

* swap node 8 to the end and remove v-spec art path

* separate publish build into a separate stage

* add condition

* fix indent

* change job naming

* remove tests from build job

* add condition for prev jobs successs

* change in to eq

* swap condition places

* add dependency

* user loops for pipelienes

* change loop

* move loop line

* indent

* change values to default

* remove quotations

* change param tpye

* add npm install

* remove type

* remove version 6

* add depends on build

* add dependency

* change to a single job

* remove unnecessary npm

Co-authored-by: Ilya Kuleshov <v-ikuleshov@microsoft.com>
2021-09-21 13:04:33 +03:00
kuleshovilya 3d89e97a90
Add node 6, 10 and 14 to GitHub Actions and Azure Pipeline tests (#296)
* add tests to ap and git act

* remove 6

* try tests using matrix

* remove mentions of specific versions

* try version 6

* change node order

* add node 6 tests

Co-authored-by: Ilya Kuleshov <v-ikuleshov@microsoft.com>
2021-09-14 12:33:08 +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 935b546006
Merge pull request #286 from microsoft/users/EzzhevNikita/fix-processing-of-proxybypass-variables
Fix processing of proxybypass variables from environment
2021-08-12 08:08:13 +03:00
Nikita Ezzhev fd36d95c26 Move regex to Constants 2021-08-11 16:58:05 +03:00
Nikita Ezzhev 2984bbdf5a Fixed review point 2021-08-10 09:26:38 +03:00
Nikita Ezzhev fee8092815 Correct order of processing variables 2021-08-10 09:05:43 +03:00
Nikita Ezzhev 4c8219bee8 Update regex 2021-08-06 12:42:44 +03:00
Nikita Ezzhev 63f2637b68 Remove extra changes 2021-08-04 09:47:34 +03:00
Nikita Ezzhev fc3274b731 Added line in the end of file 2021-08-04 09:45:25 +03:00
Nikita Ezzhev 5dea656c97 Added test for complex domain 2021-08-04 09:44:02 +03:00
Nikita Ezzhev e7678623fe Merge branch 'users/EzzhevNikita/fix-processing-of-proxybypass-variables' of https://github.com/microsoft/typed-rest-client into users/EzzhevNikita/fix-processing-of-proxybypass-variables 2021-08-04 09:34:58 +03:00
Nikita Ezzhev 73b6933b2b Added tests 2021-08-04 09:34:45 +03:00
Nikita Ezzhev 42959f644c
Update lib/Util.ts
Co-authored-by: Alexander Smolyakov <v-alsmo@microsoft.com>
2021-08-03 13:40:35 +03:00
Nikita Ezzhev 4ef2fa69bf
Update lib/Util.ts
Co-authored-by: Alexander Smolyakov <v-alsmo@microsoft.com>
2021-08-03 13:40:29 +03:00
Nikita Ezzhev 74580fb8e0 Fix comment 2021-08-03 09:35:27 +03:00
Nikita Ezzhev 9a900c52bd Rework logic of buildProxyBypassRegexFromEnv 2021-08-03 09:10:07 +03:00
Nikita Ezzhev f7669b9c25 Updated logic for processing proxybypass from env variables 2021-08-02 17:31:30 +03:00
Anatoly Bolshakov 9397d2e164
Fixed token, label name (#277) 2021-05-31 12:47:21 +03:00
Anatoly Bolshakov 25f82578d8
Added auto assign action (#273) 2021-05-25 20:08:23 +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