axios 1.2.5 → 1.2.6

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.

Potentially problematic release.


This version of axios might be problematic. Click here for more details.

@@ -1,4 +1,4 @@
1
- // Axios v1.2.5 Copyright (c) 2023 Matt Zabriskie and contributors
1
+ // Axios v1.2.6 Copyright (c) 2023 Matt Zabriskie and contributors
2
2
  'use strict';
3
3
 
4
4
  const FormData$1 = require('form-data');
@@ -1789,7 +1789,7 @@ class AxiosHeaders {
1789
1789
  }
1790
1790
  }
1791
1791
 
1792
- AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent']);
1792
+ AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
1793
1793
 
1794
1794
  utils.freezeMethods(AxiosHeaders.prototype);
1795
1795
  utils.freezeMethods(AxiosHeaders);
@@ -1911,7 +1911,7 @@ function buildFullPath(baseURL, requestedURL) {
1911
1911
  return requestedURL;
1912
1912
  }
1913
1913
 
1914
- const VERSION = "1.2.5";
1914
+ const VERSION = "1.2.6";
1915
1915
 
1916
1916
  function parseProtocol(url) {
1917
1917
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);