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

chore(release): v1.3.1 (#5522)

Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-02-02 01:30:01 +02:00
committed by GitHub
parent 96d336f527
commit 54d3facb3b
17 changed files with 55 additions and 35 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
// Axios v1.3.0 Copyright (c) 2023 Matt Zabriskie and contributors
// Axios v1.3.1 Copyright (c) 2023 Matt Zabriskie and contributors
'use strict';
function bind(fn, thisArg) {
@@ -960,7 +960,7 @@ function toFormData(obj, formData, options) {
value = JSON.stringify(value);
} else if (
(utils.isArray(value) && isFlatArray(value)) ||
(utils.isFileList(value) || utils.endsWith(key, '[]') && (arr = utils.toArray(value))
((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))
)) {
// eslint-disable-next-line no-param-reassign
key = removeBrackets(key);
@@ -1722,7 +1722,7 @@ class AxiosHeaders {
if (header) {
const key = utils.findKey(this, header);
return !!(key && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
}
return false;
@@ -2612,7 +2612,7 @@ function mergeConfig(config1, config2) {
return config;
}
const VERSION = "1.3.0";
const VERSION = "1.3.1";
const validators$1 = {};
+1 -1
View File
File diff suppressed because one or more lines are too long