2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-27 14:47:43 +03:00
Commit Graph

1477 Commits

Author SHA1 Message Date
Dmitriy Mozgovoy dd465ab22b fix(formdata): fixed content-type header normalization for non-standard browser environments; (#6056) 2023-11-07 22:21:19 +02:00
Dmitriy Mozgovoy 3dc8369e50 fix(platform): fixed emulated browser detection in node.js environment; (#6055) 2023-11-07 22:16:15 +02:00
github-actions[bot] f7adacdbaa chore(release): v1.6.0 (#6031)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-10-27 00:14:41 +03:00
Dmitriy Mozgovoy 9917e67cbb chore(ci): fix release-it arg; (#6032) 2023-10-26 23:53:38 +03:00
Valentin Panov 96ee232bd3 fix(CSRF): fixed CSRF vulnerability CVE-2023-45857 (#6028)
Co-authored-by: DigitalBrainJS <robotshara@gmail.com>
2023-10-26 22:54:06 +03:00
Dmitriy Mozgovoy 7d45ab2e2a chore(tests): fixed tests to pass in node v19 and v20 with keep-alive enabled; (#6021) 2023-10-22 18:20:44 +03:00
Dmitriy Mozgovoy 5aaff532a6 fix(dns): fixed lookup function decorator to work properly in node v20; (#6011) 2023-10-22 17:12:33 +03:00
Dmitriy Mozgovoy a48a63ad82 chore(docs): added AxiosHeaders docs; (#5932) 2023-09-30 20:49:59 +03:00
Dmitriy Mozgovoy a1c8ad008b fix(types): fix AxiosHeaders types; (#5931) 2023-09-29 21:42:19 +03:00
Rinku Chaudhari 2ac731d605 chore(docs): update readme.md (#5889) 2023-09-28 18:22:47 +03:00
github-actions[bot] 88fb52b5fa chore(release): v1.5.1 (#5920)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-09-26 21:21:09 +03:00
Dmitriy Mozgovoy e4107797a7 fix(adapters): improved adapters loading logic to have clear error messages; (#5919) 2023-09-26 19:43:25 +03:00
Dmitriy Mozgovoy bc9af51b18 fix(formdata): fixed automatic addition of the Content-Type header for FormData in non-browser environments; (#5917) 2023-09-25 02:44:30 +03:00
Przemyslaw Motacki 4c89f25196 fix(headers): allow content-encoding header to handle case-insensitive values (#5890) (#5892) 2023-09-12 15:23:03 +03:00
David Dallas ae003913a3 docs(paramsSerializer config within request config): update documentation for paramsSerializer
Co-authored-by: David Dallas <Davidcobb606@gmail.com>
Co-authored-by: Jay <jasonsaayman@gmail.com>
2023-09-07 16:59:17 +02:00
Mustafa Ateş Uzun a989ccdc1a Change isNaN to Number.isNaN
* Change isNaN to Number.isNaN

* == to ===

---------

Co-authored-by: Jay <jasonsaayman@gmail.com>
2023-08-30 20:47:01 +02:00
Michael Di Prisco b5b7760373 docs: fix CommonJS usage note
Co-authored-by: Jay <jasonsaayman@gmail.com>
2023-08-30 20:41:34 +02:00
Sean Sattler 9e6205630e fix(types): removed duplicated code
Co-authored-by: Jay <jasonsaayman@gmail.com>
2023-08-30 20:29:27 +02:00
github-actions[bot] 6365751ba6 chore(release): v1.5.0 (#5838)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-08-26 22:10:04 +03:00
Dmitriy Mozgovoy 1601f4a27a feat(export): export adapters without unsafe prefix (#5839) 2023-08-26 21:59:09 +03:00
Michael Di Prisco dff74ae374 docs: linting documentation notes (#5791) 2023-08-26 20:50:03 +03:00
夜葬 ca73eb878d feat: export getAdapter function (#5324) 2023-08-26 20:42:25 +03:00
Dmitriy Mozgovoy 9a414bb6c8 fix(adapter): make adapter loading error more clear by using platform-specific adapters explicitly (#5837) 2023-08-26 20:31:13 +03:00
Dmitriy Mozgovoy b3e327dcc9 fix(dns): fixed cacheable-lookup integration; (#5836) 2023-08-26 18:51:09 +03:00
Dmitriy Mozgovoy 8fda2766b1 fix(headers): fixed common Content-Type header merging; (#5832) 2023-08-26 16:26:50 +03:00
Dmitriy Mozgovoy d8b4ca0ea5 fix(headers): added support for setting header names that overlap with class methods; (#5831) 2023-08-25 21:07:51 +03:00
Jonathan Budiman 3f53eb6960 docs: Add axios error type definitions in README.MD (#5788) 2023-08-03 08:21:30 +02:00
github-actions[bot] 21a5ad34c4 chore(release): v1.4.0 (#5683)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-04-28 02:04:53 +03:00
Dmitriy Mozgovoy d627610d0c chore(utils): refactored isAsyncFn util to avoid inlining additional Babel helpers to the build; (#5684) 2023-04-28 01:44:23 +03:00
PIYUSH NEGI e18fdd893d refactor: remove deprecated url-search-params polyfill for URLSearchParams (#5670) 2023-04-28 00:58:07 +03:00
Arthur Fiorette 726f1c8e00 feat(types): export AxiosHeaderValue type. (#5525) 2023-04-28 00:37:10 +03:00
Dmitriy Mozgovoy 2701911260 feat(dns): added support for a custom lookup function; (#5339) 2023-04-26 02:04:59 +03:00
Dmitriy Mozgovoy e6f7053bf1 perf(merge-config): optimize mergeConfig performance by avoiding duplicate key visits; (#5679) 2023-04-26 00:34:46 +03:00
Dmitriy Mozgovoy bbb61e70cb fix(formdata): add multipart/form-data content type for FormData payload on custom client environments; (#5678) 2023-04-26 00:21:37 +03:00
Dmitriy Mozgovoy df38c949f2 fix(package): export package internals with unsafe path prefix; (#5677) 2023-04-26 00:17:21 +03:00
github-actions[bot] 59eb991835 chore(release): v1.3.6 (#5666)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-04-19 22:37:45 +03:00
Dmitriy Mozgovoy 1b8cc3b02b chore(template): improve issue template; (#5665) 2023-04-19 21:14:02 +03:00
Dmitriy Mozgovoy aa372f7306 fix(utils): make isFormData detection logic stricter to avoid unnecessary calling of the toString method on the target; (#5661) 2023-04-19 20:14:32 +03:00
Dmitriy Mozgovoy 0abc705647 chore(ci): use package-lock in test & build github actions; (#5663)
* chore(test): use local typescript version for dtslint;
2023-04-19 20:09:31 +03:00
Michael Di Prisco 6f360a2531 fix(types): added transport to RawAxiosRequestConfig (#5445) 2023-04-14 00:45:02 +03:00
github-actions[bot] 4af78a72ee chore(release): v1.3.5 (#5634)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-04-05 21:01:58 +03:00
Dmitriy Mozgovoy a56c866120 fix(params): re-added the ability to set the function as paramsSerializer config; (#5633) 2023-04-05 19:44:36 +03:00
Dmitriy Mozgovoy e7decef6a9 fix(headers): fixed isValidHeaderName to support full list of allowed characters; (#5584) 2023-03-19 15:30:51 +02:00
github-actions[bot] 2e70cecda4 chore(release): v1.3.4 (#5565)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2023-02-22 23:05:31 +02:00
Dmitriy Mozgovoy cbe2de60d3 chore(ci): remove team-reviewers config; (#5566) 2023-02-22 22:43:24 +02:00
Michael Di Prisco 2b1fc73600 chore(docs): added missing config.transport doc (#5444) 2023-02-22 22:22:09 +02:00
lcysgsg 3772c8fe74 fix(blob): added a check to make sure the Blob class is available in the browser's global scope; (#5548) 2023-02-22 21:55:45 +02:00
Dmitriy Mozgovoy a3b246c9de fix(http): fixed regression bug when handling synchronous errors inside the adapter; (#5564) 2023-02-22 21:50:31 +02:00
github-actions[bot] d9ebf8fb3a chore(release): v1.3.3 (#5546)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-02-13 20:46:08 +02:00
陈若枫 a43bca033d chore(example): fix source map urls; (#5467) 2023-02-13 20:17:24 +02:00