2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00
Files
axios/lib/helpers
Karan Mangtani 66337fc6fc fix: replace deprecated unescape() with modern UTF-8 encoding (#7378)
- Replace deprecated unescape(encodeURIComponent()) pattern with a
  regex-based encodeUTF8() helper function in resolveConfig.js
- Fix incorrect JSDoc comment for isFileList in utils.js
  (said 'File' instead of 'FileList')

The new encodeUTF8 function produces identical output to the deprecated
pattern, verified against existing basicAuth.spec.js test expectations.

Co-authored-by: Jay <jasonsaayman@gmail.com>
2026-04-28 16:24:48 +02:00
..
2022-06-18 11:19:27 +02:00
2016-06-01 13:16:16 -06: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