axios-axios/lib/helpers
ChronosMasterOfAllTime b0ebf9fcac
Fix: Don't add null values to query string. (#5108)
* feat: add  boolean flag to mimic pre 1.x behavior for paramsSerializer custom function

* chore: update ParamsSerializer Readme

* fix: dont slice hash off URL if not appending params

* Omit nulls from formData serialization

* fix: dont add nulls or undefined values to arrays either

* readme update

* fix test

* chore: documentation

* chore: do TS properly

Co-authored-by: Jay <jasonsaayman@gmail.com>
2022-10-15 15:01:59 +02:00
..
AxiosTransformStream.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
AxiosURLSearchParams.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
bind.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
buildURL.js Fix: Don't add null values to query string. (#5108) 2022-10-15 15:01:59 +02:00
combineURLs.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
cookies.js Fixed missed minified builds; (#4805) 2022-08-01 19:13:14 +02:00
deprecatedMethod.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
formDataToJSON.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
fromDataURI.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
isAbsoluteURL.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
isAxiosError.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
isURLSameOrigin.js Fixed missed minified builds; (#4805) 2022-08-01 19:13:14 +02:00
null.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
parseHeaders.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
parseProtocol.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
README.md Adding README to modules 2016-06-01 13:16:16 -06:00
speedometer.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
spread.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
throttle.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
toFormData.js Fix: Don't add null values to query string. (#5108) 2022-10-15 15:01:59 +02:00
toURLEncodedForm.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
validator.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00

axios // helpers

The modules found in helpers/ should be generic modules that are not specific to the domain logic of axios. These modules could theoretically be published to npm on their own and consumed by other modules or apps. Some examples of generic modules are things like:

  • Browser polyfills
  • Managing cookies
  • Parsing HTTP headers