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

619 Commits

Author SHA1 Message Date
github-actions[bot] 59cd6b0dec chore(release): v1.7.5 (#6574)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-08-23 16:31:50 +03:00
Dmitriy Mozgovoy 6700a8adac fix(core): add the missed implementation of AxiosError#status property; (#6573) 2024-08-23 15:58:38 +03:00
Antonin Bas 7004707c41 fix(adapter): fix undefined reference to hasBrowserEnv (#6572) 2024-08-23 15:23:14 +03:00
Dmitriy Mozgovoy fed1a4b2d7 fix(core): fix ReferenceError: navigator is not defined for custom environments; (#6567) 2024-08-23 15:16:42 +03:00
Hans Otto Wirtz 550d885eb9 fix(fetch): fix credentials handling in Cloudflare workers (#6533)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-08-20 15:23:32 +03:00
github-actions[bot] abd24a7367 chore(release): v1.7.4 (#6544)
Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
2024-08-13 21:32:20 +02:00
Lev Pachmanov 6b6b605eaf fix(sec): CVE-2024-39338 (#6539) (#6543)
* fix(sec): cve-2024-39338 (#6539)

* fix(sec): fix test
2024-08-13 20:43:05 +02:00
Đỗ Trọng Hải 07a661a2a6 fix(sec): disregard protocol-relative URL to remediate SSRF (#6539)
* fix(sec): disregard protocol-relative URL to remediate SSRF

Signed-off-by: hainenber <dotronghai96@gmail.com>

* feat(test/unit/regression): add regression test to ensure SNYK-JS-AXIOS-7361793 fixed in future version

Signed-off-by: hainenber <dotronghai96@gmail.com>

* chore: add EoF newline + comments

Signed-off-by: hainenber <dotronghai96@gmail.com>

* chore: fix eslint issues

Signed-off-by: hainenber <dotronghai96@gmail.com>

* Update SNYK-JS-AXIOS-7361793.js

Co-authored-by: tom-reinders <tom-reinders@users.noreply.github.com>

---------

Signed-off-by: hainenber <dotronghai96@gmail.com>
Co-authored-by: tom-reinders <tom-reinders@users.noreply.github.com>
2024-08-13 17:03:25 +02:00
github-actions[bot] c6cce43cd9 chore(release): v1.7.3 (#6521)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-08-01 19:15:27 +03:00
Dmitriy Mozgovoy e3c76fc9bd fix(adapter): fix progress event emitting; (#6518) 2024-08-01 16:59:58 +03:00
prianYu 85d4d0ea0a fix(fetch): fix withCredentials request config (#6505) 2024-08-01 15:26:06 +03:00
Valerii Sidorenko 8966ee7ea6 fix(xhr): return original config on errors from XHR adapter (#6515) 2024-07-30 21:38:22 +03:00
github-actions[bot] 0e4f9fa290 chore(release): v1.7.2 (#6414)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-05-21 19:57:14 +03:00
Dmitriy Mozgovoy 4f79aef81b fix(fetch): enhance fetch API detection; (#6413) 2024-05-21 17:20:15 +03:00
github-actions[bot] 67d1373131 chore(release): v1.7.1 (#6411)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-05-20 16:31:57 +03:00
Dmitriy Mozgovoy 733f15fe5b fix(fetch): fixed ReferenceError issue when TextEncoder is not available in the environment; (#6410) 2024-05-20 16:15:15 +03:00
github-actions[bot] 3041c61ada [Release] v1.7.0 (#6408)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-05-19 23:24:05 +03:00
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