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

1588 Commits

Author SHA1 Message Date
github-actions[bot] ddb8683381 chore(sponsor): update sponsor block (#6682)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-11-01 12:02:31 +02:00
Amit Saini 82f94556e5 updated interceptor use type definition to remove interceptor options parameter from use method for response interceptors (#5237)
* updated interceptor use type definition to remove interceptor options parameter from use method for response interceptors

* incorporated type changes to index.d.cts

---------

Co-authored-by: Jay <jasonsaayman@gmail.com>
2024-10-31 16:01:37 +02:00
github-actions[bot] dbb56aaf96 chore(sponsor): update sponsor block (#6666)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-10-30 23:59:24 +02:00
Akki 5d99fe4491 fix(core): fixed config merging bug (#6668)
Co-authored-by: rana-aakash <aakash.rana@rooter.io>
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2024-10-30 23:39:55 +02:00
Jay 76dc3e6836 docs: add es6 example 2024-10-28 16:10:15 +02:00
github-actions[bot] cda671af81 chore(sponsor): update sponsor block (#6652)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-10-16 20:31:21 +03:00
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
Jay 17cab9c296 chore: descope logo fix 2024-10-10 10:18:45 +02:00
Jay 070f11ba91 chore: readme (#6640) 2024-10-10 10:17:20 +02:00
Sampo Silvennoinen 023efb6f03 Add Node.js 22 to CI version matrix (#6633)
* CI: add Node.js 22, drop non-LTS 21

* CI: update actions versions 3 -> 4

Previous actions version showed deprecation warnings when run. Update them to V4
2024-10-07 11:58:50 +02:00
Jay c96aa6257f chore: remove IE logo; initialise dropping support for IE (#6619) 2024-09-29 13:13:14 +02: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
Haven 00de614cd0 fix(types): add missing types for mergeConfig function (#6590)
* add mergeConfig types

* Update index.d.ts

---------

Co-authored-by: Jay <jasonsaayman@gmail.com>
2024-09-26 19:36:47 +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] 6dbbda617b chore(sponsor): update sponsor block (#6606)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-09-24 17:16:56 +03:00
github-actions[bot] 1472163d37 chore(sponsor): update sponsor block (#6603)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-09-15 16:40:47 +03: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
kuroino721 bc03c6cbc4 chore(examples): fix module import (#6575) 2024-08-30 22:42:42 +03:00
Dmitriy Mozgovoy df9889b83c fix(fetch): optimize signals composing logic; (#6582) 2024-08-30 21:26:12 +03:00
github-actions[bot] ee208cfcae chore(sponsor): update sponsor block (#6576)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-08-26 15:50:00 +02: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
Dmitriy Mozgovoy bcd1c6d65a chore(actions): fix sponsor action; (#6566) 2024-08-20 15:13:53 +03:00
Dmitriy Mozgovoy c8b7be59cb chore(action): exclude sponsors branch from CI tests; (#6564) 2024-08-19 16:53:11 +03:00
github-actions[bot] 67aa1effe4 chore(sponsor): update sponsor block (#6559)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-08-19 16:18:10 +03:00
Dmitriy Mozgovoy ff254a5065 chore(action): change sponsors uri origin; (#6563) 2024-08-19 16:11:32 +03:00
github-actions[bot] 4f99675fe7 chore(sponsor): update sponsor block (#6558)
Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
2024-08-17 23:02:15 +03:00
Dmitriy Mozgovoy d93969177d chore(action): fix sponsors action; (#6557) 2024-08-17 22:59:01 +03:00
Dmitriy Mozgovoy d2c3d4183f chore(action): fix sponsors action; (#6556) 2024-08-17 22:07:23 +03:00
Dmitriy Mozgovoy a909e38e70 chore(action): fix sponsors action; (#6555) 2024-08-17 21:53:51 +03:00
Dmitriy Mozgovoy 3dde8fce50 chore(action): fix sponsors action; (#6554) 2024-08-17 20:46:04 +03:00
Dmitriy Mozgovoy 58eb3b8ae6 chore(actions): Add action to update sponsor list in Readme.md; (#6552) 2024-08-17 20:13:56 +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
Dmitriy Mozgovoy 92cd8ed943 chore(github): update ISSUE_TEMPLATE.md (#6519) 2024-08-01 03:06:09 +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