[Snyk] Upgrade axios from 0.18.1 to 0.20.0 #2278
Merged
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.
Snyk has created this PR to upgrade axios from 0.18.1 to 0.20.0.
✨ Snyk has automatically assigned this pull request, set who gets assigned.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: axios
Release of 0.20.0-pre as a full release with no other changes.
0.20.0-pre (July 15, 2020)
Fixes and Functionality:
data
There is a bug in react native Android platform when using get method. It will trigger a 'Network Error' when passing the requestData which is an empty string to request.send function. So if the requestData is an empty string we can set it to null as well to fix the bug.
maxBodyLength
option (#2781)finally
asthen
(#2683)Internal and Tests:
Update close message to read better 😄
Use single quotes as per other .yml files
Add server error handeling
Better error message, remove retry.
options
type definitions (#1996)Update tests.
jsdelivr
andunpkg
support (#2443)Documentation:
Signed-off-by: Moni [email protected]
Small change to the data attribute doc of the config. A request body can also be set for DELETE methods but this wasn't mentioned in the documentation (it only mentioned POST, PUT and PATCH). Took my some 10-20 minutes until I realized that I don't need to manipulate the request body with transformRequest in the case of DELETE.
This badge will show the version on CDNJS!
Rewrote the comment from "Reject only if the status code is greater than or equal to 500" to "Resolve only if the status code is less than 500"
Closes #2049
onUploadProgress
andonDownloadProgress
are browser only (#2763)Saw in #928 and #1966 that
onUploadProgress
andonDownloadProgress
only work in the browser and was missing that from the README.Huge thanks to everyone who contributed to this release via code (authors listed
below) or via reviews and triaging on GitHub:
Read more
Read more
Read more
Security Fix:
Commit messages
Package name: axios
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
👩💻 Set who automatically gets assigned
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs