2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

chore: release v1.1.2

This commit is contained in:
Jay
2022-10-07 12:09:17 +02:00
parent 1315e2282f
commit 1b29f4e98e
16 changed files with 34 additions and 26 deletions
+10
View File
@@ -208,3 +208,13 @@
### Contributors to this release ### Contributors to this release
- [Jason Saayman](https://github.com/jasonsaayman) - [Jason Saayman](https://github.com/jasonsaayman)
## [1.1.2] - 2022-10-07
### Fixed
- Fixed broken exports for UMD builds.
### Contributors to this release
- [Jason Saayman](https://github.com/jasonsaayman)
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "axios", "name": "axios",
"main": "./dist/axios.js", "main": "./dist/axios.js",
"version": "1.1.1", "version": "1.1.2",
"homepage": "https://axios-http.com", "homepage": "https://axios-http.com",
"authors": [ "authors": [
"Matt Zabriskie" "Matt Zabriskie"
+7 -9
View File
@@ -1,9 +1,9 @@
// Axios v1.1.1 Copyright (c) 2022 Matt Zabriskie and contributors // Axios v1.1.2 Copyright (c) 2022 Matt Zabriskie and contributors
(function (global, factory) { (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(['exports'], factory) : typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.axios = {})); (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.axios = factory());
})(this, (function (exports) { 'use strict'; })(this, (function () { 'use strict';
function _typeof(obj) { function _typeof(obj) {
"@babel/helpers - typeof"; "@babel/helpers - typeof";
@@ -2442,7 +2442,7 @@
return config; return config;
} }
var VERSION = "1.1.1"; var VERSION = "1.1.2";
var validators$1 = {}; // eslint-disable-next-line func-names var validators$1 = {}; // eslint-disable-next-line func-names
@@ -2915,9 +2915,7 @@
return formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing); return formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
}; };
exports["default"] = axios; return axios;
Object.defineProperty(exports, '__esModule', { value: true });
})); }));
//# sourceMappingURL=axios.js.map //# sourceMappingURL=axios.js.map
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,4 +1,4 @@
// Axios v1.1.1 Copyright (c) 2022 Matt Zabriskie and contributors // Axios v1.1.2 Copyright (c) 2022 Matt Zabriskie and contributors
function bind(fn, thisArg) { function bind(fn, thisArg) {
return function wrap() { return function wrap() {
return fn.apply(thisArg, arguments); return fn.apply(thisArg, arguments);
@@ -2461,7 +2461,7 @@ function mergeConfig(config1, config2) {
return config; return config;
} }
const VERSION = "1.1.1"; const VERSION = "1.1.2";
const validators$1 = {}; const validators$1 = {};
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -1,4 +1,4 @@
// Axios v1.1.1 Copyright (c) 2022 Matt Zabriskie and contributors // Axios v1.1.2 Copyright (c) 2022 Matt Zabriskie and contributors
'use strict'; 'use strict';
const FormData$1 = require('form-data'); const FormData$1 = require('form-data');
@@ -1313,7 +1313,7 @@ function buildFullPath(baseURL, requestedURL) {
return requestedURL; return requestedURL;
} }
const VERSION = "1.1.1"; const VERSION = "1.1.2";
/** /**
* A `CanceledError` is an object that is thrown when an operation is canceled. * A `CanceledError` is an object that is thrown when an operation is canceled.
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
export const VERSION = "1.1.1"; export const VERSION = "1.1.2";
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "axios", "name": "axios",
"version": "1.1.0", "version": "1.1.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "axios", "name": "axios",
"version": "1.1.0", "version": "1.1.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"follow-redirects": "^1.15.0", "follow-redirects": "^1.15.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "axios", "name": "axios",
"version": "1.1.1", "version": "1.1.2",
"description": "Promise based HTTP client for the browser and node.js", "description": "Promise based HTTP client for the browser and node.js",
"main": "index.js", "main": "index.js",
"exports": { "exports": {
+1 -1
View File
@@ -56,7 +56,7 @@ export default async () => {
file: `dist/${outputFileName}`, file: `dist/${outputFileName}`,
name, name,
format: "umd", format: "umd",
exports: "named", exports: "default",
banner banner
} }
}), }),