2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

chore(release): v1.6.4 (#6173)

Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-01-04 00:10:07 +02:00
committed by GitHub
parent 0ad520de0f
commit 8790b8e784
17 changed files with 46 additions and 22 deletions
+14
View File
@@ -1,5 +1,19 @@
# Changelog
## [1.6.4](https://github.com/axios/axios/compare/v1.6.3...v1.6.4) (2024-01-03)
### Bug Fixes
* **security:** fixed formToJSON prototype pollution vulnerability; ([#6167](https://github.com/axios/axios/issues/6167)) ([3c0c11c](https://github.com/axios/axios/commit/3c0c11cade045c4412c242b5727308cff9897a0e))
* **security:** fixed security vulnerability in follow-redirects ([#6163](https://github.com/axios/axios/issues/6163)) ([75af1cd](https://github.com/axios/axios/commit/75af1cdff5b3a6ca3766d3d3afbc3115bb0811b8))
### Contributors to this release
- <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+34/-6 ()")
- <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+34/-3 (#6172 #6167 )")
- <img src="https://avatars.githubusercontent.com/u/1402060?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Guy Nesher](https://github.com/gnesher "+10/-10 (#6163 )")
## [1.6.3](https://github.com/axios/axios/compare/v1.6.2...v1.6.3) (2023-12-26)
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "axios",
"main": "./dist/axios.js",
"version": "1.6.3",
"version": "1.6.4",
"homepage": "https://axios-http.com",
"authors": [
"Matt Zabriskie"
+3 -2
View File
@@ -1,4 +1,4 @@
// Axios v1.6.3 Copyright (c) 2023 Matt Zabriskie and contributors
// Axios v1.6.4 Copyright (c) 2024 Matt Zabriskie and contributors
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
@@ -1387,6 +1387,7 @@
function formDataToJSON(formData) {
function buildPath(path, value, target, index) {
var name = path[index++];
if (name === '__proto__') return true;
var isNumericKey = Number.isFinite(+name);
var isLast = index >= path.length;
name = !name && utils$1.isArray(target) ? target.length : name;
@@ -2519,7 +2520,7 @@
return config;
}
var VERSION = "1.6.3";
var VERSION = "1.6.4";
var 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
+5 -2
View File
@@ -1,4 +1,4 @@
// Axios v1.6.3 Copyright (c) 2023 Matt Zabriskie and contributors
// Axios v1.6.4 Copyright (c) 2024 Matt Zabriskie and contributors
'use strict';
function bind(fn, thisArg) {
@@ -1352,6 +1352,9 @@ function arrayToObject(arr) {
function formDataToJSON(formData) {
function buildPath(path, value, target, index) {
let name = path[index++];
if (name === '__proto__') return true;
const isNumericKey = Number.isFinite(+name);
const isLast = index >= path.length;
name = !name && utils$1.isArray(target) ? target.length : name;
@@ -2655,7 +2658,7 @@ function mergeConfig(config1, config2) {
return config;
}
const VERSION = "1.6.3";
const VERSION = "1.6.4";
const validators$1 = {};
+1 -1
View File
File diff suppressed because one or more lines are too long
+5 -2
View File
@@ -1,4 +1,4 @@
// Axios v1.6.3 Copyright (c) 2023 Matt Zabriskie and contributors
// Axios v1.6.4 Copyright (c) 2024 Matt Zabriskie and contributors
function bind(fn, thisArg) {
return function wrap() {
return fn.apply(thisArg, arguments);
@@ -1350,6 +1350,9 @@ function arrayToObject(arr) {
function formDataToJSON(formData) {
function buildPath(path, value, target, index) {
let name = path[index++];
if (name === '__proto__') return true;
const isNumericKey = Number.isFinite(+name);
const isLast = index >= path.length;
name = !name && utils$1.isArray(target) ? target.length : name;
@@ -2653,7 +2656,7 @@ function mergeConfig$1(config1, config2) {
return config;
}
const VERSION$1 = "1.6.3";
const VERSION$1 = "1.6.4";
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
+5 -2
View File
@@ -1,4 +1,4 @@
// Axios v1.6.3 Copyright (c) 2023 Matt Zabriskie and contributors
// Axios v1.6.4 Copyright (c) 2024 Matt Zabriskie and contributors
'use strict';
const FormData$1 = require('form-data');
@@ -1368,6 +1368,9 @@ function arrayToObject(arr) {
function formDataToJSON(formData) {
function buildPath(path, value, target, index) {
let name = path[index++];
if (name === '__proto__') return true;
const isNumericKey = Number.isFinite(+name);
const isLast = index >= path.length;
name = !name && utils$1.isArray(target) ? target.length : name;
@@ -2019,7 +2022,7 @@ function buildFullPath(baseURL, requestedURL) {
return requestedURL;
}
const VERSION = "1.6.3";
const VERSION = "1.6.4";
function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
+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.6.3";
export const VERSION = "1.6.4";
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "axios",
"version": "1.6.3",
"version": "1.6.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "axios",
"version": "1.6.3",
"version": "1.6.4",
"license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.4",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "axios",
"version": "1.6.3",
"version": "1.6.4",
"description": "Promise based HTTP client for the browser and node.js",
"main": "index.js",
"exports": {
@@ -215,4 +215,4 @@
"@commitlint/config-conventional"
]
}
}
}