axios 1.2.4 → 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.

package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.6](https://github.com/axios/axios/compare/v1.2.5...v1.2.6) (2023-01-28)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **headers:** added missed Authorization accessor; ([#5502](https://github.com/axios/axios/issues/5502)) ([342c0ba](https://github.com/axios/axios/commit/342c0ba9a16ea50f5ed7d2366c5c1a2c877e3f26))
9
+ * **types:** fixed `CommonRequestHeadersList` & `CommonResponseHeadersList` types to be private in commonJS; ([#5503](https://github.com/axios/axios/issues/5503)) ([5a3d0a3](https://github.com/axios/axios/commit/5a3d0a3234d77361a1bc7cedee2da1e11df08e2c))
10
+
11
+ ### Contributors to this release
12
+
13
+ - ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+24/-9 (#5503 #5502 )")
14
+
15
+ ## [1.2.5](https://github.com/axios/axios/compare/v1.2.4...v1.2.5) (2023-01-26)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **types:** fixed AxiosHeaders to handle spread syntax by making all methods non-enumerable; ([#5499](https://github.com/axios/axios/issues/5499)) ([580f1e8](https://github.com/axios/axios/commit/580f1e8033a61baa38149d59fd16019de3932c22))
21
+
22
+ ### Contributors to this release
23
+
24
+ - ![avatar](https://avatars.githubusercontent.com/u/12586868?v=4&s=16) [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+82/-54 (#5499 )")
25
+ - ![avatar](https://avatars.githubusercontent.com/u/20516159?v=4&s=16) [Elliot Ford](https://github.com/EFord36 "+1/-1 (#5462 )")
26
+
3
27
  ## [1.2.4](https://github.com/axios/axios/compare/v1.2.3...v1.2.4) (2023-01-22)
4
28
 
5
29
 
@@ -395,4 +419,4 @@
395
419
  - [Marco Weber](https://github.com/mrcwbr)
396
420
  - [Luca Pizzini](https://github.com/lpizzinidev)
397
421
  - [Willian Agostini](https://github.com/WillianAgostini)
398
- - [Huyen Nguyen](https://github.com/huyenltnguyen)
422
+ - [Huyen Nguyen](https://github.com/huyenltnguyen)
package/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  [![npm version](https://img.shields.io/npm/v/axios.svg?style=flat-square)](https://www.npmjs.org/package/axios)
17
17
  [![CDNJS](https://img.shields.io/cdnjs/v/axios.svg?style=flat-square)](https://cdnjs.com/libraries/axios)
18
- [![Build status](https://img.shields.io/github/workflow/status/axios/axios/ci?label=CI&logo=github&style=flat-square)](https://github.com/axios/axios/actions/workflows/ci.yml)
18
+ [![Build status](https://img.shields.io/github/actions/workflow/status/axios/axios/ci.yml?branch=v1.x&label=CI&logo=github&style=flat-square)](https://github.com/axios/axios/actions/workflows/ci.yml)
19
19
  [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod&style=flat-square)](https://gitpod.io/#https://github.com/axios/axios)
20
20
  [![code coverage](https://img.shields.io/coveralls/mzabriskie/axios.svg?style=flat-square)](https://coveralls.io/r/mzabriskie/axios)
21
21
  [![install size](https://img.shields.io/badge/dynamic/json?url=https://packagephobia.com/v2/api.json?p=axios&query=$.install.pretty&label=install%20size&style=flat-square)](https://packagephobia.now.sh/result?p=axios)
package/dist/axios.js CHANGED
@@ -1,4 +1,4 @@
1
- // Axios v1.2.4 Copyright (c) 2023 Matt Zabriskie and contributors
1
+ // Axios v1.2.6 Copyright (c) 2023 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) :
@@ -1738,7 +1738,7 @@
1738
1738
  }]);
1739
1739
  return AxiosHeaders;
1740
1740
  }(Symbol.iterator, Symbol.toStringTag);
1741
- AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent']);
1741
+ AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
1742
1742
  utils.freezeMethods(AxiosHeaders.prototype);
1743
1743
  utils.freezeMethods(AxiosHeaders);
1744
1744
  var AxiosHeaders$1 = AxiosHeaders;
@@ -2397,7 +2397,7 @@
2397
2397
  return config;
2398
2398
  }
2399
2399
 
2400
- var VERSION = "1.2.4";
2400
+ var VERSION = "1.2.6";
2401
2401
 
2402
2402
  var validators$1 = {};
2403
2403