axios 1.1.0 → 1.1.1

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/lib/axios.js CHANGED
@@ -14,8 +14,6 @@ import toFormData from './helpers/toFormData.js';
14
14
  import AxiosError from './core/AxiosError.js';
15
15
  import spread from './helpers/spread.js';
16
16
  import isAxiosError from './helpers/isAxiosError.js';
17
- import AxiosHeaders from './core/AxiosHeaders.js';
18
-
19
17
 
20
18
  /**
21
19
  * Create an instance of Axios
@@ -75,10 +73,4 @@ axios.formToJSON = thing => {
75
73
  return formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
76
74
  };
77
75
 
78
- export {
79
- axios as default,
80
- Axios,
81
- AxiosHeaders,
82
- AxiosError,
83
- CanceledError,
84
- };
76
+ export default axios
package/lib/env/data.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "1.1.0";
1
+ export const VERSION = "1.1.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axios",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Promise based HTTP client for the browser and node.js",
5
5
  "main": "index.js",
6
6
  "exports": {
package/rollup.config.js CHANGED
@@ -77,7 +77,7 @@ export default async () => {
77
77
  file: `dist/node/${name}.cjs`,
78
78
  format: "cjs",
79
79
  preferConst: true,
80
- exports: "named",
80
+ exports: "default",
81
81
  banner
82
82
  },
83
83
  plugins: [