Skip to content
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

Update v2.x branch to align with v1.x #4751

Merged
merged 24 commits into from
May 28, 2022
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
24f22b2
Fixing proxy beforeRedirect regression (#4708)
mbargiel May 16, 2022
e762cf7
Adding Canceler parameters config and request (#4711)
aweikalee May 16, 2022
c05ad48
Fixed `toFormData` regression bug (unreleased) with Array-like object…
DigitalBrainJS May 16, 2022
9be61dc
Allow webpack users to overwrite buildins (#4715)
KyorCode May 16, 2022
65b9295
Fixed `AxiosError` status code type; (#4717)
DigitalBrainJS May 16, 2022
d60d684
Fixed `AxiosError` stack capturing; (#4718)
DigitalBrainJS May 16, 2022
ed0ba0f
allow type definition for axios instance methods (#4224)
jelleschutter May 16, 2022
ee51e68
add `string[]` to `AxiosRequestHeaders` type (#4322)
estarossa0 May 16, 2022
e6f9026
Fixing AxiosRequestHeaders typings (#4334)
turisap May 16, 2022
bd39124
Added the ability for the `url-encoded-form` serializer to respect th…
DigitalBrainJS May 17, 2022
bd58c4e
Updated eslint config; (#4722)
DigitalBrainJS May 17, 2022
63e559f
fix: add isCancel type assert (#4293)
chenjigeng May 18, 2022
c30252f
Added data URL support for node.js; (#4725)
DigitalBrainJS May 20, 2022
e9c9f33
Fix/4263/maxbodylength defaults (#4731)
mitsos1os May 20, 2022
de973f0
Adding types for progress event callbacks (#4675)
JohannCooper May 20, 2022
467025b
Fixed bug #4727 : toFormData Blob issue on node>v17; (#4728)
DigitalBrainJS May 20, 2022
934f390
URL params serializer; (#4734)
DigitalBrainJS May 25, 2022
c008e57
Added `axios.formToJSON` method; (#4735)
DigitalBrainJS May 25, 2022
59dfed6
Bump grunt from 1.5.2 to 1.5.3 (#4743)
dependabot[bot] May 26, 2022
a02fe28
Updated README.md; (#4742)
DigitalBrainJS May 26, 2022
c731be7
chore: removed Travis CI config file as we have moved to GitHub actions
jasonsaayman May 28, 2022
9bb016f
chore: updated actions to run on new version based branches
jasonsaayman May 28, 2022
a11f950
Fix/4737/timeout error message for http (#4738)
VictorAugDB May 28, 2022
1504792
Fixing content-type header repeated (#4745)
joaoGabriel55 May 28, 2022
File filter

Filter by extension

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
Next Next commit
Fixed AxiosError stack capturing; (#4718)
Co-authored-by: Jay <jasonsaayman@gmail.com>
  • Loading branch information
DigitalBrainJS and jasonsaayman authored May 16, 2022
commit d60d6844b15204a87c96ad289cb502a9647ed6cc
4 changes: 3 additions & 1 deletion lib/core/AxiosError.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ function AxiosError(message, code, config, request, response) {
Error.call(this);

if (Error.captureStackTrace) {
Error.captureStackTrace(this);
Error.captureStackTrace(this, this.constructor);
} else {
this.stack = (new Error()).stack;
}

this.message = message;
Expand Down