axios 1.8.1 → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- /*! Axios v1.8.1 Copyright (c) 2025 Matt Zabriskie and contributors */
1
+ /*! Axios v1.8.3 Copyright (c) 2025 Matt Zabriskie and contributors */
2
2
  'use strict';
3
3
 
4
4
  const FormData$1 = require('form-data');
@@ -2084,7 +2084,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
2084
2084
  return requestedURL;
2085
2085
  }
2086
2086
 
2087
- const VERSION = "1.8.1";
2087
+ const VERSION = "1.8.3";
2088
2088
 
2089
2089
  function parseProtocol(url) {
2090
2090
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -2779,7 +2779,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
2779
2779
  }
2780
2780
 
2781
2781
  // Parse url
2782
- const fullPath = buildFullPath(config.baseURL, config.url);
2782
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
2783
2783
  const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
2784
2784
  const protocol = parsed.protocol || supportedProtocols[0];
2785
2785
 
@@ -3402,7 +3402,7 @@ const resolveConfig = (config) => {
3402
3402
 
3403
3403
  newConfig.headers = headers = AxiosHeaders$1.from(headers);
3404
3404
 
3405
- newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
3405
+ newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
3406
3406
 
3407
3407
  // HTTP basic authentication
3408
3408
  if (auth) {