axios 1.1.1 → 1.1.2

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
@@ -207,4 +207,14 @@
207
207
 
208
208
  ### Contributors to this release
209
209
 
210
+ - [Jason Saayman](https://github.com/jasonsaayman)
211
+
212
+ ## [1.1.2] - 2022-10-07
213
+
214
+ ### Fixed
215
+
216
+ - Fixed broken exports for UMD builds.
217
+
218
+ ### Contributors to this release
219
+
210
220
  - [Jason Saayman](https://github.com/jasonsaayman)
package/dist/axios.js CHANGED
@@ -1,9 +1,9 @@
1
- // Axios v1.1.1 Copyright (c) 2022 Matt Zabriskie and contributors
1
+ // Axios v1.1.2 Copyright (c) 2022 Matt Zabriskie and contributors
2
2
  (function (global, factory) {
3
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
5
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.axios = {}));
6
- })(this, (function (exports) { 'use strict';
3
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
+ typeof define === 'function' && define.amd ? define(factory) :
5
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.axios = factory());
6
+ })(this, (function () { 'use strict';
7
7
 
8
8
  function _typeof(obj) {
9
9
  "@babel/helpers - typeof";
@@ -2442,7 +2442,7 @@
2442
2442
  return config;
2443
2443
  }
2444
2444
 
2445
- var VERSION = "1.1.1";
2445
+ var VERSION = "1.1.2";
2446
2446
 
2447
2447
  var validators$1 = {}; // eslint-disable-next-line func-names
2448
2448
 
@@ -2915,9 +2915,7 @@
2915
2915
  return formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
2916
2916
  };
2917
2917
 
2918
- exports["default"] = axios;
2919
-
2920
- Object.defineProperty(exports, '__esModule', { value: true });
2918
+ return axios;
2921
2919
 
2922
2920
  }));
2923
2921
  //# sourceMappingURL=axios.js.map