2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00
Commit Graph

629 Commits

Author SHA1 Message Date
Henco Appel 6841d8d18d fix(http): add support for File objects as payload in http adapter (#6588) (#6605)
Co-authored-by: Hendrik Appel <happel@europe.altair.com>
Co-authored-by: Jay <jasonsaayman@gmail.com>
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-10-13 20:43:40 +03:00
Taylor Flatt cc3217a612 fix: updated stream aborted error message to be more clear (#6615) 2024-09-28 13:04:22 +02:00
Ell Bradshaw 8f3cde11d2 Warn about common option misspellings (#6489)
* chore(tests): add failing tests for baseUrl

* chore(tests): simplify to just warning

* feat: warn about likely-misspelled options

* chore: add semi-colon

* chore: add missing semi-colons

---------

Co-authored-by: Ell Bradshaw <ell@c9a.co>
Co-authored-by: Jay <jasonsaayman@gmail.com>
2024-09-26 21:31:24 +02:00
Kenzo Wada 763895270f fix: ios11 breaks when build (#6608)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2024-09-26 19:28:35 +02:00
github-actions[bot] 5b8a826771 chore(release): v1.7.7 (#6585)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-09-01 01:01:25 +03:00
Rishi556 364993f0d8 fix(http): fixed support for IPv6 literal strings in url (#5731) 2024-09-01 00:47:25 +03:00
Dmitriy Mozgovoy d1980854fe fix(fetch): fix stream handling in Safari by fallback to using a stream reader instead of an async iterator; (#6584) 2024-08-31 22:14:23 +03:00
github-actions[bot] d584fcfa62 chore(release): v1.7.6 (#6583)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-08-30 22:56:08 +03:00
Dmitriy Mozgovoy df9889b83c fix(fetch): optimize signals composing logic; (#6582) 2024-08-30 21:26:12 +03:00
Jacques Germishuys 085f56861a fix(fetch): fix content length calculation for FormData payload; (#6524) 2024-08-25 20:38:10 +03:00
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