2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-21 13:24:11 +03:00
Commit Graph

602 Commits

Author SHA1 Message Date
Dmitriy Mozgovoy e62099bc8b fix(fetch): fixed a possible memory leak in the AbortController for the stream response if the ReadableStream is not supported; (#6406) 2024-05-19 23:04:40 +03:00
github-actions[bot] b49aa8e3d8 chore(release): v1.7.0-beta.2 (#6403)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-05-19 21:00:36 +03:00
Dmitriy Mozgovoy 870e0a76f6 fix(fetch): fix headers getting from a stream response; (#6401) 2024-05-19 01:40:21 +03:00
Dmitriy Mozgovoy 95a3e8e346 fix(fetch): fix & optimize progress capturing for cases when the request data has a nullish value or zero data length (#6400) 2024-05-18 18:16:42 +03:00
Dmitriy Mozgovoy ad3174a351 fix(fetch): capitalize HTTP method names; (#6395) 2024-05-18 18:01:01 +03:00
github-actions[bot] b9f4848f8c chore(release): v1.7.0-beta.1 (#6383)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-05-07 21:37:01 +03:00
Dmitriy Mozgovoy bb5f9a5ab7 fix(fetch): treat fetch-related TypeError as an AxiosError.ERR_NETWORK error; (#6380) 2024-05-07 21:26:46 +03:00
Alexandre ABRIOUX 81e0455b7b fix(core/axios): handle un-writable error stack (#6362)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-05-07 20:57:03 +03:00
Dmitriy Mozgovoy d1d359da34 fix(fetch): fix cases when ReadableStream or Response.body are not available; (#6377) 2024-05-03 20:22:11 +03:00
github-actions[bot] 8e4314bfd6 chore(release): v1.7.0-beta.0 (#6373)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-04-28 22:50:08 +03:00
Dmitriy Mozgovoy a3ff99b59d feat(adapter): add fetch adapter; (#6371) 2024-04-28 22:33:49 +03:00
github-actions[bot] ab3f0f9a94 chore(release): v1.6.8 (#6303)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-03-15 18:31:56 +02:00
Miroslav Petrov 2656612bc1 fix(AxiosHeaders): fix AxiosHeaders conversion to an object during config merging (#6243)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-03-15 18:10:18 +02:00
Aditya Mogili 7320430aef fix(import): use named export for EventEmitter;
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-03-15 18:05:34 +02:00
github-actions[bot] a52e4d9af5 chore(release): v1.6.7 (#6204)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-01-25 21:57:54 +02:00
zhoulixiang 2b69888dd5 chore: remove unnecessary check (#6186)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-01-25 20:46:53 +02:00
Dmitriy Mozgovoy 1a08f90f40 fix: capture async stack only for rejections with native error objects; (#6203) 2024-01-25 20:42:38 +02:00
github-actions[bot] 104aa3f65d chore(release): v1.6.6 (#6199)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-01-25 01:11:30 +02:00
Zao Soula a1938ff073 fix: fixed missed dispatchBeforeRedirect argument (#5778)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-01-25 00:57:06 +02:00
Ilya Priven 123f354b92 fix: wrap errors to improve async stack trace (#5987) 2024-01-25 00:21:12 +02:00
github-actions[bot] 6d4c421ee1 chore(release): v1.6.5 (#6177)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-01-05 21:51:22 +02:00
Dmitriy Mozgovoy f4f2b039dd fix(dns): fixed lookup error handling; (#6175) 2024-01-05 01:48:07 +02:00
github-actions[bot] 8790b8e784 chore(release): v1.6.4 (#6173)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2024-01-04 00:10:07 +02:00
Dmitriy Mozgovoy 3c0c11cade fix(security): fixed formToJSON prototype pollution vulnerability; (#6167) 2024-01-03 21:37:32 +02:00
github-actions[bot] b15b918d17 chore(release): v1.6.3 (#6151)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-12-27 01:15:30 +02:00
Willian Agostini 5e7ad38fb0 fix: Regular Expression Denial of Service (ReDoS) (#6132) 2023-12-26 22:29:26 +02:00
github-actions[bot] b3be365858 chore(release): v1.6.2 (#6082)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-11-14 22:35:24 +02:00
Dmitriy Mozgovoy cff996779b feat(withXSRFToken): added withXSRFToken option as a workaround to achieve the old withCredentials behavior; (#6046) 2023-11-14 15:38:25 +02:00
github-actions[bot] a22f4b918a chore(release): v1.6.1 (#6060)
Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
2023-11-08 16:44:45 +02:00
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
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
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
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
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
夜葬 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
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
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