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:
Vendored
+4
-4
@@ -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
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user