Upgrading axios 0.35 to 1
Breaking0.35.0 → 1.21.1Breaking9Security83Deprecated3New58Changed43Fixed238Other145
SecurityRaises the follow-redirects range from ^1.16.0 to ^1.16.2 to fix CVE-2026-116689 (GHSA-mrwp-f3q8-3g9p).CVE-2026-116689 ↗
BreakingUpgrade verdict
9 breaking changes and 68 security fixes.
In plain terms
- If you set default headers using a custom class instance, axios no longer treats it as a set of defaults. Convert it to a plain object or AxiosHeaders, or it will be sent as a literal header value.
- Passing a URL object as the request URL no longer works; it will return in a later release.
- Requests with both a base URL and an absolute request URL now combine them instead of using the request URL as-is.
- Strings that used to be loosely recognized as protocols may no longer match.
Must act Top 5 of 80 that need code or config changes
Adds https-proxy-agent ^5.0.1.
Installs 29 packages in all (was 25).
Also installs agent-base, debug, ms.
Moves follow-redirects 1.16.2 → 1.16.3, proxy-from-env 1.1.0 → 2.1.0. Your build may pick other versions.
What you must change
Breaking9
Only plain objects, null-prototype maps, and compatible AxiosHeaders instances are treated as header defaults; other class instances become literal header values.
AxiosHeadersReverts support for passing a URL object as config.url due to regressions.
config.urlURLCode relying on the reverted behavior now combines URLs instead of preferring the request URL.
buildFullPathallowAbsoluteUrlsparseProtocol now strictly requires a colon in the protocol separator.
parseProtocolReverts exposing fromDataToStream, so code relying on it will now combine URLs instead of preferring the request URL.
fromDataToStreamReverts the fix that exported CJS types from ESM (#6218), restoring the previous type export behavior.
Removes the incorrect argument for the NetworkError constructor.
NetworkErrorRemoves Webpack.
WebpackRemoves the function that transforms arguments to an array.
Security68
Raises the follow-redirects range from ^1.16.0 to ^1.16.2 to fix CVE-2026-116689 (GHSA-mrwp-f3q8-3g9p).
follow-redirectssensitiveHeadersAxios: maxRedirects: 0 is not enforced by the fetch adapter, allowing redirect-based SSRF
NO_PROXYHighAxios: Prototype pollution gadget in fetch adapter can alter outbound requests
ModerateAxios: Header Injection via Inherited headers After Minimal Interceptor
ModerateAxios: Prototype Pollution Gadget in axios toFormData Options
HighAxios: CIDR-form NO_PROXY entries are ignored, causing proxy exclusion bypass for internal IP ranges
ModerateAxios: HTTP/2 adapter bypasses configured DNS lookup and proxy controls
HighAxios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization
HighAxios: Prototype-Pollution Gadget in the Default Instance Allows Inherited Object.prototype.method to Override HTTP Method
ModerateAxios: ReDoS in fromDataURI data: URL parser freezes the Node event loop (DoS)
HighAxios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location
HighAxios: Fetch Adapter Header Injection via Inherited FormData getHeaders
ModerateAxios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection
HighRaises the form-data dependency floor to ^4.0.6 to avoid versions affected by the CRLF injection vulnerability GHSA-hmw2-7cc7-3qxx.
form-dataAdds Node HTTP adapter support for stripping caller-specified sensitive headers on cross-origin redirects.
Axios: HTTP/2 streamed uploads bypass
maxBodyLengthERR_INVALID_URLNO_PROXYFormDataModerateAxios: Deep formToJSON Key Recursion Can Cause Denial of Service
ModerateAxios: Nested axios option objects can consume polluted prototype values
ModerateAxios form serializer maxDepth bypass via {} metatoken
ModerateAxios: NO_PROXY bypass for 0.0.0.0 local addresses in axios
ModerateAxios Node HTTP adapter can use an inherited proxy after interceptor config cloning
HighAxios: Excessive recursion in formDataToJSON can cause denial of service
ModerateAxios: Prototype pollution auth subfields can inject Basic auth
ModerateAxios: Prototype pollution gadgets can alter axios request construction
ModerateAxios: Fetch adapter
ModerateReadableStream uploads bypass maxBodyLengthGuards socketPath, params, and paramsSerializer reads with own-property checks to stop inherited prototype values affecting requests, including SSRF-sensitive paths.
socketPathparamsparamsSerializerSwitches the publish workflow to npm staged publishing for safer, auditable releases with provenance.
Hardens formDataToJSON against prototype pollution by walking own properties only.
formDataToJSONObject.prototypeFixes HTTPS request data being sent in cleartext to an HTTP proxy in certain configurations.
Removes all GitHub Actions caches as a defence-in-depth measure against cache poisoning.
Allocation of Resources Without Limits or Throttling in Axios
maxBodyLengthmaxContentLengthHigh · CVSS 7.5axios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718)
High · CVSS 8.6Axios: Regular Expression Denial of Service (ReDoS) via Cookie Name Injection
High · CVSS 7.5Axios: Proxy-Authorization Credential Leak to Origin Server Across HTTP-to-HTTPS Redirect in Axios Node.js HTTP Adapter
Highaxios has DoS & Header Injection via Prototype Pollution Read-Side Gadgets in axios merge functions
Moderate · CVSS 4.8Axios has a Patch Bypass: Proxy-Authorization Header Injection via Prototype Pollution — Incomplete Null-Prototype Fix
Low · CVSS 3.7axios Vulnerable to Full Man-in-the-Middle via Prototype Pollution Gadget in
High · CVSS 8.7config.proxyAxios: Proxy-Authorization header leaks to redirect target when proxy is re-evaluated to direct connection
High · CVSS 7.5Axios has prototype pollution read-side gadgets in HTTP adapter that allow credential injection and request hijacking
resolveConfigmergeConfigauthbaseURLsocketPathbeforeRedirectinsecureHTTPParserHigh · CVSS 7.4Rejects non-string socketPath values and adds opt-in allowedSocketPaths to restrict Unix domain socket paths, returning ERR_BAD_OPTION_VALUE on mismatch.
socketPathallowedSocketPathsAxiosErrorERR_BAD_OPTION_VALUEAdds supply-chain hardening: ignore-scripts .npmrc, lockfile lint CI, reproducible build diff, CODEOWNERS, expanded security docs and incident runbook.
.npmrcignore-scriptsSECURITY.mdTHREATMODEL.mdnpm audit signaturesAxios: Invisible JSON Response Tampering via Prototype Pollution Gadget in
Moderate · CVSS 6.5parseReviveraxios Vulnerable to Credential Theft and Response Hijacking via Prototype Pollution Gadget in Config Merge
High · CVSS 7.0Axios: Header Injection via Prototype Pollution
High · CVSS 7.4Axios: CRLF Injection in multipart/form-data body via unsanitized blob.type in formDataToStream
Moderate · CVSS 5.3Axios: Authentication Bypass via Prototype Pollution Gadget in
validateStatus Merge StrategyhasOwnPropertyModerate · CVSS 4.8Axios: XSRF Token Cross-Origin Leakage via Prototype Pollution Gadget in
withXSRFToken Boolean CoercionwithXSRFTokenModerate · CVSS 5.4Axios' HTTP adapter-streamed uploads bypass maxBodyLength when maxRedirects: 0
maxBodyLengthmaxRedirectsModerate · CVSS 5.3Axios: HTTP adapter streamed responses bypass maxContentLength
maxContentLengthModerate · CVSS 5.3Axios: Incomplete Fix for CVE-2025-62718 — NO_PROXY Protection Bypassed via RFC 1122 Loopback Subnet (127.0.0.0/8) in Axios 1.15.0
High · CVSS 7.2Axios: Null Byte Injection via Reverse-Encoding in AxiosURLSearchParams
Low · CVSS 3.7Axios: Prototype Pollution Gadgets - Response Tampering, Data Exfiltration, and Request Hijacking
High · CVSS 7.4Axios: no_proxy bypass via IP alias allows SSRF
Moderate · CVSS 6.8Axios: unbounded recursion in toFormData causes DoS via deeply nested request data
Moderate · CVSS 7.5Axios has a NO_PROXY Hostname Normalization Bypass that Leads to SSRF
no_proxyModerate · CVSS 4.8Axios has Unrestricted Cloud Metadata Exfiltration via Header Injection Chain
Moderate · CVSS 4.8Axios is Vulnerable to Denial of Service via __proto__ Key in mergeConfig
mergeConfig__proto__High · CVSS 7.5Axios HTTP/2 Session Cleanup State Corruption Vulnerability
Moderate · CVSS 5.9Axios is vulnerable to DoS attack through lack of data size check
High · CVSS 7.5axios Requests Vulnerable To Possible SSRF and Credential Leakage via Absolute URL
HighUses the URL API instead of DOM to fix a potential vulnerability warning.
URLFixes CVE-2024-39338, a security vulnerability tracked in issues #6539 and #6543.
HighUpdates follow-redirects to 1.15.6 to address a vulnerability.
follow-redirectsFixes a prototype pollution vulnerability in formToJSON.
formToJSONFixes a security vulnerability in follow-redirects.
follow-redirectsFixes a Regular Expression Denial of Service (ReDoS) vulnerability.
Fixes the CSRF vulnerability CVE-2023-45857.
Moderate · CVSS 6.5Updates SECURITY.md.
Deprecations to plan for
Deprecated3
Adds ContentTooLarge (413) and UnprocessableContent (422) status names, deprecating PayloadTooLarge and UnprocessableEntity as backward-compatible aliases.
ContentTooLargeUnprocessableContentPayloadTooLargeUnprocessableEntityReplaces url.parse() usage to address Node.js deprecation warnings.
url.parse()Notes that this release contains multiple deprecations, refactors and fixes that may impact projects.
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- removed:
method AxiosInterceptorManager.use<T = V>(onFulfilled?: (value: V) => T | Promise<T>, onRejected?: (error: any) => any, options?: AxiosInterceptorOptions): number - removed:
method AxiosStatic.all<T>(values: Array<T | Promise<T>>): Promise<T[]> - removed:
method AxiosStatic.create(config?: CreateAxiosDefaults): AxiosInstance - removed:
method AxiosStatic.formToJSON(form: GenericFormData|GenericHTMLFormElement): object - removed:
method AxiosStatic.isAxiosError<T = any, D = any>(payload: any): payload is AxiosError<T, D> - removed:
method AxiosStatic.isCancel(value: any): value is Cancel - removed:
method AxiosStatic.spread<T, R>(callback: (...args: T[]) => R): (array: T[]) => R - removed:
method AxiosStatic.toFormData(sourceObj: object, targetFormData?: GenericFormData, options?: FormSerializerOptions): GenericFormData - removed:
property AxiosRequestConfig.captureCallerStack?: boolean - removed:
property Cancel.reason?: unknown - removed:
property CanceledError.reason?: unknown - removed:
readonly property GenericAbortSignal.reason?: unknown - changed:
call AxiosAdapter(config: AxiosRequestConfig): AxiosPromise → call AxiosAdapter(config: InternalAxiosRequestConfig): AxiosPromise - changed:
call AxiosInstance<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R> → call AxiosInstance<T = any, R = AxiosResponseDefault, D = any, P = any>(config: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
call AxiosInstance<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R> → call AxiosInstance<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
call AxiosRequestTransformer(data: any, headers: AxiosRequestHeaders): any → call AxiosRequestTransformer(this: InternalAxiosRequestConfig, data: any, headers: AxiosRequestHeaders): any - changed:
call AxiosResponseTransformer(data: any, headers?: AxiosResponseHeaders, status?: number): any → call AxiosResponseTransformer(this: InternalAxiosRequestConfig, data: any, headers: AxiosResponseHeaders, status?: number): any - changed:
call CustomParamsSerializer(params: Record<string, any>, options?: ParamsSerializerOptions): string → call CustomParamsSerializer(params: P, options?: ParamsSerializerOptions<P>): string - changed:
class AxiosError<T = unknown, D = any> extends Error → class AxiosError<T = unknown, D = any, P = any> extends Error - changed:
class CanceledError<T> extends AxiosError<T> → class CanceledError<T, D = any, P = any> extends AxiosError<T, D, P> - changed:
constructor AxiosError(message?: string, code?: string, config?: AxiosRequestConfig<D>, request?: any, response?: AxiosResponse<T, D>) → constructor AxiosError(message?: string, code?: string, config?: InternalAxiosRequestConfig<D, P>, request?: any, response?: AxiosResponse<T, D, {}, P>) - changed:
interface AxiosDefaults<D = any> extends Omit<AxiosRequestConfig<D>, 'headers'> → interface AxiosDefaults<D = any, P = any> extends Omit<AxiosRequestConfig<D, P>, 'headers'> - changed:
interface AxiosRequestConfig<D = any> → interface AxiosRequestConfig<D = any, P = any> - changed:
interface AxiosResponse<T = any, D = any> → interface AxiosResponse<T = any, D = any, H = {}, P = any> - changed:
interface CreateAxiosDefaults<D = any> extends Omit<AxiosRequestConfig<D>, 'headers'> → interface CreateAxiosDefaults<D = any, P = any> extends Omit<AxiosRequestConfig<D, P>, 'headers'> - changed:
interface CustomParamsSerializer → interface CustomParamsSerializer<P = Record<string, any>> - changed:
interface ParamsSerializerOptions extends SerializerOptions → interface ParamsSerializerOptions<P = Record<string, any>> extends SerializerOptions - changed:
method Axios.delete<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R> → method Axios.delete<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
method Axios.get<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R> → method Axios.get<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
method Axios.head<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R> → method Axios.head<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
method Axios.options<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R> → method Axios.options<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
method Axios.patch<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R> → method Axios.patch<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, data?: D, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
method Axios.patchForm<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R> → method Axios.patchForm<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, data?: D, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
method Axios.post<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R> → method Axios.post<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, data?: D, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
method Axios.postForm<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R> → method Axios.postForm<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, data?: D, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
method Axios.put<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R> → method Axios.put<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, data?: D, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
method Axios.putForm<T = any, R = AxiosResponse<T>, D = any>(url: string, data?: D, config?: AxiosRequestConfig<D>): Promise<R> → method Axios.putForm<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, data?: D, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
method Axios.request<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R> → method Axios.request<T = any, R = AxiosResponseDefault, D = any, P = any>(config: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - changed:
property Axios.interceptors: { request: AxiosInterceptorManager<AxiosRequestConfig>; response: AxiosInterceptorManager<AxiosResponse> } → property Axios.interceptors: { request: AxiosInterceptorManager<InternalAxiosRequestConfig>; response: AxiosInterceptorManager<AxiosResponse> } - changed:
property AxiosError.config?: AxiosRequestConfig<D> → property AxiosError.config?: InternalAxiosRequestConfig<D, P> - changed:
property AxiosError.response?: AxiosResponse<T, D> → property AxiosError.response?: AxiosResponse<T, D, {}, P> - changed:
property AxiosInstance.defaults: Omit<AxiosDefaults, 'headers'> & { headers: HeadersDefaults & { [key: string]: string | number | boolean | undefined } } → property AxiosInstance.defaults: Omit<AxiosDefaults, 'headers'> & { headers: HeadersDefaults & { [key: string]: AxiosHeaderValue } } - changed:
property AxiosInterceptorOptions.runWhen?: (config: AxiosRequestConfig) => boolean → property AxiosInterceptorOptions.runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null - changed:
property AxiosProxyConfig.auth?: { username: string; password: string } → property AxiosProxyConfig.auth?: AxiosBasicCredentials - changed:
property AxiosRequestConfig.adapter?: AxiosAdapter → property AxiosRequestConfig.adapter?: AxiosAdapterConfig | AxiosAdapterConfig[] - changed:
property AxiosRequestConfig.beforeRedirect?: (options: Record<string, any>, responseDetails: { headers: Record<string, string> }) => void → property AxiosRequestConfig.beforeRedirect?: (options: Record<string, any>, responseDetails: { headers: Record<string, string>; statusCode: HttpStatusCode }, requestDetails: { headers: Record<string, string>; url: string; method: string }) => void - changed:
property AxiosRequestConfig.cancelToken?: CancelToken → property AxiosRequestConfig.cancelToken?: CancelToken | undefined - changed:
property AxiosRequestConfig.env?: { FormData?: new (...args: any[]) => object } → property AxiosRequestConfig.env?: { FormData?: new (...args: any[]) => object; fetch?: (input: URL | Request | string, init?: RequestInit) => Promise<Response>; Request?: new (input: URL | Request | string, init?: RequestInit) => Request; Response?: new (body?: ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams | string | null, init?: ResponseInit) => Response } - changed:
property AxiosRequestConfig.headers?: AxiosRequestHeaders → property AxiosRequestConfig.headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders - changed:
property AxiosRequestConfig.method?: Method | string → property AxiosRequestConfig.method?: StringLiteralsOrString<Method> - changed:
property AxiosRequestConfig.onDownloadProgress?: (progressEvent: ProgressEvent) => void → property AxiosRequestConfig.onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void - changed:
property AxiosRequestConfig.onUploadProgress?: (progressEvent: ProgressEvent) => void → property AxiosRequestConfig.onUploadProgress?: (progressEvent: AxiosProgressEvent) => void - changed:
property AxiosRequestConfig.params?: any → property AxiosRequestConfig.params?: P - changed:
property AxiosRequestConfig.paramsSerializer?: ParamsSerializerOptions | CustomParamsSerializer → property AxiosRequestConfig.paramsSerializer?: | ParamsSerializerOptions<unknown extends P ? Record<string, any> : P> | CustomParamsSerializer<unknown extends P ? Record<string, any> : P> - changed:
property AxiosRequestConfig.responseEncoding?: responseEncoding | string → property AxiosRequestConfig.responseEncoding?: StringLiteralsOrString<responseEncoding> - changed:
property AxiosRequestConfig.timeout?: number → property AxiosRequestConfig.timeout?: Milliseconds - changed:
property AxiosRequestConfig.withXSRFToken?: boolean | ((config: AxiosRequestConfig) => boolean | undefined) → property AxiosRequestConfig.withXSRFToken?: boolean | ((config: InternalAxiosRequestConfig<D, P>) => boolean | undefined) - changed:
property AxiosResponse.config: AxiosRequestConfig<D> → property AxiosResponse.config: InternalAxiosRequestConfig<D, P> - changed:
property AxiosResponse.headers: AxiosResponseHeaders → property AxiosResponse.headers: (H & RawAxiosResponseHeaders) | AxiosResponseHeaders - changed:
property AxiosStatic.Cancel: CancelStatic → property AxiosStatic.Cancel: typeof CanceledError - changed:
property CreateAxiosDefaults.headers?: AxiosRequestHeaders | Partial<HeadersDefaults> → property CreateAxiosDefaults.headers?: RawAxiosRequestHeaders | AxiosHeaders | Partial<HeadersDefaults> - changed:
property GenericAbortSignal.aborted: boolean → readonly property GenericAbortSignal.aborted: boolean - changed:
property GenericAbortSignal.addEventListener: (...args: any) => any → property GenericAbortSignal.addEventListener?: (...args: any) => any - changed:
property GenericAbortSignal.onabort: ((...args: any) => any) | null → property GenericAbortSignal.onabort?: ((...args: any) => any) | null - changed:
property GenericAbortSignal.removeEventListener: (...args: any) => any → property GenericAbortSignal.removeEventListener?: (...args: any) => any - changed:
property HeadersDefaults.common: AxiosRequestHeaders → property HeadersDefaults.common: RawAxiosRequestHeaders - changed:
property HeadersDefaults.delete: AxiosRequestHeaders → property HeadersDefaults.delete: RawAxiosRequestHeaders - changed:
property HeadersDefaults.get: AxiosRequestHeaders → property HeadersDefaults.get: RawAxiosRequestHeaders - changed:
property HeadersDefaults.head: AxiosRequestHeaders → property HeadersDefaults.head: RawAxiosRequestHeaders - changed:
property HeadersDefaults.link?: AxiosRequestHeaders → property HeadersDefaults.link?: RawAxiosRequestHeaders - changed:
property HeadersDefaults.options?: AxiosRequestHeaders → property HeadersDefaults.options?: RawAxiosRequestHeaders - changed:
property HeadersDefaults.patch: AxiosRequestHeaders → property HeadersDefaults.patch: RawAxiosRequestHeaders - changed:
property HeadersDefaults.post: AxiosRequestHeaders → property HeadersDefaults.post: RawAxiosRequestHeaders - changed:
property HeadersDefaults.purge?: AxiosRequestHeaders → property HeadersDefaults.purge?: RawAxiosRequestHeaders - changed:
property HeadersDefaults.put: AxiosRequestHeaders → property HeadersDefaults.put: RawAxiosRequestHeaders - changed:
property HeadersDefaults.unlink?: AxiosRequestHeaders → property HeadersDefaults.unlink?: RawAxiosRequestHeaders - changed:
property ParamsSerializerOptions.serialize?: CustomParamsSerializer → property ParamsSerializerOptions.serialize?: CustomParamsSerializer<P> - changed:
type AxiosPromise<T = any> = Promise<AxiosResponse<T>> → type AxiosPromise<T = any, D = any, P = any> = Promise<AxiosResponse<T, D, {}, P>> - changed:
type AxiosRequestHeaders = Partial<AxiosHeaders & MethodsHeaders & CommonHeaders> → type AxiosRequestHeaders = RawAxiosRequestHeaders & AxiosHeaders - changed:
type AxiosResponseHeaders = Partial<Record<string, string>> & { 'set-cookie'?: string[] } → type AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders - changed:
type Method = 'get' | 'GET' | 'delete' | 'DELETE' | 'head' | 'HEAD' | 'options' | 'OPTIONS' | 'post' | 'POST' | 'put' | 'PUT' | 'patch' | 'PATCH' | 'purge' | 'PURGE' | 'link… → type Method = (UppercaseMethod | Lowercase<UppercaseMethod>) & {} - changed:
type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' → type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata' - changed:
type responseEncoding = 'ascii' | 'ASCII' | 'ansi' | 'ANSI' | 'binary' | 'BINARY' | 'base64' | 'BASE64' | 'base64url' | 'BASE64URL' | 'hex' | 'HEX' | 'latin1' | 'LATIN1' | 'ucs-2' | '… → type responseEncoding = (| UppercaseResponseEncoding | Lowercase<UppercaseResponseEncoding>) & {} - added:
call axios.AxiosAdapter(config: InternalAxiosRequestConfig): AxiosPromise - added:
call axios.AxiosInstance<T = any, R = AxiosResponseDefault, D = any, P = any>(config: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - added:
call axios.AxiosInstance<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - added:
call axios.AxiosRequestTransformer(this: InternalAxiosRequestConfig, data: any, headers: AxiosRequestHeaders): any - added:
call axios.AxiosResponseTransformer(this: InternalAxiosRequestConfig, data: any, headers: AxiosResponseHeaders, status?: number): any - added:
call axios.Canceler(message?: string, config?: AxiosRequestConfig, request?: any): void - added:
call axios.CustomParamsSerializer(params: P, options?: ParamsSerializerOptions<P>): string - added:
call axios.ParamEncoder(value: any, defaultEncoder: (value: any) => any): any - added:
call axios.SerializerVisitor(this: GenericFormData, value: any, key: string | number, path: null | Array<string | number>, helpers: FormDataVisitorHelpers): boolean - added:
class AxiosHeaders - added:
const axios: axios.AxiosStatic - added:
constructor AxiosHeaders(headers?: RawAxiosHeaders | AxiosHeaders | string) - added:
constructor CanceledError(message?: string, config?: InternalAxiosRequestConfig<D, P>, request?: any) - added:
enum HttpStatusCode - added:
export = axios - added:
function all<T>(values: Array<T | Promise<T>>): Promise<T[]> - added:
function create(config?: CreateAxiosDefaults): AxiosInstance - added:
function formToJSON(form: GenericFormData | GenericHTMLFormElement): object - added:
function getAdapter(adapters: AxiosAdapterConfig | AxiosAdapterConfig[] | undefined, config?: AxiosRequestConfig): AxiosAdapter - added:
function isAxiosError<T = any, D = any, P = any>(payload: any): payload is AxiosError<T, D, P> - added:
function isCancel<T = any, D = any, P = any>(value: any): value is CanceledError<T, D, P> - added:
function mergeConfig<D = any, P = any>(config1: AxiosRequestConfig<D, P>, config2: AxiosRequestConfig<D, P>): AxiosRequestConfig<D, P> - added:
function spread<T, R>(callback: (...args: T[]) => R): (array: T[]) => R - added:
function toFormData(sourceObj: object, targetFormData?: GenericFormData, options?: FormSerializerOptions): GenericFormData - added:
index AxiosHeaders[key: string]: any - added:
index RawAxiosHeaders[key: string]: AxiosHeaderValue - added:
index axios.RawAxiosHeaders[key: string]: AxiosHeaderValue - added:
interface AxiosProgressEvent - added:
interface AxiosResponseDefault - added:
interface InternalAxiosRequestConfig<D = any, P = any> extends AxiosRequestConfig<D, P> - added:
interface LookupAddressEntry - added:
interface RawAxiosHeaders - added:
interface axios.AxiosAdapter - added:
interface axios.AxiosBasicCredentials - added:
interface axios.AxiosDefaults<D = any, P = any> extends Omit<AxiosRequestConfig<D, P>, 'headers'> - added:
interface axios.AxiosInstance extends Axios - added:
interface axios.AxiosInterceptorHandler<T> - added:
interface axios.AxiosInterceptorManager<V> - added:
interface axios.AxiosInterceptorOptions - added:
interface axios.AxiosProgressEvent - added:
interface axios.AxiosProxyConfig - added:
interface axios.AxiosRequestConfig<D = any, P = any> - added:
interface axios.AxiosRequestTransformer - added:
interface axios.AxiosResponse<T = any, D = any, H = {}, P = any> - added:
interface axios.AxiosResponseDefault - added:
interface axios.AxiosResponseTransformer - added:
interface axios.AxiosStatic extends AxiosInstance - added:
interface axios.Cancel - added:
interface axios.CancelStatic - added:
interface axios.CancelToken - added:
interface axios.CancelTokenSource - added:
interface axios.CancelTokenStatic - added:
interface axios.Canceler - added:
interface axios.CreateAxiosDefaults<D = any, P = any> extends Omit<AxiosRequestConfig<D, P>, 'headers'> - added:
interface axios.CustomParamsSerializer<P = Record<string, any>> - added:
interface axios.FormDataVisitorHelpers - added:
interface axios.FormSerializerOptions extends SerializerOptions - added:
interface axios.GenericAbortSignal - added:
interface axios.GenericFormData - added:
interface axios.GenericHTMLFormElement - added:
interface axios.HeadersDefaults - added:
interface axios.InternalAxiosRequestConfig<D = any, P = any> extends AxiosRequestConfig<D, P> - added:
interface axios.LookupAddressEntry - added:
interface axios.ParamEncoder - added:
interface axios.ParamsSerializerOptions<P = Record<string, any>> extends SerializerOptions - added:
interface axios.RawAxiosHeaders - added:
interface axios.SerializerOptions - added:
interface axios.SerializerVisitor - added:
interface axios.TransitionalOptions - added:
member HttpStatusCode.Accepted = 202 - added:
member HttpStatusCode.AlreadyReported = 208 - added:
member HttpStatusCode.BadGateway = 502 - added:
member HttpStatusCode.BadRequest = 400 - added:
member HttpStatusCode.Conflict = 409 - added:
member HttpStatusCode.ConnectionTimedOut = 522 - added:
member HttpStatusCode.ContentTooLarge = 413 - added:
member HttpStatusCode.Continue = 100 - added:
member HttpStatusCode.Created = 201 - added:
member HttpStatusCode.EarlyHints = 103 - added:
member HttpStatusCode.ExpectationFailed = 417 - added:
member HttpStatusCode.FailedDependency = 424 - added:
member HttpStatusCode.Forbidden = 403 - added:
member HttpStatusCode.Found = 302 - added:
member HttpStatusCode.GatewayTimeout = 504 - added:
member HttpStatusCode.Gone = 410 - added:
member HttpStatusCode.HttpVersionNotSupported = 505 - added:
member HttpStatusCode.ImATeapot = 418 - added:
member HttpStatusCode.ImUsed = 226 - added:
member HttpStatusCode.InsufficientStorage = 507 - added:
member HttpStatusCode.InternalServerError = 500 - added:
member HttpStatusCode.InvalidSslCertificate = 526 - added:
member HttpStatusCode.LengthRequired = 411 - added:
member HttpStatusCode.Locked = 423 - added:
member HttpStatusCode.LoopDetected = 508 - added:
member HttpStatusCode.MethodNotAllowed = 405 - added:
member HttpStatusCode.MisdirectedRequest = 421 - added:
member HttpStatusCode.MovedPermanently = 301 - added:
member HttpStatusCode.MultiStatus = 207 - added:
member HttpStatusCode.MultipleChoices = 300 - added:
member HttpStatusCode.NetworkAuthenticationRequired = 511 - added:
member HttpStatusCode.NoContent = 204 - added:
member HttpStatusCode.NonAuthoritativeInformation = 203 - added:
member HttpStatusCode.NotAcceptable = 406 - added:
member HttpStatusCode.NotExtended = 510 - added:
member HttpStatusCode.NotFound = 404 - added:
member HttpStatusCode.NotImplemented = 501 - added:
member HttpStatusCode.NotModified = 304 - added:
member HttpStatusCode.Ok = 200 - added:
member HttpStatusCode.OriginIsUnreachable = 523 - added:
member HttpStatusCode.PartialContent = 206 - added:
member HttpStatusCode.PayloadTooLarge = 413 - added:
member HttpStatusCode.PaymentRequired = 402 - added:
member HttpStatusCode.PermanentRedirect = 308 - added:
member HttpStatusCode.PreconditionFailed = 412 - added:
member HttpStatusCode.PreconditionRequired = 428 - added:
member HttpStatusCode.Processing = 102 - added:
member HttpStatusCode.ProxyAuthenticationRequired = 407 - added:
member HttpStatusCode.RangeNotSatisfiable = 416 - added:
member HttpStatusCode.RequestHeaderFieldsTooLarge = 431 - added:
member HttpStatusCode.RequestTimeout = 408 - added:
member HttpStatusCode.ResetContent = 205 - added:
member HttpStatusCode.SeeOther = 303 - added:
member HttpStatusCode.ServiceUnavailable = 503 - added:
member HttpStatusCode.SslHandshakeFailed = 525 - added:
member HttpStatusCode.SwitchingProtocols = 101 - added:
member HttpStatusCode.TemporaryRedirect = 307 - added:
member HttpStatusCode.TimeoutOccurred = 524 - added:
member HttpStatusCode.TooEarly = 425 - added:
member HttpStatusCode.TooManyRequests = 429 - added:
member HttpStatusCode.Unauthorized = 401 - added:
member HttpStatusCode.UnavailableForLegalReasons = 451 - added:
member HttpStatusCode.UnprocessableContent = 422 - added:
member HttpStatusCode.UnprocessableEntity = 422 - added:
member HttpStatusCode.UnsupportedMediaType = 415 - added:
member HttpStatusCode.Unused = 306 - added:
member HttpStatusCode.UpgradeRequired = 426 - added:
member HttpStatusCode.UriTooLong = 414 - added:
member HttpStatusCode.UseProxy = 305 - added:
member HttpStatusCode.VariantAlsoNegotiates = 506 - added:
member HttpStatusCode.WebServerIsDown = 521 - added:
member HttpStatusCode.WebServerReturnsAnUnknownError = 520 - added:
method Axios.query<T = any, R = AxiosResponseDefault, D = any, P = any>(url: string, data?: D, config?: AxiosRequestConfig<D, P>): Promise<AxiosResponseResult<T, R, D, P>> - added:
method AxiosHeaders.clear(matcher?: AxiosHeaderMatcher): boolean - added:
method AxiosHeaders.concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders - added:
method AxiosHeaders.delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean - added:
method AxiosHeaders.get(headerName: string, matcher?: true | AxiosHeaderParser): AxiosHeaderValue - added:
method AxiosHeaders.get(headerName: string, parser: RegExp): RegExpExecArray | null - added:
method AxiosHeaders.get(headerName: string, parser: typeof AxiosHeaders.parseParameters): AxiosHeaderParameters - added:
method AxiosHeaders.getAccept(matcher?: AxiosHeaderMatcher): AxiosHeaderValue - added:
method AxiosHeaders.getAccept(parser?: RegExp): RegExpExecArray | null - added:
method AxiosHeaders.getAuthorization(matcher?: AxiosHeaderMatcher): AxiosHeaderValue - added:
method AxiosHeaders.getAuthorization(parser?: RegExp): RegExpExecArray | null - added:
method AxiosHeaders.getContentEncoding(matcher?: AxiosHeaderMatcher): AxiosHeaderValue - added:
method AxiosHeaders.getContentEncoding(parser?: RegExp): RegExpExecArray | null - added:
method AxiosHeaders.getContentLength(matcher?: AxiosHeaderMatcher): AxiosHeaderValue - added:
method AxiosHeaders.getContentLength(parser?: RegExp): RegExpExecArray | null - added:
method AxiosHeaders.getContentType(matcher?: AxiosHeaderMatcher): AxiosHeaderValue - added:
method AxiosHeaders.getContentType(parser?: RegExp): RegExpExecArray | null - added:
method AxiosHeaders.getSetCookie(): string[] - added:
method AxiosHeaders.getUserAgent(matcher?: AxiosHeaderMatcher): AxiosHeaderValue - added:
method AxiosHeaders.getUserAgent(parser?: RegExp): RegExpExecArray | null - added:
method AxiosHeaders.has(header: string, matcher?: AxiosHeaderMatcher): boolean - added:
method AxiosHeaders.hasAccept(matcher?: AxiosHeaderMatcher): boolean - added:
method AxiosHeaders.hasAuthorization(matcher?: AxiosHeaderMatcher): boolean - added:
method AxiosHeaders.hasContentEncoding(matcher?: AxiosHeaderMatcher): boolean - added:
method AxiosHeaders.hasContentLength(matcher?: AxiosHeaderMatcher): boolean - added:
method AxiosHeaders.hasContentType(matcher?: AxiosHeaderMatcher): boolean - added:
method AxiosHeaders.hasUserAgent(matcher?: AxiosHeaderMatcher): boolean - added:
method AxiosHeaders.normalize(format: boolean): AxiosHeaders - added:
method AxiosHeaders.set(headerName?: string, value?: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders - added:
method AxiosHeaders.set(headers?: Iterable<[string, AxiosHeaderValue]>, rewrite?: boolean): AxiosHeaders - added:
method AxiosHeaders.set(headers?: RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean): AxiosHeaders - added:
method AxiosHeaders.setAccept(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders - added:
method AxiosHeaders.setAuthorization(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders - added:
method AxiosHeaders.setContentEncoding(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders - added:
method AxiosHeaders.setContentLength(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders - added:
method AxiosHeaders.setContentType(value: ContentType, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders - added:
method AxiosHeaders.setUserAgent(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders - added:
method AxiosHeaders.toJSON(asStrings: true): Record<string, string> - added:
method AxiosHeaders.toJSON(asStrings?: boolean): Record<string, string | string[]> - added:
method AxiosHeaders.toJSON(asStrings?: false): Record<string, string | string[]> - added:
method AxiosHeaders.toString(): string - added:
method AxiosHeaders[Symbol.iterator](): IterableIterator<[string, AxiosHeaderValue]> - added:
method AxiosInstance.create(config?: CreateAxiosDefaults): AxiosInstance - added:
method AxiosInterceptorManager.clear(): void - added:
method CancelToken.subscribe(listener: (cancel: Cancel | any) => void): void - added:
method CancelToken.toAbortSignal(): AbortSignal - added:
method CancelToken.unsubscribe(listener: (cancel: Cancel | any) => void): void - added:
method axios.AxiosInstance.create(config?: CreateAxiosDefaults): AxiosInstance - added:
method axios.AxiosInterceptorManager.clear(): void - added:
method axios.AxiosInterceptorManager.eject(id: number): void - added:
method axios.AxiosStatic.all<T>(values: Array<T | Promise<T>>): Promise<T[]> - added:
method axios.AxiosStatic.formToJSON(form: GenericFormData | GenericHTMLFormElement): object - added:
method axios.AxiosStatic.getAdapter(adapters: AxiosAdapterConfig | AxiosAdapterConfig[] | undefined, config?: AxiosRequestConfig): AxiosAdapter - added:
method axios.AxiosStatic.isAxiosError<T = any, D = any, P = any>(payload: any): payload is AxiosError<T, D, P> - added:
method axios.AxiosStatic.isCancel<T = any, D = any, P = any>(value: any): value is CanceledError<T, D, P> - added:
method axios.AxiosStatic.mergeConfig<D = any, P = any>(config1: AxiosRequestConfig<D, P>, config2: AxiosRequestConfig<D, P>): AxiosRequestConfig<D, P> - added:
method axios.AxiosStatic.spread<T, R>(callback: (...args: T[]) => R): (array: T[]) => R - added:
method axios.AxiosStatic.toFormData(sourceObj: object, targetFormData?: GenericFormData, options?: FormSerializerOptions): GenericFormData - added:
method axios.CancelToken.subscribe(listener: (cancel: Cancel | any) => void): void - added:
method axios.CancelToken.throwIfRequested(): void - added:
method axios.CancelToken.toAbortSignal(): AbortSignal - added:
method axios.CancelToken.unsubscribe(listener: (cancel: Cancel | any) => void): void - added:
method axios.CancelTokenStatic.source(): CancelTokenSource - added:
method axios.GenericFormData.append(name: string, value: any, options?: any): any - added:
method axios.GenericHTMLFormElement.submit(): void - added:
namespace axios - added:
new axios.CancelStatic(message?: string): Cancel - added:
new axios.CancelTokenStatic(executor: (cancel: Canceler) => void): CancelToken - added:
property AxiosError.event?: BrowserProgressEvent - added:
property AxiosInterceptorManager.handlers?: Array<AxiosInterceptorHandler<V>> - added:
property AxiosInterceptorManager.use: V extends AxiosResponse ? AxiosResponseInterceptorUse<V> : AxiosRequestInterceptorUse<V> - added:
property AxiosProgressEvent.bytes: number - added:
property AxiosProgressEvent.download?: boolean - added:
property AxiosProgressEvent.estimated?: number - added:
property AxiosProgressEvent.event?: BrowserProgressEvent - added:
property AxiosProgressEvent.lengthComputable: boolean - added:
property AxiosProgressEvent.loaded: number - added:
property AxiosProgressEvent.progress?: number - added:
property AxiosProgressEvent.rate?: number - added:
property AxiosProgressEvent.total?: number - added:
property AxiosProgressEvent.upload?: boolean - added:
property AxiosRequestConfig.family?: AddressFamily - added:
property AxiosRequestConfig.fetchOptions?: Omit<RequestInit, 'body' | 'headers' | 'method' | 'signal'> | Record<string, any> - added:
property AxiosRequestConfig.http2Options?: Record<string, any> & { sessionTimeout?: number } - added:
property AxiosRequestConfig.httpVersion?: 1 | 2 - added:
property AxiosRequestConfig.lookup?: | ((hostname: string, options: object, cb: (err: Error | null, address: LookupAddress | LookupAddress[], family?: AddressFamily) => void) => void) | ((hostname: string, options: object) => Promise<[address: LookupAddressEntry | LookupAddressEntry[], family?: AddressFamily] | LookupAddress>) - added:
property AxiosRequestConfig.maxRate?: number | [MaxUploadRate, MaxDownloadRate] - added:
property AxiosRequestConfig.parseReviver?: (this: any, key: string, value: any, context?: { source?: string }) => any - added:
property AxiosRequestConfig.sensitiveHeaders?: string[] - added:
property AxiosRequestConfig.transport?: any - added:
property AxiosResponse.duration?: number - added:
property AxiosStatic.AxiosHeaders: typeof AxiosHeaders - added:
property AxiosStatic.CanceledError: typeof CanceledError - added:
property AxiosStatic.HttpStatusCode: typeof HttpStatusCode - added:
property AxiosStatic.all: typeof all - added:
property AxiosStatic.formToJSON: typeof formToJSON - added:
property AxiosStatic.getAdapter: typeof getAdapter - added:
property AxiosStatic.isAxiosError: typeof isAxiosError - added:
property AxiosStatic.isCancel: typeof isCancel - added:
property AxiosStatic.mergeConfig: typeof mergeConfig - added:
property AxiosStatic.spread: typeof spread - added:
property AxiosStatic.toFormData: typeof toFormData - added:
property CanceledError.__CANCEL__?: boolean - added:
property HeadersDefaults.query?: RawAxiosRequestHeaders - added:
property InternalAxiosRequestConfig.headers: AxiosRequestHeaders - added:
property LookupAddressEntry.address: string - added:
property LookupAddressEntry.family?: AddressFamily - added:
property SerializerOptions.Blob?: { new (...args: any[]): any } - added:
property SerializerOptions.maxDepth?: number - added:
property TransitionalOptions.advertiseZstdAcceptEncoding?: boolean - added:
property TransitionalOptions.encodeBasicAuthUsername?: boolean - added:
property TransitionalOptions.legacyInterceptorReqResOrdering?: boolean - added:
property TransitionalOptions.validateStatusUndefinedResolves?: boolean - added:
property axios.AxiosBasicCredentials.password: string - added:
property axios.AxiosBasicCredentials.username: string - added:
property axios.AxiosDefaults.headers: HeadersDefaults - added:
property axios.AxiosInstance.defaults: Omit<AxiosDefaults, 'headers'> & { headers: HeadersDefaults & { [key: string]: AxiosHeaderValue } } - added:
property axios.AxiosInterceptorHandler.fulfilled: AxiosInterceptorFulfilled<T> - added:
property axios.AxiosInterceptorHandler.rejected?: AxiosInterceptorRejected - added:
property axios.AxiosInterceptorHandler.runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null - added:
property axios.AxiosInterceptorHandler.synchronous: boolean - added:
property axios.AxiosInterceptorManager.handlers?: Array<AxiosInterceptorHandler<V>> - added:
property axios.AxiosInterceptorManager.use: V extends AxiosResponse ? AxiosResponseInterceptorUse<V> : AxiosRequestInterceptorUse<V> - added:
property axios.AxiosInterceptorOptions.runWhen?: ((config: InternalAxiosRequestConfig) => boolean) | null - added:
property axios.AxiosInterceptorOptions.synchronous?: boolean - added:
property axios.AxiosProgressEvent.bytes: number - added:
property axios.AxiosProgressEvent.download?: boolean - added:
property axios.AxiosProgressEvent.estimated?: number - added:
property axios.AxiosProgressEvent.event?: BrowserProgressEvent - added:
property axios.AxiosProgressEvent.lengthComputable: boolean - added:
property axios.AxiosProgressEvent.loaded: number - added:
property axios.AxiosProgressEvent.progress?: number - added:
property axios.AxiosProgressEvent.rate?: number - added:
property axios.AxiosProgressEvent.total?: number - added:
property axios.AxiosProgressEvent.upload?: boolean - added:
property axios.AxiosProxyConfig.auth?: AxiosBasicCredentials - added:
property axios.AxiosProxyConfig.host: string - added:
property axios.AxiosProxyConfig.port: number - added:
property axios.AxiosProxyConfig.protocol?: string - added:
property axios.AxiosRequestConfig.adapter?: AxiosAdapterConfig | AxiosAdapterConfig[] - added:
property axios.AxiosRequestConfig.allowAbsoluteUrls?: boolean - added:
property axios.AxiosRequestConfig.allowedSocketPaths?: string | string[] | null - added:
property axios.AxiosRequestConfig.auth?: AxiosBasicCredentials - added:
property axios.AxiosRequestConfig.baseURL?: string - added:
property axios.AxiosRequestConfig.beforeRedirect?: (options: Record<string, any>, responseDetails: { headers: Record<string, string>; statusCode: HttpStatusCode }, requestDetails: { headers: Record<string, string>; url: string; method: string }) => void - added:
property axios.AxiosRequestConfig.cancelToken?: CancelToken | undefined - added:
property axios.AxiosRequestConfig.data?: D - added:
property axios.AxiosRequestConfig.decompress?: boolean - added:
property axios.AxiosRequestConfig.env?: { FormData?: new (...args: any[]) => object; fetch?: (input: URL | Request | string, init?: RequestInit) => Promise<Response>; Request?: new (input: URL | Request | string, init?: RequestInit) => Request; Response?: new (body?: ArrayBuffer | ArrayBufferView | Blob | FormData | URLSearchParams | string | null, init?: ResponseInit) => Response } - added:
property axios.AxiosRequestConfig.family?: AddressFamily - added:
property axios.AxiosRequestConfig.fetchOptions?: | Omit<RequestInit, 'body' | 'headers' | 'method' | 'signal'> | Record<string, any> - added:
property axios.AxiosRequestConfig.formDataHeaderPolicy?: 'legacy' | 'content-only' - added:
property axios.AxiosRequestConfig.formSerializer?: FormSerializerOptions - added:
property axios.AxiosRequestConfig.headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders - added:
property axios.AxiosRequestConfig.http2Options?: Record<string, any> & { sessionTimeout?: number } - added:
property axios.AxiosRequestConfig.httpAgent?: any - added:
property axios.AxiosRequestConfig.httpVersion?: 1 | 2 - added:
property axios.AxiosRequestConfig.httpsAgent?: any - added:
property axios.AxiosRequestConfig.insecureHTTPParser?: boolean - added:
property axios.AxiosRequestConfig.lookup?: | ((hostname: string, options: object, cb: (err: Error | null, address: LookupAddress | LookupAddress[], family?: AddressFamily) => void) => void) | ((hostname: string, options: object) => Promise<| [address: LookupAddressEntry | LookupAddressEntry[], family?: AddressFamily] | LookupAddress>) - added:
property axios.AxiosRequestConfig.maxBodyLength?: number - added:
property axios.AxiosRequestConfig.maxContentLength?: number - added:
property axios.AxiosRequestConfig.maxRate?: number | [MaxUploadRate, MaxDownloadRate] - added:
property axios.AxiosRequestConfig.maxRedirects?: number - added:
property axios.AxiosRequestConfig.method?: Method | string - added:
property axios.AxiosRequestConfig.onDownloadProgress?: (progressEvent: AxiosProgressEvent) => void - added:
property axios.AxiosRequestConfig.onUploadProgress?: (progressEvent: AxiosProgressEvent) => void - added:
property axios.AxiosRequestConfig.params?: P - added:
property axios.AxiosRequestConfig.paramsSerializer?: | ParamsSerializerOptions<unknown extends P ? Record<string, any> : P> | CustomParamsSerializer<unknown extends P ? Record<string, any> : P> - added:
property axios.AxiosRequestConfig.parseReviver?: (this: any, key: string, value: any, context?: { source?: string }) => any - added:
property axios.AxiosRequestConfig.proxy?: AxiosProxyConfig | false - added:
property axios.AxiosRequestConfig.redact?: string[] - added:
property axios.AxiosRequestConfig.responseEncoding?: responseEncoding | string - added:
property axios.AxiosRequestConfig.responseType?: ResponseType - added:
property axios.AxiosRequestConfig.sensitiveHeaders?: string[] - added:
property axios.AxiosRequestConfig.signal?: GenericAbortSignal - added:
property axios.AxiosRequestConfig.socketPath?: string | null - added:
property axios.AxiosRequestConfig.timeout?: Milliseconds - added:
property axios.AxiosRequestConfig.timeoutErrorMessage?: string - added:
property axios.AxiosRequestConfig.transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[] - added:
property axios.AxiosRequestConfig.transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[] - added:
property axios.AxiosRequestConfig.transitional?: TransitionalOptions - added:
property axios.AxiosRequestConfig.transport?: any - added:
property axios.AxiosRequestConfig.url?: string - added:
property axios.AxiosRequestConfig.validateStatus?: ((status: number) => boolean) | null - added:
property axios.AxiosRequestConfig.withCredentials?: boolean - added:
property axios.AxiosRequestConfig.withXSRFToken?: boolean | ((config: InternalAxiosRequestConfig<D, P>) => boolean | undefined) - added:
property axios.AxiosRequestConfig.xsrfCookieName?: string - added:
property axios.AxiosRequestConfig.xsrfHeaderName?: string - added:
property axios.AxiosResponse.config: InternalAxiosRequestConfig<D, P> - added:
property axios.AxiosResponse.data: T - added:
property axios.AxiosResponse.duration?: number - added:
property axios.AxiosResponse.headers: (H & RawAxiosResponseHeaders) | AxiosResponseHeaders - added:
property axios.AxiosResponse.request?: any - added:
property axios.AxiosResponse.status: number - added:
property axios.AxiosResponse.statusText: string - added:
property axios.AxiosStatic.Axios: typeof Axios - added:
property axios.AxiosStatic.AxiosError: typeof AxiosError - added:
property axios.AxiosStatic.AxiosHeaders: typeof AxiosHeaders - added:
property axios.AxiosStatic.Cancel: typeof CanceledError - added:
property axios.AxiosStatic.CancelToken: CancelTokenStatic - added:
property axios.AxiosStatic.CanceledError: typeof CanceledError - added:
property axios.AxiosStatic.HttpStatusCode: typeof HttpStatusCode - added:
property axios.Cancel.message: string | undefined - added:
property axios.CancelToken.promise: Promise<Cancel> - added:
property axios.CancelToken.reason?: Cancel - added:
property axios.CancelTokenSource.cancel: Canceler - added:
property axios.CancelTokenSource.token: CancelToken - added:
property axios.CreateAxiosDefaults.headers?: RawAxiosRequestHeaders | AxiosHeaders | Partial<HeadersDefaults> - added:
property axios.FormDataVisitorHelpers.convertValue: (value: any) => any - added:
property axios.FormDataVisitorHelpers.defaultVisitor: SerializerVisitor - added:
property axios.FormDataVisitorHelpers.isVisitable: (value: any) => boolean - added:
property axios.GenericAbortSignal.addEventListener?: (...args: any) => any - added:
property axios.GenericAbortSignal.onabort?: ((...args: any) => any) | null - added:
property axios.GenericAbortSignal.removeEventListener?: (...args: any) => any - added:
property axios.GenericHTMLFormElement.method: string - added:
property axios.GenericHTMLFormElement.name: string - added:
property axios.HeadersDefaults.common: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.delete: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.get: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.head: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.link?: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.options?: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.patch: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.post: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.purge?: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.put: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.query?: RawAxiosRequestHeaders - added:
property axios.HeadersDefaults.unlink?: RawAxiosRequestHeaders - added:
property axios.InternalAxiosRequestConfig.headers: AxiosRequestHeaders - added:
property axios.LookupAddressEntry.address: string - added:
property axios.LookupAddressEntry.family?: AddressFamily - added:
property axios.ParamsSerializerOptions.encode?: ParamEncoder - added:
property axios.ParamsSerializerOptions.serialize?: CustomParamsSerializer<P> - added:
property axios.SerializerOptions.Blob?: { new (...args: any[]): any } - added:
property axios.SerializerOptions.dots?: boolean - added:
property axios.SerializerOptions.indexes?: boolean | null - added:
property axios.SerializerOptions.maxDepth?: number - added:
property axios.SerializerOptions.metaTokens?: boolean - added:
property axios.SerializerOptions.visitor?: SerializerVisitor - added:
property axios.TransitionalOptions.advertiseZstdAcceptEncoding?: boolean - added:
property axios.TransitionalOptions.clarifyTimeoutError?: boolean - added:
property axios.TransitionalOptions.encodeBasicAuthUsername?: boolean - added:
property axios.TransitionalOptions.forcedJSONParsing?: boolean - added:
property axios.TransitionalOptions.legacyInterceptorReqResOrdering?: boolean - added:
property axios.TransitionalOptions.silentJSONParsing?: boolean - added:
property axios.TransitionalOptions.validateStatusUndefinedResolves?: boolean - added:
readonly property AxiosResponseDefault[axiosResponseDefault]: true - added:
readonly property CanceledError.name: 'CanceledError' - added:
readonly property axios.AxiosResponseDefault[axiosResponseDefault]: true - added:
readonly property axios.AxiosStatic.VERSION: string - added:
readonly property axios.GenericAbortSignal.aborted: boolean - added:
static method AxiosError.from<T = unknown, D = any, P = any>(error: Error | unknown, code?: string, config?: InternalAxiosRequestConfig<D, P>, request?: any, response?: AxiosResponse<T, D, {}, P>, customProps?: object): AxiosError<T, D, P> - added:
static method AxiosHeaders.accessor(header: string | string[]): AxiosHeaders - added:
static method AxiosHeaders.concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders - added:
static method AxiosHeaders.from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders - added:
static method AxiosHeaders.parseParameters(value: AxiosHeaderValue): AxiosHeaderParameters - added:
static readonly property AxiosError.ECONNREFUSED = 'ECONNREFUSED' - added:
type AddressFamily = 4 | 6 | undefined - added:
type AxiosHeaderParameters = Record<string, string> - added:
type AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null - added:
type LookupAddress = string | LookupAddressEntry - added:
type RawAxiosRequestConfig<D = any, P = any> = AxiosRequestConfig<D, P> - added:
type RawAxiosRequestHeaders = Partial<RawAxiosHeaders & { [Key in CommonRequestHeadersList]: AxiosHeaderValue } & { 'Content-Type': ContentType }> - added:
type RawAxiosResponseHeaders = Partial<RawAxiosHeaders & RawCommonResponseHeaders> - added:
type axios.AddressFamily = 4 | 6 | undefined - added:
type axios.AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName - added:
type axios.AxiosAdapterName = 'fetch' | 'xhr' | 'http' | (string & {}) - added:
type axios.AxiosError<T = unknown, D = any, P = any> = InternalAxiosError<T, D, P> - added:
type axios.AxiosHeaderParameters = Record<string, string> - added:
type axios.AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null - added:
type axios.AxiosInterceptorFulfilled<T> = (value: T) => T | Promise<T> - added:
type axios.AxiosInterceptorRejected = (error: any) => any - added:
type axios.AxiosPromise<T = any, D = any, P = any> = Promise<AxiosResponse<T, D, {}, P>> - added:
type axios.AxiosRequestHeaders = RawAxiosRequestHeaders & AxiosHeaders - added:
type axios.AxiosRequestInterceptorUse<T> = (onFulfilled?: AxiosInterceptorFulfilled<T> | null, onRejected?: AxiosInterceptorRejected | null, options?: AxiosInterceptorOptions) => number - added:
type axios.AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders - added:
type axios.AxiosResponseInterceptorUse<T> = (onFulfilled?: AxiosInterceptorFulfilled<T> | null, onRejected?: AxiosInterceptorRejected | null) => number - added:
type axios.LookupAddress = string | LookupAddressEntry - added:
type axios.MaxDownloadRate = number - added:
type axios.MaxUploadRate = number - added:
type axios.Method = (UppercaseMethod | Lowercase<UppercaseMethod>) & {} - added:
type axios.Milliseconds = number - added:
type axios.RawAxiosRequestConfig<D = any, P = any> = AxiosRequestConfig<D, P> - added:
type axios.RawAxiosRequestHeaders = Partial<RawAxiosHeaders & { [Key in CommonRequestHeadersList]: AxiosHeaderValue } & { 'Content-Type': ContentType }> - added:
type axios.RawAxiosResponseHeaders = Partial<RawAxiosHeaders & RawCommonResponseHeaders> - added:
type axios.RawCommonResponseHeaders = { [Key in CommonResponseHeaderKey]: AxiosHeaderValue } & { 'set-cookie': string[] } - added:
type axios.ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata' - added:
type axios.UppercaseMethod = 'GET' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT' | 'PATCH' | 'PURGE' | 'LINK' | 'UNLINK' | 'QUERY' - added:
type axios.UppercaseResponseEncoding = 'ASCII' | 'ANSI' | 'BINARY' | 'BASE64' | 'BASE64URL' | 'HEX' | 'LATIN1' | 'UCS-2' | 'UCS2' | 'UTF-8' | 'UTF8' | 'UTF16LE' - added:
type axios.responseEncoding = (UppercaseResponseEncoding | Lowercase<UppercaseResponseEncoding>) & {}