axios-logger
axios-logger copied to clipboard
Beautify Axios Logging Messages
Bumps [axios](https://github.com/axios/axios) from 1.4.0 to 1.6.0. Release notes Sourced from axios's releases. Release v1.6.0 Release notes: Bug Fixes CSRF: fixed CSRF vulnerability CVE-2023-45857 (#6028) (96ee232) dns: fixed lookup function decorator...
Removes [property-expr](https://github.com/jquense/expr). It's no longer used after updating ancestor dependency [lint-staged](https://github.com/okonet/lint-staged). These dependencies need to be updated together. Removes `property-expr` Updates `lint-staged` from 8.2.1 to 14.0.1 Release notes Sourced from...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
Currently, it is supported by cjs, which is legacy. It would be nice to switch to esm, but many libraries support both ways. Therefore, we need to work on this...
**Describe the bug** `combineURLs` throws the following error when the instance `baseURL` is a relative path, such as `'/api/'`. **Expected Behavior** Axios accepts relative paths as the `baseURL` so I'd...
Added "type": "module" to package.json. this closes #138
**Is your feature request related to a problem? Please describe.** As of axios 1.3.0, there is a breaking change in the use of request interceptors (introduced in https://github.com/axios/axios/pull/5486) that is...
**Describe the bug** URLSearchParams not shown in log **To Reproduce** Steps to reproduce the behavior: `await axiosInstance.post('http://xxxxx/hello', new URLSearchParams({ a: 1, b: 2 }));` [Axios][Request] POST http://xxxxx/hello {} **Expected behavior**...
- I've added the possibility to add a traceId to the log (globally or separate on request/response/error) - Also change a little bit the format to make it more standardized:...