2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

chore: release v1.1.0

This commit is contained in:
Jay
2022-10-06 21:17:46 +02:00
parent 52d64ac3b7
commit 9c3dce366b
14 changed files with 48 additions and 31 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
// Axios v1.0.0 Copyright (c) 2022 Matt Zabriskie and contributors
// Axios v1.1.0 Copyright (c) 2022 Matt Zabriskie and contributors
function bind(fn, thisArg) {
return function wrap() {
return fn.apply(thisArg, arguments);
@@ -135,7 +135,7 @@ const isPlainObject = (val) => {
}
const prototype = getPrototypeOf(val);
return prototype === null || prototype === Object.prototype;
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
};
/**
@@ -2461,7 +2461,7 @@ function mergeConfig(config1, config2) {
return config;
}
const VERSION = "1.0.0";
const VERSION = "1.1.0";
const validators$1 = {};
@@ -2938,5 +2938,5 @@ axios.formToJSON = thing => {
return formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
};
export { axios as default };
export { Axios, AxiosError, AxiosHeaders, CanceledError, axios as default };
//# 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