...**/!(*.map|*.min.js)Size
Gzip
Dependencies
Publish
Install
Publish
Install
@@ -1,4 +1,4 @@ | ||
| 1 | /*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */ | |
| 1 | /*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */ | |
| 2 | 2 | 'use strict'; |
| 3 | 3 | |
| 4 | 4 | function bind(fn, thisArg) { |
@@ -964,6 +964,10 @@ | ||
| 964 | 964 | return value.toISOString(); |
| 965 | 965 | } |
| 966 | 966 | |
| 967 | if (utils$1.isBoolean(value)) { | |
| 968 | return value.toString(); | |
| 969 | } | |
| 970 | ||
| 967 | 971 | if (!useBlob && utils$1.isBlob(value)) { |
| 968 | 972 | throw new AxiosError('Blob is not supported. Use a Buffer instead.'); |
| 969 | 973 | } |
@@ -2880,7 +2884,7 @@ | ||
| 2880 | 2884 | credentials: isCredentialsSupported ? withCredentials : undefined |
| 2881 | 2885 | }); |
| 2882 | 2886 | |
| 2883 | let response = await fetch(request); | |
| 2887 | let response = await fetch(request, fetchOptions); | |
| 2884 | 2888 | |
| 2885 | 2889 | const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); |
| 2886 | 2890 | |
@@ -3086,7 +3090,7 @@ | ||
| 3086 | 3090 | }); |
| 3087 | 3091 | } |
| 3088 | 3092 | |
| 3089 | const VERSION = "1.9.0"; | |
| 3093 | const VERSION = "1.10.0"; | |
| 3090 | 3094 | |
| 3091 | 3095 | const validators$1 = {}; |
| 3092 | 3096 | |
@@ -1,4 +1,4 @@ | ||
| 1 | /*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */ | |
| 1 | /*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */ | |
| 2 | 2 | 'use strict'; |
| 3 | 3 | |
| 4 | 4 | const FormData$1 = require('form-data'); |
@@ -986,6 +986,10 @@ | ||
| 986 | 986 | return value.toISOString(); |
| 987 | 987 | } |
| 988 | 988 | |
| 989 | if (utils$1.isBoolean(value)) { | |
| 990 | return value.toString(); | |
| 991 | } | |
| 992 | ||
| 989 | 993 | if (!useBlob && utils$1.isBlob(value)) { |
| 990 | 994 | throw new AxiosError('Blob is not supported. Use a Buffer instead.'); |
| 991 | 995 | } |
@@ -2102,7 +2106,7 @@ | ||
| 2102 | 2106 | return requestedURL; |
| 2103 | 2107 | } |
| 2104 | 2108 | |
| 2105 | const VERSION = "1.9.0"; | |
| 2109 | const VERSION = "1.10.0"; | |
| 2106 | 2110 | |
| 2107 | 2111 | function parseProtocol(url) { |
| 2108 | 2112 | const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url); |
@@ -3939,7 +3943,7 @@ | ||
| 3939 | 3943 | credentials: isCredentialsSupported ? withCredentials : undefined |
| 3940 | 3944 | }); |
| 3941 | 3945 | |
| 3942 | let response = await fetch(request); | |
| 3946 | let response = await fetch(request, fetchOptions); | |
| 3943 | 3947 | |
| 3944 | 3948 | const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); |
| 3945 | 3949 | |
@@ -418,7 +418,7 @@ | ||
| 418 | 418 | lookup?: ((hostname: string, options: object, cb: (err: Error | null, address: LookupAddress | LookupAddress[], family?: AddressFamily) => void) => void) | |
| 419 | 419 | ((hostname: string, options: object) => Promise<[address: LookupAddressEntry | LookupAddressEntry[], family?: AddressFamily] | LookupAddress>); |
| 420 | 420 | withXSRFToken?: boolean | ((config: InternalAxiosRequestConfig) => boolean | undefined); |
| 421 | fetchOptions?: Record<string, any>; | |
| 421 | fetchOptions?: Omit<RequestInit, 'body' | 'headers' | 'method' | 'signal'> | Record<string, any>; | |
| 422 | 422 | } |
| 423 | 423 | |
| 424 | 424 | // Alias |
@@ -1,4 +1,4 @@ | ||
| 1 | /*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */ | |
| 1 | /*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */ | |
| 2 | 2 | (function (global, factory) { |
| 3 | 3 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
| 4 | 4 | typeof define === 'function' && define.amd ? define(factory) : |
@@ -1586,6 +1586,9 @@ | ||
| 1586 | 1586 | if (utils$1.isDate(value)) { |
| 1587 | 1587 | return value.toISOString(); |
| 1588 | 1588 | } |
| 1589 | if (utils$1.isBoolean(value)) { | |
| 1590 | return value.toString(); | |
| 1591 | } | |
| 1589 | 1592 | if (!useBlob && utils$1.isBlob(value)) { |
| 1590 | 1593 | throw new AxiosError('Blob is not supported. Use a Buffer instead.'); |
| 1591 | 1594 | } |
@@ -3498,7 +3501,7 @@ | ||
| 3498 | 3501 | credentials: isCredentialsSupported ? withCredentials : undefined |
| 3499 | 3502 | })); |
| 3500 | 3503 | _context4.next = 20; |
| 3501 | return fetch(request); | |
| 3504 | return fetch(request, fetchOptions); | |
| 3502 | 3505 | case 20: |
| 3503 | 3506 | response = _context4.sent; |
| 3504 | 3507 | isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); |
@@ -3674,7 +3677,7 @@ | ||
| 3674 | 3677 | }); |
| 3675 | 3678 | } |
| 3676 | 3679 | |
| 3677 | var VERSION = "1.9.0"; | |
| 3680 | var VERSION = "1.10.0"; | |
| 3678 | 3681 | |
| 3679 | 3682 | var validators$1 = {}; |
| 3680 | 3683 | |
@@ -1,4 +1,4 @@ | ||
| 1 | /*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */ | |
| 1 | /*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */ | |
| 2 | 2 | function bind(fn, thisArg) { |
| 3 | 3 | return function wrap() { |
| 4 | 4 | return fn.apply(thisArg, arguments); |
@@ -962,6 +962,10 @@ | ||
| 962 | 962 | return value.toISOString(); |
| 963 | 963 | } |
| 964 | 964 | |
| 965 | if (utils$1.isBoolean(value)) { | |
| 966 | return value.toString(); | |
| 967 | } | |
| 968 | ||
| 965 | 969 | if (!useBlob && utils$1.isBlob(value)) { |
| 966 | 970 | throw new AxiosError$1('Blob is not supported. Use a Buffer instead.'); |
| 967 | 971 | } |
@@ -2878,7 +2882,7 @@ | ||
| 2878 | 2882 | credentials: isCredentialsSupported ? withCredentials : undefined |
| 2879 | 2883 | }); |
| 2880 | 2884 | |
| 2881 | let response = await fetch(request); | |
| 2885 | let response = await fetch(request, fetchOptions); | |
| 2882 | 2886 | |
| 2883 | 2887 | const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); |
| 2884 | 2888 | |
@@ -3084,7 +3088,7 @@ | ||
| 3084 | 3088 | }); |
| 3085 | 3089 | } |
| 3086 | 3090 | |
| 3087 | const VERSION$1 = "1.9.0"; | |
| 3091 | const VERSION$1 = "1.10.0"; | |
| 3088 | 3092 | |
| 3089 | 3093 | const validators$1 = {}; |
| 3090 | 3094 | |
@@ -167,7 +167,7 @@ | ||
| 167 | 167 | credentials: isCredentialsSupported ? withCredentials : undefined |
| 168 | 168 | }); |
| 169 | 169 | |
| 170 | let response = await fetch(request); | |
| 170 | let response = await fetch(request, fetchOptions); | |
| 171 | 171 | |
| 172 | 172 | const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response'); |
| 173 | 173 | |
@@ -1,6 +1,6 @@ | ||
| 1 | 1 | { |
| 2 | 2 | "name": "axios", |
| 3 | "version": "1.9.0", | |
| 3 | "version": "1.10.0", | |
| 4 | 4 | "description": "Promise based HTTP client for the browser and node.js", |
| 5 | 5 | "main": "index.js", |
| 6 | 6 | "exports": { |
@@ -9,6 +9,10 @@ | ||
| 9 | 9 | "require": "./index.d.cts", |
| 10 | 10 | "default": "./index.d.ts" |
| 11 | 11 | }, |
| 12 | "react-native": { | |
| 13 | "require": "./dist/browser/axios.cjs", | |
| 14 | "default": "./dist/esm/axios.js" | |
| 15 | }, | |
| 12 | 16 | "browser": { |
| 13 | 17 | "require": "./dist/browser/axios.cjs", |
| 14 | 18 | "default": "./index.js" |
@@ -143,6 +147,11 @@ | ||
| 143 | 147 | "./lib/platform/node/index.js": "./lib/platform/browser/index.js", |
| 144 | 148 | "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js" |
| 145 | 149 | }, |
| 150 | "react-native": { | |
| 151 | "./lib/adapters/http.js": "./lib/helpers/null.js", | |
| 152 | "./lib/platform/node/index.js": "./lib/platform/browser/index.js", | |
| 153 | "./lib/platform/node/classes/FormData.js": "./lib/helpers/null.js" | |
| 154 | }, | |
| 146 | 155 | "jsdelivr": "dist/axios.min.js", |
| 147 | 156 | "unpkg": "dist/axios.min.js", |
| 148 | 157 | "typings": "./index.d.ts", |
@@ -1,5 +1,29 @@ | ||
| 1 | 1 | # Changelog |
| 2 | 2 | |
| 3 | # [1.10.0](https://github.com/axios/axios/compare/v1.9.0...v1.10.0) (2025-06-14) | |
| 4 | ||
| 5 | ||
| 6 | ### Bug Fixes | |
| 7 | ||
| 8 | * **adapter:** pass fetchOptions to fetch function ([#6883](https://github.com/axios/axios/issues/6883)) ([0f50af8](https://github.com/axios/axios/commit/0f50af8e076b7fb403844789bd5e812dedcaf4ed)) | |
| 9 | * **form-data:** convert boolean values to strings in FormData serialization ([#6917](https://github.com/axios/axios/issues/6917)) ([5064b10](https://github.com/axios/axios/commit/5064b108de336ff34862650709761b8a96d26be0)) | |
| 10 | * **package:** add module entry point for React Native; ([#6933](https://github.com/axios/axios/issues/6933)) ([3d343b8](https://github.com/axios/axios/commit/3d343b86dc4fd0eea0987059c5af04327c7ae304)) | |
| 11 | ||
| 12 | ||
| 13 | ### Features | |
| 14 | ||
| 15 | * **types:** improved fetchOptions interface ([#6867](https://github.com/axios/axios/issues/6867)) ([63f1fce](https://github.com/axios/axios/commit/63f1fce233009f5db1abf2586c145825ac98c3d7)) | |
| 16 | ||
| 17 | ### Contributors to this release | |
| 18 | ||
| 19 | - <img src="https://avatars.githubusercontent.com/u/12586868?v=4&s=18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+30/-19 (#6933 #6920 #6893 #6892 )") | |
| 20 | - <img src="https://avatars.githubusercontent.com/u/189505037?v=4&s=18" alt="avatar" width="18"/> [Noritaka Kobayashi](https://github.com/noritaka1166 "+2/-6 (#6922 #6923 )") | |
| 21 | - <img src="https://avatars.githubusercontent.com/u/48370490?v=4&s=18" alt="avatar" width="18"/> [Dimitrios Lazanas](https://github.com/dimitry-lzs "+4/-0 (#6917 )") | |
| 22 | - <img src="https://avatars.githubusercontent.com/u/71047946?v=4&s=18" alt="avatar" width="18"/> [Adrian Knapp](https://github.com/AdrianKnapp "+2/-2 (#6867 )") | |
| 23 | - <img src="https://avatars.githubusercontent.com/u/16129206?v=4&s=18" alt="avatar" width="18"/> [Howie Zhao](https://github.com/howiezhao "+3/-1 (#6872 )") | |
| 24 | - <img src="https://avatars.githubusercontent.com/u/6788611?v=4&s=18" alt="avatar" width="18"/> [Uhyeon Park](https://github.com/warpdev "+1/-1 (#6883 )") | |
| 25 | - <img src="https://avatars.githubusercontent.com/u/20028934?v=4&s=18" alt="avatar" width="18"/> [Sampo Silvennoinen](https://github.com/stscoundrel "+1/-1 (#6913 )") | |
| 26 | ||
| 3 | 27 | # [1.9.0](https://github.com/axios/axios/compare/v1.8.4...v1.9.0) (2025-04-24) |
| 4 | 28 | |
| 5 | 29 | |
@@ -6,9 +6,9 @@ | ||
| 6 | 6 | </td><td align="center" width="33.333333333333336%"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buzzoid-buy-instagram-followers.png" alt="Buzzoid - Buy Instagram Followers"/> </a> <p align="center" title="At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rated world's #1 IG service since 2012.">At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rate...</p> <p align="center"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>buzzoid.com</b></a> </p> |
| 7 | 7 | </td><td align="center" width="33.333333333333336%"> <a href="https://www.famety.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/famety-buy-instagram-followers.png" alt="Famety - Buy Instagram Followers"/> </a> <p align="center" title="At Famety, you can grow your social media following quickly, safely, and easily with just a few clicks. Rated the world’s #1 social media service since 2013.">At Famety, you can grow your social media following quickly, safely, and easily with just a few clic...</p> <p align="center"> <a href="https://www.famety.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>www.famety.com</b></a> </p> |
| 8 | 8 | </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://poprey.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/instagram-likes.png" alt="Poprey - Buy Instagram Likes"/> </a> <p align="center" title="Buy Instagram Likes">Buy Instagram Likes</p> <p align="center"> <a href="https://poprey.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>poprey.com</b></a> </p> |
| 9 | </td><td align="center" width="33.333333333333336%"> <a href="https://betking.com.ua/sports-book/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/bukmeker.jpeg" alt="Букмекер"/> </a> <p align="center" title="Ставки на спорт, БК в Україні">Ставки на спорт, БК в Україні</p> <p align="center"> <a href="https://betking.com.ua/sports-book/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>betking.com.ua</b></a> </p> | |
| 10 | 9 | </td><td align="center" width="33.333333333333336%"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/youtube-subscribers-ssmarket.png" alt="Buy Youtube Subscribers"/> </a> <p align="center" title="SS Market offers professional social media services that rapidly increase your YouTube subscriber count, elevating your channel to a powerful position.">SS Market offers professional social media services that rapidly increase your YouTube subscriber co...</p> <p align="center"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>ssmarket.net</b></a> </p> |
| 11 | </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a> | |
| 10 | </td><td align="center" width="33.333333333333336%"> <a href="https://www.reddit.com/r/TikTokExpert/comments/1kamfi7/where_can_i_buy_youtube_views_likes_subscribers/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buy-youtube-views-likes-reddit.png" alt="Buy YouTube Views & Subscribers"/> </a> <p align="center" title="Recommend trusted and best sites to buy YouTube subscribers, likes and views">Recommend trusted and best sites to buy YouTube subscribers, likes and views</p> <p align="center"> <a href="https://www.reddit.com/r/TikTokExpert/comments/1kamfi7/where_can_i_buy_youtube_views_likes_subscribers/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>www.reddit.com</b></a> </p> | |
| 11 | </td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://smmpanelserver.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="200px" height="56px" src="https://axios-http.com/assets/sponsors/opencollective/smmpanelserver123.png" alt="smmpanelserver"/> </a> <p align="center" title="smmpanelserver - Best and Cheapest Smm Panel">smmpanelserver - Best and Cheapest Smm Panel</p> <p align="center"> <a href="https://smmpanelserver.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>smmpanelserver.com</b></a> </p> | |
| 12 | 12 | </td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a> |
| 13 | 13 | </td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a> |
| 14 | 14 | </td></tr></table> |
@@ -551,7 +551,9 @@ | ||
| 551 | 551 | |
| 552 | 552 | // `httpAgent` and `httpsAgent` define a custom agent to be used when performing http |
| 553 | 553 | // and https requests, respectively, in node.js. This allows options to be added like |
| 554 | // `keepAlive` that are not enabled by default. | |
| 554 | // `keepAlive` that are not enabled by default before Node.js v19.0.0. After Node.js | |
| 555 | // v19.0.0, you no longer need to customize the agent to enable `keepAlive` because | |
| 556 | // `http.globalAgent` has `keepAlive` enabled by default. | |
| 555 | 557 | httpAgent: new http.Agent({ keepAlive: true }), |
| 556 | 558 | httpsAgent: new https.Agent({ keepAlive: true }), |
| 557 | 559 | |
@@ -838,21 +840,22 @@ | ||
| 838 | 840 | | status | HTTP response status code. See [here](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) for common HTTP response status code meanings. |
| 839 | 841 | |
| 840 | 842 | Below is a list of potential axios identified error: |
| 841 | | Code | Definition | | |
| 842 | | -------- | ---------- | | |
| 843 | | ERR_BAD_OPTION_VALUE | Invalid or unsupported value provided in axios configuration. | | |
| 844 | | ERR_BAD_OPTION | Invalid option provided in axios configuration. | | |
| 845 | | ECONNABORTED | Request timed out due to exceeding timeout specified in axios configuration. | | |
| 846 | | ETIMEDOUT | Request timed out due to exceeding default axios timelimit. | | |
| 847 | | ERR_NETWORK | Network-related issue. | |
| 848 | | ERR_FR_TOO_MANY_REDIRECTS | Request is redirected too many times; exceeds max redirects specified in axios configuration. | |
| 849 | | ERR_DEPRECATED | Deprecated feature or method used in axios. | |
| 850 | | ERR_BAD_RESPONSE | Response cannot be parsed properly or is in an unexpected format. | |
| 851 | | ERR_BAD_REQUEST | Requested has unexpected format or missing required parameters. | | |
| 852 | | ERR_CANCELED | Feature or method is canceled explicitly by the user. | |
| 853 | | ERR_NOT_SUPPORT | Feature or method not supported in the current axios environment. | |
| 854 | | ERR_INVALID_URL | Invalid URL provided for axios request. | |
| 855 | 843 | |
| 844 | | Code | Definition | | |
| 845 | | --- | --- | | |
| 846 | | ERR_BAD_OPTION_VALUE | Invalid value provided in axios configuration. | | |
| 847 | | ERR_BAD_OPTION | Invalid option provided in axios configuration. | | |
| 848 | | ERR_NOT_SUPPORT | Feature or method not supported in the current axios environment. | | |
| 849 | | ERR_DEPRECATED | Deprecated feature or method used in axios. | | |
| 850 | | ERR_INVALID_URL | Invalid URL provided for axios request. | | |
| 851 | | ECONNABORTED | Typically indicates that the request has been timed out (unless `transitional.clarifyTimeoutError` is set) or aborted by the browser or its plugin. | | |
| 852 | | ERR_CANCELED | Feature or method is canceled explicitly by the user using an AbortSignal (or a CancelToken). | | |
| 853 | | ETIMEDOUT | Request timed out due to exceeding default axios timelimit. `transitional.clarifyTimeoutError` must be set to `true`, otherwise a generic `ECONNABORTED` error will be thrown instead. | | |
| 854 | | ERR_NETWORK | Network-related issue. In the browser, this error can also be caused by a [CORS](https://developer.mozilla.org/ru/docs/Web/HTTP/Guides/CORS) or [Mixed Content](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content) policy violation. The browser does not allow the JS code to clarify the real reason for the error caused by security issues, so please check the console. | | |
| 855 | | ERR_FR_TOO_MANY_REDIRECTS | Request is redirected too many times; exceeds max redirects specified in axios configuration. | | |
| 856 | | ERR_BAD_RESPONSE | Response cannot be parsed properly or is in an unexpected format. Usually related to a response with `5xx` status code. | | |
| 857 | | ERR_BAD_REQUEST | The request has an unexpected format or is missing required parameters. Usually related to a response with `4xx` status code. | | |
| 858 | ||
| 856 | 859 | ## Handling Errors |
| 857 | 860 | |
| 858 | 861 | the default behavior is to reject every response that returns with a status code that falls out of the range of 2xx and treat it as an error. |
@@ -361,7 +361,7 @@ | ||
| 361 | 361 | lookup?: ((hostname: string, options: object, cb: (err: Error | null, address: LookupAddress | LookupAddress[], family?: AddressFamily) => void) => void) | |
| 362 | 362 | ((hostname: string, options: object) => Promise<[address: LookupAddressEntry | LookupAddressEntry[], family?: AddressFamily] | LookupAddress>); |
| 363 | 363 | withXSRFToken?: boolean | ((config: InternalAxiosRequestConfig) => boolean | undefined); |
| 364 | fetchOptions?: Record<string, any>; | |
| 364 | fetchOptions?: Omit<RequestInit, 'body' | 'headers' | 'method' | 'signal'> | Record<string, any>; | |
| 365 | 365 | } |
| 366 | 366 | |
| 367 | 367 | // Alias |