-
-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(fetch): enhance fetch API detection; #6413
Merged
DigitalBrainJS
merged 59 commits into
axios:v1.x
from
DigitalBrainJS:feat/axios-fetch-adapter
May 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
3f2f496
chore(ci): Add release-it script;
DigitalBrainJS 1bfc41b
Merge branch 'chore/release-it' into v1.x
DigitalBrainJS acaf0f4
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 8a5de86
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS cff9271
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 67afe20
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS dc7b66d
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 716eb59
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 10216bf
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 3b199f4
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS f3d444f
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 077c381
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS f598657
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 7bf5713
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 81a8bd6
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS f8bb158
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 3f1c768
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS a9b0418
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 1a16f4e
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 5e22e2f
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS b7c77b0
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 2200038
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS df38e0c
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 878548a
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 7a33bcd
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 5cafdeb
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS f0e6b28
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 98371b0
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS bee6e45
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS c97df04
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 62274b7
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 2496392
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 127f629
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 435bbfa
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 72c888c
Merge branch 'v1.x' of https://github.com/axios/axios into v1.x
DigitalBrainJS 1e5552a
feat(adapter): add fetch adapter;
DigitalBrainJS c0392c9
fix(test): skip fetch tests if global `fetch` function is not available;
DigitalBrainJS 4ba5f01
fix(CI): disable fail-fast option;
DigitalBrainJS fe0a2ca
fix(CI): add v21 to matrix tests;
DigitalBrainJS 30f66fd
fix(fetch): wrap buffer to an Uint8Array to avoid detached Buffer err…
DigitalBrainJS f4b9f16
fix(fetch): remove the Blob-based Content-Type header setting to matc…
DigitalBrainJS d01386e
feat(progress): add throttle for progress events;
DigitalBrainJS 565c7d9
Merge branch 'v1.x' of https://github.com/axios/axios into feat/axios…
DigitalBrainJS b21be21
fix(fetch): fix cases when ReadableStream or Response.body are not av…
DigitalBrainJS fd69f9f
refactor(fetch): treat `TypeError: fetch failed` as an AxiosError.ERR…
DigitalBrainJS f0c8da2
Merge branch 'v1.x' into feat/axios-fetch-adapter
DigitalBrainJS 022c83f
fix(fetch): capitalize HTTP method names;
DigitalBrainJS 6c2233e
Merge branch 'v1.x' into feat/axios-fetch-adapter
DigitalBrainJS 1521871
fix(fetch): fix & optimize progress capturing for cases when the requ…
DigitalBrainJS d193480
Merge remote-tracking branch 'origin/feat/axios-fetch-adapter' into f…
DigitalBrainJS 3344274
Merge branch 'v1.x' into feat/axios-fetch-adapter
DigitalBrainJS ffb9a10
fix(fetch): fix headers getting from a stream response;
DigitalBrainJS d72c603
Merge remote-tracking branch 'origin/feat/axios-fetch-adapter' into f…
DigitalBrainJS bad286e
Merge branch 'v1.x' into feat/axios-fetch-adapter
DigitalBrainJS d3e5bf1
Merge branch 'v1.x' of https://github.com/axios/axios into feat/axios…
DigitalBrainJS 57ee5a9
fix(fetch): fixed a possible memory leak in the AbortController for t…
DigitalBrainJS f50aedd
Merge remote-tracking branch 'origin/feat/axios-fetch-adapter' into f…
DigitalBrainJS 5c19ff0
Merge branch 'v1.x' of https://github.com/axios/axios into feat/axios…
DigitalBrainJS 22b1105
fix(fetch): enhance fetch API detection;
DigitalBrainJS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
fix(fetch): enhance fetch API detection;
- Loading branch information
commit 22b11051b5d3de0728cdf98d5df88cd3c0c411fb
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for my 5 cent, but having
isFunction
utility I guess will be more concise, more readable, and guard against typos (typeof fetch === 'funct1on'
is just silentlyfalse
), as well as increase evolvability, when additional sub-checks should be implemented. Just a suggestion.