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

chore(release): v1.6.8 (#6303)

Co-authored-by: DigitalBrainJS <DigitalBrainJS@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-03-15 18:31:56 +02:00
committed by GitHub
parent 2656612bc1
commit ab3f0f9a94
17 changed files with 359 additions and 315 deletions
+5 -6
View File
@@ -1,4 +1,4 @@
// Axios v1.6.7 Copyright (c) 2024 Matt Zabriskie and contributors
// Axios v1.6.8 Copyright (c) 2024 Matt Zabriskie and contributors
'use strict';
const FormData$1 = require('form-data');
@@ -10,7 +10,7 @@ const util = require('util');
const followRedirects = require('follow-redirects');
const zlib = require('zlib');
const stream = require('stream');
const EventEmitter = require('events');
const events = require('events');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -22,7 +22,6 @@ const util__default = /*#__PURE__*/_interopDefaultLegacy(util);
const followRedirects__default = /*#__PURE__*/_interopDefaultLegacy(followRedirects);
const zlib__default = /*#__PURE__*/_interopDefaultLegacy(zlib);
const stream__default = /*#__PURE__*/_interopDefaultLegacy(stream);
const EventEmitter__default = /*#__PURE__*/_interopDefaultLegacy(EventEmitter);
function bind(fn, thisArg) {
return function wrap() {
@@ -2019,7 +2018,7 @@ function buildFullPath(baseURL, requestedURL) {
return requestedURL;
}
const VERSION = "1.6.7";
const VERSION = "1.6.8";
function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -2662,7 +2661,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
}
// temporary internal emitter until the AxiosRequest class will be implemented
const emitter = new EventEmitter__default["default"]();
const emitter = new events.EventEmitter();
const onFinished = () => {
if (config.cancelToken) {
@@ -3652,7 +3651,7 @@ function dispatchRequest(config) {
});
}
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? thing.toJSON() : thing;
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
/**
* Config-specific merge-function which creates a new config-object
+1 -1
View File
File diff suppressed because one or more lines are too long