axios-axios/lib/helpers
Eve 914bc2605a
fix(progress): clamp loaded to total for computable upload/download events (#7458)
* fix(progress): clamp loaded value to total in progress reducer

* test(progress): cover out-of-order events in reducer clamp case

* fix(progress): keep bytesNotified monotonic for out-of-order events

---------

Co-authored-by: Jay <jasonsaayman@gmail.com>
2026-04-09 17:40:50 +02:00
..
AxiosTransformStream.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
AxiosURLSearchParams.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
bind.js docs: add comprehensive JSDoc documentation to bind helper function (#7119) 2025-10-09 09:43:07 +02:00
buildURL.js docs(buildURL): fix outdated encode() comment (#7478) 2026-03-12 15:29:27 +02:00
callbackify.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
combineURLs.js fix: Regular Expression Denial of Service (ReDoS) (#6132) 2023-12-26 22:29:26 +02:00
composeSignals.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
cookies.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
deprecatedMethod.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
estimateDataURLDecodedBytes.js fix(node): enforce maxContentLength for data: URLs (#7011) 2025-09-10 15:08:43 +02:00
formDataToJSON.js fix: support multiselect in form data (#10676) 2026-04-09 17:31:39 +02:00
formDataToStream.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
fromDataURI.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
HttpStatusCode.js chore: add missing Cloudflare HTTP status codes (#7117) 2025-10-09 09:42:44 +02:00
isAbsoluteURL.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
isAxiosError.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
isURLSameOrigin.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
null.js Axios ES2017 (#4787) 2022-06-18 11:19:27 +02:00
parseHeaders.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
parseProtocol.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
progressEventReducer.js fix(progress): clamp loaded to total for computable upload/download events (#7458) 2026-04-09 17:40:50 +02:00
readBlob.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
README.md Adding README to modules 2016-06-01 13:16:16 -06:00
resolveConfig.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
shouldBypassProxy.js fix: no_proxy hostname normalization bypass leads to ssrf (#10661) 2026-04-06 13:47:03 +02:00
speedometer.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
spread.js doc: update deprecated var usage in documentation examples (#7246) 2025-12-30 13:16:52 +02:00
throttle.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
toFormData.js feat: support react native blob objects (#5764) 2026-02-24 20:36:32 +02:00
toURLEncodedForm.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
trackStream.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
validator.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +02:00
ZlibHeaderTransformStream.js feat: implement prettier and fix all issues (#7385) 2026-02-14 16:59:48 +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