vuejs-datatable
vuejs-datatable copied to clipboard
chore: π€ Renovate auto-bump Update dependency axios to ^0.28.0 [SECURITY]
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
axios (source) | ^0.21.0 -> ^0.28.0 |
GitHub Vulnerability Alerts
CVE-2020-28168
Axios NPM package 0.21.0 contains a Server-Side Request Forgery (SSRF) vulnerability where an attacker is able to bypass a proxy by providing a URL that responds with a redirect to a restricted host or IP address.
CVE-2023-45857
An issue discovered in Axios 0.8.1 through 1.5.1 inadvertently reveals the confidential XSRF-TOKEN stored in cookies by including it in the HTTP header X-XSRF-TOKEN for every request made to any host allowing attackers to view sensitive information.
Release Notes
axios/axios (axios)
v0.28.0
Release notes:
Bug Fixes
- fix(security): fixed CVE-2023-45857 by backporting
withXSRFToken
option to v0.x (#β6091)
Backports from v1.x:
- Allow null indexes on formSerializer and paramsSerializer v0.x (#β4961)
- Fixing content-type header repeated #β4745
- Fixed timeout error message for HTTP 4738
- Added
axios.formToJSON
method (#β4735) - URL params serializer (#β4734)
- Fixed toFormData Blob issue on node>v17 #β4728
- Adding types for progress event callbacks #β4675
- Fixed max body length defaults #β4731
- Added data URL support for node.js (#β4725)
- Added isCancel type assert (#β4293)
- Added the ability for the
url-encoded-form
serializer to respect theformSerializer
config (#β4721) - Add
string[]
toAxiosRequestHeaders
type (#β4322) - Allow type definition for axios instance methods (#β4224)
- Fixed
AxiosError
stack capturing; (#β4718) - Fixed
AxiosError
status code type; (#β4717) - Adding Canceler parameters config and request (#β4711)
- fix(types): allow to specify partial default headers for instance creation (#β4185)
- Added
blob
to the list of protocols supported by the browser (#β4678) - Fixing Z_BUF_ERROR when no content (#β4701)
- Fixed race condition on immediate requests cancellation (#β4261)
- Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance https://github.com/axios/axios/pull/4248
- Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill (#β4229)
- Fix TS definition for AxiosRequestTransformer (#β4201)
- Use type alias instead of interface for AxiosPromise (#β4505)
- Include request and config when creating a CanceledError instance (#β4659)
- Added generic TS types for the exposed toFormData helper (#β4668)
- Optimized the code that checks cancellation (#β4587)
- Replaced webpack with rollup (#β4596)
- Added stack trace to AxiosError (#β4624)
- Updated AxiosError.config to be optional in the type definition (#β4665)
- Removed incorrect argument for NetworkError constructor (#β4656)
v0.27.2
Fixes and Functionality:
- Fixed FormData posting in browser environment by reverting #β3785 (#β4640)
- Enhanced protocol parsing implementation (#β4639)
- Fixed bundle size
v0.27.1
Fixes and Functionality:
- Removed import of url module in browser build due to huge size overhead and builds being broken (#β4594)
- Bumped follow-redirects to ^1.14.9 (#β4615)
v0.27.0
Breaking changes:
- New toFormData helper function that allows the implementor to pass an object and allow axios to convert it to FormData (#β3757)
- Removed functionality that removed the the
Content-Type
request header when passing FormData (#β3785) - (*) Refactored error handling implementing AxiosError as a constructor, this is a large change to error handling on the whole (#β3645)
- Separated responsibility for FormData instantiation between
transformRequest
andtoFormData
(#β4470) - (*) Improved and fixed multiple issues with FormData support (#β4448)
QOL and DevX improvements:
- Added a multipart/form-data testing playground allowing contributors to debug changes easily (#β4465)
Fixes and Functionality:
- Refactored project file structure to avoid circular imports (#β4515) & (#β4516)
- Bumped follow-redirects to ^1.14.9 (#β4562)
Internal and Tests:
- Updated dev dependencies to latest version
Documentation:
- Fixing incorrect link in changelog (#β4551)
Notes:
- (*) Please read these pull requests before updating, these changes are very impactful and far reaching.
v0.26.1
Fixes and Functionality:
- Refactored project file structure to avoid circular imports (#β4220)
v0.26.0
Fixes and Functionality:
- Fixed The timeoutErrorMessage property in config not work with Node.js (#β3581)
- Added errors to be displayed when the query parsing process itself fails (#β3961)
- Fix/remove url required (#β4426)
- Update follow-redirects dependency due to Vulnerability (#β4462)
- Bump karma from 6.3.11 to 6.3.14 (#β4461)
- Bump follow-redirects from 1.14.7 to 1.14.8 (#β4473)
v0.25.0
Breaking changes:
- Fixing maxBodyLength enforcement (#β3786)
- Don't rely on strict mode behaviour for arguments (#β3470)
- Adding error handling when missing url (#β3791)
- Update isAbsoluteURL.js removing escaping of non-special characters (#β3809)
- Use native Array.isArray() in utils.js (#β3836)
- Adding error handling inside stream end callback (#β3967)
Fixes and Functionality:
- Added aborted even handler (#β3916)
- Header types expanded allowing
boolean
andnumber
types (#β4144) - Fix cancel signature allowing cancel message to be
undefined
(#β3153) - Updated type checks to be formulated better (#β3342)
- Avoid unnecessary buffer allocations (#β3321)
- Adding a socket handler to keep TCP connection live when processing long living requests (#β3422)
- Added toFormData helper function (#β3757)
- Adding responseEncoding prop type in AxiosRequestConfig (#β3918)
Internal and Tests:
- Adding axios-test-instance to ecosystem (#β3786)
- Optimize the logic of isAxiosError (#β3546)
- Add tests and documentation to display how multiple inceptors work (#β3564)
- Updating follow-redirects to version 1.14.7 (#β4379)
Documentation:
- Fixing changelog to show corrext pull request (#β4219)
- Update upgrade guide for https proxy setting (#β3604)
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
- Jay
- Rijk van Zanten
- Kohta Ito
- Brandon Faulkner
- Stefano Magni
- enofan
- Andrey Pechkurov
- Doowonee
- Emil Broman
- Remco Haszing
- Black-Hole
- Wolfram Kriesing
- Andrew Ovens
- Paulo Renato
- Ben Carp
- Hirotaka Tagawa
- ηΌζε°η
- C. Lewis
- Felipe Carvalho
- Daniel
- Gustavo Sales
v0.24.0
Breaking changes:
- Revert: change type of AxiosResponse to any, please read lengthy discussion here: (#β4141) pull request: (#β4186)
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
v0.23.0
Breaking changes:
- Distinguish request and response data types (#β4116)
- Change never type to unknown (#β4142)
- Fixed TransitionalOptions typings (#β4147)
Fixes and Functionality:
- Adding globalObject: 'this' to webpack config (#β3176)
- Adding insecureHTTPParser type to AxiosRequestConfig (#β4066)
- Fix missing semicolon in typings (#β4115)
- Fix response headers types (#β4136)
Internal and Tests:
- Improve timeout error when timeout is browser default (#β3209)
- Fix node version on CI (#β4069)
- Added testing to TypeScript portion of project (#β4140)
Documentation:
- Rename Angular to AngularJS (#β4114)
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
- Jay
- Evan-Finkelstein
- PaweΕ SzymaΕski
- Dobes Vandermeer
- Claas Augner
- Remco Haszing
- Evgeniy
- Dmitriy Mozgovoy
v0.22.0
Fixes and Functionality:
- Caseless header comparing in HTTP adapter (#β2880)
- Avoid package.json import fixing issues and warnings related to this (#β4041), (#β4065)
- Fixed cancelToken leakage and added AbortController support (#β3305)
- Updating CI to run on release branches
- Bump follow redirects version
- Fixed default transitional config for custom Axios instance; (#β4052)
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
v0.21.4
Fixes and Functionality:
- Fixing JSON transform when data is stringified. Providing backward compatibility and complying to the JSON RFC standard (#β4020)
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
v0.21.3
Fixes and Functionality:
- Fixing response interceptor not being called when request interceptor is attached (#β4013)
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
v0.21.2
Fixes and Functionality:
- Updating axios requests to be delayed by pre-emptive promise creation (#β2702)
- Adding "synchronous" and "runWhen" options to interceptors api (#β2702)
- Updating of transformResponse (#β3377)
- Adding ability to omit User-Agent header (#β3703)
- Adding multiple JSON improvements (#β3688, #β3763)
- Fixing quadratic runtime and extra memory usage when setting a maxContentLength (#β3738)
- Adding parseInt to config.timeout (#β3781)
- Adding custom return type support to interceptor (#β3783)
- Adding security fix for ReDoS vulnerability (#β3980)
Internal and Tests:
- Updating build dev dependancies (#β3401)
- Fixing builds running on Travis CI (#β3538)
- Updating follow rediect version (#β3694, #β3771)
- Updating karma sauce launcher to fix failing sauce tests (#β3712, #β3717)
- Updating content-type header for application/json to not contain charset field, according do RFC 8259 (#β2154)
- Fixing tests by bumping karma-sauce-launcher version (#β3813)
- Changing testing process from Travis CI to GitHub Actions (#β3938)
Documentation:
- Updating documentation around the use of
AUTH_TOKEN
with multiple domain endpoints (#β3539) - Remove duplication of item in changelog (#β3523)
- Fixing gramatical errors (#β2642)
- Fixing spelling error (#β3567)
- Moving gitpod metion (#β2637)
- Adding new axios documentation website link (#β3681, #β3707)
- Updating documentation around dispatching requests (#β3772)
- Adding documentation for the type guard isAxiosError (#β3767)
- Adding explanation of cancel token (#β3803)
- Updating CI status badge (#β3953)
- Fixing errors with JSON documentation (#β3936)
- Fixing README typo under Request Config (#β3825)
- Adding axios-multi-api to the ecosystem file (#β3817)
- Adding SECURITY.md to properly disclose security vulnerabilities (#β3981)
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
- Sasha Korotkov
- Daniel Lopretto
- Mike Bishop
- Dmitriy Mozgovoy
- Mark
- Philipe Gouveia PaixΓ£o
- hippo
- ready-research
- Xianming Zhong
- Christopher Chrapka
- Brian Anglin
- Kohta Ito
- Ali Clark
- caikan
- Elina Gorshkova
- Ryota Ikezawa
- Nisar Hassan Naqvi
- Jake
- TagawaHirotaka
- Johannes Jarbratt
- Mo Sattler
- Sam Carlton
- Matt CzapliΕski
- Ziding Zhang
v0.21.1
Fixes and Functionality:
- Hotfix: Prevent SSRF (#β3410)
- Protocol not parsed when setting proxy config from env vars (#β3070)
- Updating axios in types to be lower case (#β2797)
- Adding a type guard for
AxiosError
(#β2949)
Internal and Tests:
- Remove the skipping of the
socket
http test (#β3364) - Use different socket for Win32 test (#β3375)
Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub:
- Daniel Lopretto <timemachine3030@βusers.noreply.github.com>
- Jason Kwok [email protected]
- Jay [email protected]
- Jonathan Foster [email protected]
- Remco Haszing [email protected]
- Xianming Zhong [email protected]
Configuration
π Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.