2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-27 14:47:43 +03:00

chore(release): v1.3.2 (#5531)

Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-02-03 20:09:55 +02:00
committed by GitHub
parent 6b3c305fc4
commit 0b449293fc
17 changed files with 35 additions and 23 deletions
+12
View File
@@ -1,5 +1,17 @@
# Changelog
## [1.3.2](https://github.com/axios/axios/compare/v1.3.1...v1.3.2) (2023-02-03)
### Bug Fixes
* **http:** treat http://localhost as base URL for relative paths to avoid `ERR_INVALID_URL` error; ([#5528](https://github.com/axios/axios/issues/5528)) ([128d56f](https://github.com/axios/axios/commit/128d56f4a0fb8f5f2ed6e0dd80bc9225fee9538c))
* **http:** use explicit import instead of TextEncoder global; ([#5530](https://github.com/axios/axios/issues/5530)) ([6b3c305](https://github.com/axios/axios/commit/6b3c305fc40c56428e0afabedc6f4d29c2830f6f))
### Contributors to this release
- <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 "+2/-1 (#5530 #5528 )")
## [1.3.1](https://github.com/axios/axios/compare/v1.3.0...v1.3.1) (2023-02-01)
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "axios",
"main": "./dist/axios.js",
"version": "1.3.1",
"version": "1.3.2",
"homepage": "https://axios-http.com",
"authors": [
"Matt Zabriskie"
+2 -2
View File
@@ -1,4 +1,4 @@
// Axios v1.3.1 Copyright (c) 2023 Matt Zabriskie and contributors
// Axios v1.3.2 Copyright (c) 2023 Matt Zabriskie and contributors
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
@@ -2423,7 +2423,7 @@
return config;
}
var VERSION = "1.3.1";
var VERSION = "1.3.2";
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
+2 -2
View File
@@ -1,4 +1,4 @@
// Axios v1.3.1 Copyright (c) 2023 Matt Zabriskie and contributors
// Axios v1.3.2 Copyright (c) 2023 Matt Zabriskie and contributors
'use strict';
function bind(fn, thisArg) {
@@ -2612,7 +2612,7 @@ function mergeConfig(config1, config2) {
return config;
}
const VERSION = "1.3.1";
const VERSION = "1.3.2";
const validators$1 = {};
+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.3.1 Copyright (c) 2023 Matt Zabriskie and contributors
// Axios v1.3.2 Copyright (c) 2023 Matt Zabriskie and contributors
function bind(fn, thisArg) {
return function wrap() {
return fn.apply(thisArg, arguments);
@@ -2610,7 +2610,7 @@ function mergeConfig$1(config1, config2) {
return config;
}
const VERSION$1 = "1.3.1";
const VERSION$1 = "1.3.2";
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
+4 -4
View File
@@ -1,4 +1,4 @@
// Axios v1.3.1 Copyright (c) 2023 Matt Zabriskie and contributors
// Axios v1.3.2 Copyright (c) 2023 Matt Zabriskie and contributors
'use strict';
const FormData$1 = require('form-data');
@@ -1948,7 +1948,7 @@ function buildFullPath(baseURL, requestedURL) {
return requestedURL;
}
const VERSION = "1.3.1";
const VERSION = "1.3.2";
function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -2288,7 +2288,7 @@ const readBlob$1 = readBlob;
const BOUNDARY_ALPHABET = utils.ALPHABET.ALPHA_DIGIT + '-_';
const textEncoder = new TextEncoder();
const textEncoder = new util.TextEncoder();
const CRLF = '\r\n';
const CRLF_BYTES = textEncoder.encode(CRLF);
@@ -2577,7 +2577,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
// Parse url
const fullPath = buildFullPath(config.baseURL, config.url);
const parsed = new URL(fullPath);
const parsed = new URL(fullPath, 'http://localhost');
const protocol = parsed.protocol || supportedProtocols[0];
if (protocol === 'data:') {
+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.3.1";
export const VERSION = "1.3.2";
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "axios",
"version": "1.3.1",
"version": "1.3.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "axios",
"version": "1.3.1",
"version": "1.3.2",
"license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "axios",
"version": "1.3.1",
"version": "1.3.2",
"description": "Promise based HTTP client for the browser and node.js",
"main": "index.js",
"exports": {