mirror of
https://github.com/fjogeleit/http-request-action.git
synced 2026-02-04 16:45:52 +08:00
Update Dependencies (#199)
Some checks failed
CI / build (push) Has been cancelled
/ IT Test - Request Postman Echo GET (push) Has been cancelled
/ IT Test - Request Postman Echo POST (push) Has been cancelled
/ IT Test - Request Postman Echo POST with Unescaped Newline (push) Has been cancelled
/ IT Test - Request Postman Echo BasicAuth (push) Has been cancelled
/ IT Test - Request Postman Echo with 404 Response and ignore failure code (push) Has been cancelled
/ IT Test - Request Postman Echo POST Multipart (push) Has been cancelled
/ IT Test - Request Postman Echo POST and persist response (push) Has been cancelled
/ IT Test - Request Postman Echo POST Multipart without data (push) Has been cancelled
/ IT Test - Request Postman Echo POST single file (push) Has been cancelled
/ IT Test - Request Postman Echo POST URLEncoded string data (push) Has been cancelled
/ IT Test - Request Postman Echo POST URLEncoded json data (push) Has been cancelled
/ IT Test - Request Postman Echo DELETE (push) Has been cancelled
CI / integrity (push) Has been cancelled
/ All IT Tests have to pass (push) Has been cancelled
Some checks failed
CI / build (push) Has been cancelled
/ IT Test - Request Postman Echo GET (push) Has been cancelled
/ IT Test - Request Postman Echo POST (push) Has been cancelled
/ IT Test - Request Postman Echo POST with Unescaped Newline (push) Has been cancelled
/ IT Test - Request Postman Echo BasicAuth (push) Has been cancelled
/ IT Test - Request Postman Echo with 404 Response and ignore failure code (push) Has been cancelled
/ IT Test - Request Postman Echo POST Multipart (push) Has been cancelled
/ IT Test - Request Postman Echo POST and persist response (push) Has been cancelled
/ IT Test - Request Postman Echo POST Multipart without data (push) Has been cancelled
/ IT Test - Request Postman Echo POST single file (push) Has been cancelled
/ IT Test - Request Postman Echo POST URLEncoded string data (push) Has been cancelled
/ IT Test - Request Postman Echo POST URLEncoded json data (push) Has been cancelled
/ IT Test - Request Postman Echo DELETE (push) Has been cancelled
CI / integrity (push) Has been cancelled
/ All IT Tests have to pass (push) Has been cancelled
* Update Dependencies Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de> * Update test case Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de> --------- Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
This commit is contained in:
2
.github/workflows/it-tests.yml
vendored
2
.github/workflows/it-tests.yml
vendored
@@ -199,7 +199,7 @@ jobs:
|
|||||||
- uses: nick-fields/assert-action@aa0067e01f0f6545c31755d6ca128c5a3a14f6bf # v2
|
- uses: nick-fields/assert-action@aa0067e01f0f6545c31755d6ca128c5a3a14f6bf # v2
|
||||||
name: Then outputs.response_content value must include
|
name: Then outputs.response_content value must include
|
||||||
with:
|
with:
|
||||||
expected: '"accept":"application/json, text/plain, */*","content-type":"application/json","user-agent"'
|
expected: '"accept":"application/json, text/plain, */*"'
|
||||||
actual: ${{ steps.execution-response-file.outputs.response_content }}
|
actual: ${{ steps.execution-response-file.outputs.response_content }}
|
||||||
comparison: contains
|
comparison: contains
|
||||||
|
|
||||||
|
|||||||
375
dist/index.js
vendored
375
dist/index.js
vendored
@@ -5426,7 +5426,7 @@ FormData.prototype.submit = function (params, cb) {
|
|||||||
request.removeListener('error', callback);
|
request.removeListener('error', callback);
|
||||||
request.removeListener('response', onResponse);
|
request.removeListener('response', onResponse);
|
||||||
|
|
||||||
return cb.call(this, error, responce); // eslint-disable-line no-invalid-this
|
return cb.call(this, error, responce);
|
||||||
};
|
};
|
||||||
|
|
||||||
onResponse = callback.bind(this, null);
|
onResponse = callback.bind(this, null);
|
||||||
@@ -5450,7 +5450,7 @@ FormData.prototype._error = function (err) {
|
|||||||
FormData.prototype.toString = function () {
|
FormData.prototype.toString = function () {
|
||||||
return '[object FormData]';
|
return '[object FormData]';
|
||||||
};
|
};
|
||||||
setToStringTag(FormData, 'FormData');
|
setToStringTag(FormData.prototype, 'FormData');
|
||||||
|
|
||||||
// Public API
|
// Public API
|
||||||
module.exports = FormData;
|
module.exports = FormData;
|
||||||
@@ -5677,6 +5677,7 @@ var INTRINSICS = {
|
|||||||
'%Error%': $Error,
|
'%Error%': $Error,
|
||||||
'%eval%': eval, // eslint-disable-line no-eval
|
'%eval%': eval, // eslint-disable-line no-eval
|
||||||
'%EvalError%': $EvalError,
|
'%EvalError%': $EvalError,
|
||||||
|
'%Float16Array%': typeof Float16Array === 'undefined' ? undefined : Float16Array,
|
||||||
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
||||||
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
||||||
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
||||||
@@ -31388,7 +31389,7 @@ module.exports = parseParams
|
|||||||
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
/*! Axios v1.12.2 Copyright (c) 2025 Matt Zabriskie and contributors */
|
/*! Axios v1.13.2 Copyright (c) 2025 Matt Zabriskie and contributors */
|
||||||
|
|
||||||
|
|
||||||
const FormData$1 = __nccwpck_require__(6454);
|
const FormData$1 = __nccwpck_require__(6454);
|
||||||
@@ -31397,6 +31398,7 @@ const url = __nccwpck_require__(7016);
|
|||||||
const proxyFromEnv = __nccwpck_require__(7777);
|
const proxyFromEnv = __nccwpck_require__(7777);
|
||||||
const http = __nccwpck_require__(8611);
|
const http = __nccwpck_require__(8611);
|
||||||
const https = __nccwpck_require__(5692);
|
const https = __nccwpck_require__(5692);
|
||||||
|
const http2 = __nccwpck_require__(5675);
|
||||||
const util = __nccwpck_require__(9023);
|
const util = __nccwpck_require__(9023);
|
||||||
const followRedirects = __nccwpck_require__(1573);
|
const followRedirects = __nccwpck_require__(1573);
|
||||||
const zlib = __nccwpck_require__(3106);
|
const zlib = __nccwpck_require__(3106);
|
||||||
@@ -31411,11 +31413,19 @@ const url__default = /*#__PURE__*/_interopDefaultLegacy(url);
|
|||||||
const proxyFromEnv__default = /*#__PURE__*/_interopDefaultLegacy(proxyFromEnv);
|
const proxyFromEnv__default = /*#__PURE__*/_interopDefaultLegacy(proxyFromEnv);
|
||||||
const http__default = /*#__PURE__*/_interopDefaultLegacy(http);
|
const http__default = /*#__PURE__*/_interopDefaultLegacy(http);
|
||||||
const https__default = /*#__PURE__*/_interopDefaultLegacy(https);
|
const https__default = /*#__PURE__*/_interopDefaultLegacy(https);
|
||||||
|
const http2__default = /*#__PURE__*/_interopDefaultLegacy(http2);
|
||||||
const util__default = /*#__PURE__*/_interopDefaultLegacy(util);
|
const util__default = /*#__PURE__*/_interopDefaultLegacy(util);
|
||||||
const followRedirects__default = /*#__PURE__*/_interopDefaultLegacy(followRedirects);
|
const followRedirects__default = /*#__PURE__*/_interopDefaultLegacy(followRedirects);
|
||||||
const zlib__default = /*#__PURE__*/_interopDefaultLegacy(zlib);
|
const zlib__default = /*#__PURE__*/_interopDefaultLegacy(zlib);
|
||||||
const stream__default = /*#__PURE__*/_interopDefaultLegacy(stream);
|
const stream__default = /*#__PURE__*/_interopDefaultLegacy(stream);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a bound version of a function with a specified `this` context
|
||||||
|
*
|
||||||
|
* @param {Function} fn - The function to bind
|
||||||
|
* @param {*} thisArg - The value to be passed as the `this` parameter
|
||||||
|
* @returns {Function} A new function that will call the original function with the specified `this` context
|
||||||
|
*/
|
||||||
function bind(fn, thisArg) {
|
function bind(fn, thisArg) {
|
||||||
return function wrap() {
|
return function wrap() {
|
||||||
return fn.apply(thisArg, arguments);
|
return fn.apply(thisArg, arguments);
|
||||||
@@ -32665,7 +32675,7 @@ class InterceptorManager {
|
|||||||
*
|
*
|
||||||
* @param {Number} id The ID that was returned by `use`
|
* @param {Number} id The ID that was returned by `use`
|
||||||
*
|
*
|
||||||
* @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
eject(id) {
|
eject(id) {
|
||||||
if (this.handlers[id]) {
|
if (this.handlers[id]) {
|
||||||
@@ -33540,7 +33550,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|||||||
return requestedURL;
|
return requestedURL;
|
||||||
}
|
}
|
||||||
|
|
||||||
const VERSION = "1.12.2";
|
const VERSION = "1.13.2";
|
||||||
|
|
||||||
function parseProtocol(url) {
|
function parseProtocol(url) {
|
||||||
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
||||||
@@ -34136,6 +34146,101 @@ const flushOnFinish = (stream, [throttled, flush]) => {
|
|||||||
return throttled;
|
return throttled;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class Http2Sessions {
|
||||||
|
constructor() {
|
||||||
|
this.sessions = Object.create(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
getSession(authority, options) {
|
||||||
|
options = Object.assign({
|
||||||
|
sessionTimeout: 1000
|
||||||
|
}, options);
|
||||||
|
|
||||||
|
let authoritySessions = this.sessions[authority];
|
||||||
|
|
||||||
|
if (authoritySessions) {
|
||||||
|
let len = authoritySessions.length;
|
||||||
|
|
||||||
|
for (let i = 0; i < len; i++) {
|
||||||
|
const [sessionHandle, sessionOptions] = authoritySessions[i];
|
||||||
|
if (!sessionHandle.destroyed && !sessionHandle.closed && util__default["default"].isDeepStrictEqual(sessionOptions, options)) {
|
||||||
|
return sessionHandle;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const session = http2__default["default"].connect(authority, options);
|
||||||
|
|
||||||
|
let removed;
|
||||||
|
|
||||||
|
const removeSession = () => {
|
||||||
|
if (removed) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
removed = true;
|
||||||
|
|
||||||
|
let entries = authoritySessions, len = entries.length, i = len;
|
||||||
|
|
||||||
|
while (i--) {
|
||||||
|
if (entries[i][0] === session) {
|
||||||
|
if (len === 1) {
|
||||||
|
delete this.sessions[authority];
|
||||||
|
} else {
|
||||||
|
entries.splice(i, 1);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const originalRequestFn = session.request;
|
||||||
|
|
||||||
|
const {sessionTimeout} = options;
|
||||||
|
|
||||||
|
if(sessionTimeout != null) {
|
||||||
|
|
||||||
|
let timer;
|
||||||
|
let streamsCount = 0;
|
||||||
|
|
||||||
|
session.request = function () {
|
||||||
|
const stream = originalRequestFn.apply(this, arguments);
|
||||||
|
|
||||||
|
streamsCount++;
|
||||||
|
|
||||||
|
if (timer) {
|
||||||
|
clearTimeout(timer);
|
||||||
|
timer = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
stream.once('close', () => {
|
||||||
|
if (!--streamsCount) {
|
||||||
|
timer = setTimeout(() => {
|
||||||
|
timer = null;
|
||||||
|
removeSession();
|
||||||
|
}, sessionTimeout);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return stream;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
session.once('close', removeSession);
|
||||||
|
|
||||||
|
let entry = [
|
||||||
|
session,
|
||||||
|
options
|
||||||
|
];
|
||||||
|
|
||||||
|
authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
|
||||||
|
|
||||||
|
return session;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const http2Sessions = new Http2Sessions();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If the proxy or config beforeRedirects functions are defined, call them with the options
|
* If the proxy or config beforeRedirects functions are defined, call them with the options
|
||||||
@@ -34248,16 +34353,75 @@ const resolveFamily = ({address, family}) => {
|
|||||||
|
|
||||||
const buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : {address, family});
|
const buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : {address, family});
|
||||||
|
|
||||||
|
const http2Transport = {
|
||||||
|
request(options, cb) {
|
||||||
|
const authority = options.protocol + '//' + options.hostname + ':' + (options.port || 80);
|
||||||
|
|
||||||
|
const {http2Options, headers} = options;
|
||||||
|
|
||||||
|
const session = http2Sessions.getSession(authority, http2Options);
|
||||||
|
|
||||||
|
const {
|
||||||
|
HTTP2_HEADER_SCHEME,
|
||||||
|
HTTP2_HEADER_METHOD,
|
||||||
|
HTTP2_HEADER_PATH,
|
||||||
|
HTTP2_HEADER_STATUS
|
||||||
|
} = http2__default["default"].constants;
|
||||||
|
|
||||||
|
const http2Headers = {
|
||||||
|
[HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''),
|
||||||
|
[HTTP2_HEADER_METHOD]: options.method,
|
||||||
|
[HTTP2_HEADER_PATH]: options.path,
|
||||||
|
};
|
||||||
|
|
||||||
|
utils$1.forEach(headers, (header, name) => {
|
||||||
|
name.charAt(0) !== ':' && (http2Headers[name] = header);
|
||||||
|
});
|
||||||
|
|
||||||
|
const req = session.request(http2Headers);
|
||||||
|
|
||||||
|
req.once('response', (responseHeaders) => {
|
||||||
|
const response = req; //duplex
|
||||||
|
|
||||||
|
responseHeaders = Object.assign({}, responseHeaders);
|
||||||
|
|
||||||
|
const status = responseHeaders[HTTP2_HEADER_STATUS];
|
||||||
|
|
||||||
|
delete responseHeaders[HTTP2_HEADER_STATUS];
|
||||||
|
|
||||||
|
response.headers = responseHeaders;
|
||||||
|
|
||||||
|
response.statusCode = +status;
|
||||||
|
|
||||||
|
cb(response);
|
||||||
|
});
|
||||||
|
|
||||||
|
return req;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
/*eslint consistent-return:0*/
|
/*eslint consistent-return:0*/
|
||||||
const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
||||||
return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
|
return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
|
||||||
let {data, lookup, family} = config;
|
let {data, lookup, family, httpVersion = 1, http2Options} = config;
|
||||||
const {responseType, responseEncoding} = config;
|
const {responseType, responseEncoding} = config;
|
||||||
const method = config.method.toUpperCase();
|
const method = config.method.toUpperCase();
|
||||||
let isDone;
|
let isDone;
|
||||||
let rejected = false;
|
let rejected = false;
|
||||||
let req;
|
let req;
|
||||||
|
|
||||||
|
httpVersion = +httpVersion;
|
||||||
|
|
||||||
|
if (Number.isNaN(httpVersion)) {
|
||||||
|
throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (httpVersion !== 1 && httpVersion !== 2) {
|
||||||
|
throw TypeError(`Unsupported protocol version '${httpVersion}'`);
|
||||||
|
}
|
||||||
|
|
||||||
|
const isHttp2 = httpVersion === 2;
|
||||||
|
|
||||||
if (lookup) {
|
if (lookup) {
|
||||||
const _lookup = callbackify$1(lookup, (value) => utils$1.isArray(value) ? value : [value]);
|
const _lookup = callbackify$1(lookup, (value) => utils$1.isArray(value) ? value : [value]);
|
||||||
// hotfix to support opt.all option which is required for node 20.x
|
// hotfix to support opt.all option which is required for node 20.x
|
||||||
@@ -34274,8 +34438,17 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// temporary internal emitter until the AxiosRequest class will be implemented
|
const abortEmitter = new events.EventEmitter();
|
||||||
const emitter = new events.EventEmitter();
|
|
||||||
|
function abort(reason) {
|
||||||
|
try {
|
||||||
|
abortEmitter.emit('abort', !reason || reason.type ? new CanceledError(null, config, req) : reason);
|
||||||
|
} catch(err) {
|
||||||
|
console.warn('emit error', err);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
abortEmitter.once('abort', reject);
|
||||||
|
|
||||||
const onFinished = () => {
|
const onFinished = () => {
|
||||||
if (config.cancelToken) {
|
if (config.cancelToken) {
|
||||||
@@ -34286,23 +34459,9 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
config.signal.removeEventListener('abort', abort);
|
config.signal.removeEventListener('abort', abort);
|
||||||
}
|
}
|
||||||
|
|
||||||
emitter.removeAllListeners();
|
abortEmitter.removeAllListeners();
|
||||||
};
|
};
|
||||||
|
|
||||||
onDone((value, isRejected) => {
|
|
||||||
isDone = true;
|
|
||||||
if (isRejected) {
|
|
||||||
rejected = true;
|
|
||||||
onFinished();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
function abort(reason) {
|
|
||||||
emitter.emit('abort', !reason || reason.type ? new CanceledError(null, config, req) : reason);
|
|
||||||
}
|
|
||||||
|
|
||||||
emitter.once('abort', reject);
|
|
||||||
|
|
||||||
if (config.cancelToken || config.signal) {
|
if (config.cancelToken || config.signal) {
|
||||||
config.cancelToken && config.cancelToken.subscribe(abort);
|
config.cancelToken && config.cancelToken.subscribe(abort);
|
||||||
if (config.signal) {
|
if (config.signal) {
|
||||||
@@ -34310,6 +34469,31 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onDone((response, isRejected) => {
|
||||||
|
isDone = true;
|
||||||
|
|
||||||
|
if (isRejected) {
|
||||||
|
rejected = true;
|
||||||
|
onFinished();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const {data} = response;
|
||||||
|
|
||||||
|
if (data instanceof stream__default["default"].Readable || data instanceof stream__default["default"].Duplex) {
|
||||||
|
const offListeners = stream__default["default"].finished(data, () => {
|
||||||
|
offListeners();
|
||||||
|
onFinished();
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
onFinished();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Parse url
|
// Parse url
|
||||||
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
||||||
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
|
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
|
||||||
@@ -34514,7 +34698,8 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
protocol,
|
protocol,
|
||||||
family,
|
family,
|
||||||
beforeRedirect: dispatchBeforeRedirect,
|
beforeRedirect: dispatchBeforeRedirect,
|
||||||
beforeRedirects: {}
|
beforeRedirects: {},
|
||||||
|
http2Options
|
||||||
};
|
};
|
||||||
|
|
||||||
// cacheable-lookup integration hotfix
|
// cacheable-lookup integration hotfix
|
||||||
@@ -34531,6 +34716,10 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
let transport;
|
let transport;
|
||||||
const isHttpsRequest = isHttps.test(options.protocol);
|
const isHttpsRequest = isHttps.test(options.protocol);
|
||||||
options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
|
options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
|
||||||
|
|
||||||
|
if (isHttp2) {
|
||||||
|
transport = http2Transport;
|
||||||
|
} else {
|
||||||
if (config.transport) {
|
if (config.transport) {
|
||||||
transport = config.transport;
|
transport = config.transport;
|
||||||
} else if (config.maxRedirects === 0) {
|
} else if (config.maxRedirects === 0) {
|
||||||
@@ -34544,6 +34733,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
}
|
}
|
||||||
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (config.maxBodyLength > -1) {
|
if (config.maxBodyLength > -1) {
|
||||||
options.maxBodyLength = config.maxBodyLength;
|
options.maxBodyLength = config.maxBodyLength;
|
||||||
@@ -34562,7 +34752,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
|
|
||||||
const streams = [res];
|
const streams = [res];
|
||||||
|
|
||||||
const responseLength = +res.headers['content-length'];
|
const responseLength = utils$1.toFiniteNumber(res.headers['content-length']);
|
||||||
|
|
||||||
if (onDownloadProgress || maxDownloadRate) {
|
if (onDownloadProgress || maxDownloadRate) {
|
||||||
const transformStream = new AxiosTransformStream$1({
|
const transformStream = new AxiosTransformStream$1({
|
||||||
@@ -34625,10 +34815,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
|
|
||||||
responseStream = streams.length > 1 ? stream__default["default"].pipeline(streams, utils$1.noop) : streams[0];
|
responseStream = streams.length > 1 ? stream__default["default"].pipeline(streams, utils$1.noop) : streams[0];
|
||||||
|
|
||||||
const offListeners = stream__default["default"].finished(responseStream, () => {
|
|
||||||
offListeners();
|
|
||||||
onFinished();
|
|
||||||
});
|
|
||||||
|
|
||||||
const response = {
|
const response = {
|
||||||
status: res.statusCode,
|
status: res.statusCode,
|
||||||
@@ -34654,7 +34841,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
// stream.destroy() emit aborted event before calling reject() on Node.js v16
|
// stream.destroy() emit aborted event before calling reject() on Node.js v16
|
||||||
rejected = true;
|
rejected = true;
|
||||||
responseStream.destroy();
|
responseStream.destroy();
|
||||||
reject(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
abort(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
||||||
AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -34696,7 +34883,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
emitter.once('abort', err => {
|
abortEmitter.once('abort', err => {
|
||||||
if (!responseStream.destroyed) {
|
if (!responseStream.destroyed) {
|
||||||
responseStream.emit('error', err);
|
responseStream.emit('error', err);
|
||||||
responseStream.destroy();
|
responseStream.destroy();
|
||||||
@@ -34704,9 +34891,12 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
emitter.once('abort', err => {
|
abortEmitter.once('abort', err => {
|
||||||
reject(err);
|
if (req.close) {
|
||||||
|
req.close();
|
||||||
|
} else {
|
||||||
req.destroy(err);
|
req.destroy(err);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Handle errors
|
// Handle errors
|
||||||
@@ -34728,7 +34918,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
const timeout = parseInt(config.timeout, 10);
|
const timeout = parseInt(config.timeout, 10);
|
||||||
|
|
||||||
if (Number.isNaN(timeout)) {
|
if (Number.isNaN(timeout)) {
|
||||||
reject(new AxiosError(
|
abort(new AxiosError(
|
||||||
'error trying to parse `config.timeout` to int',
|
'error trying to parse `config.timeout` to int',
|
||||||
AxiosError.ERR_BAD_OPTION_VALUE,
|
AxiosError.ERR_BAD_OPTION_VALUE,
|
||||||
config,
|
config,
|
||||||
@@ -34750,14 +34940,16 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
if (config.timeoutErrorMessage) {
|
if (config.timeoutErrorMessage) {
|
||||||
timeoutErrorMessage = config.timeoutErrorMessage;
|
timeoutErrorMessage = config.timeoutErrorMessage;
|
||||||
}
|
}
|
||||||
reject(new AxiosError(
|
abort(new AxiosError(
|
||||||
timeoutErrorMessage,
|
timeoutErrorMessage,
|
||||||
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
||||||
config,
|
config,
|
||||||
req
|
req
|
||||||
));
|
));
|
||||||
abort();
|
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
// explicitly reset the socket timeout value for a possible `keep-alive` request
|
||||||
|
req.setTimeout(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -34783,7 +34975,8 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|||||||
|
|
||||||
data.pipe(req);
|
data.pipe(req);
|
||||||
} else {
|
} else {
|
||||||
req.end(data);
|
data && req.write(data);
|
||||||
|
req.end();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@@ -34805,27 +34998,38 @@ const cookies = platform.hasStandardBrowserEnv ?
|
|||||||
|
|
||||||
// Standard browser envs support document.cookie
|
// Standard browser envs support document.cookie
|
||||||
{
|
{
|
||||||
write(name, value, expires, path, domain, secure) {
|
write(name, value, expires, path, domain, secure, sameSite) {
|
||||||
const cookie = [name + '=' + encodeURIComponent(value)];
|
if (typeof document === 'undefined') return;
|
||||||
|
|
||||||
utils$1.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
|
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
||||||
|
|
||||||
utils$1.isString(path) && cookie.push('path=' + path);
|
if (utils$1.isNumber(expires)) {
|
||||||
|
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
||||||
utils$1.isString(domain) && cookie.push('domain=' + domain);
|
}
|
||||||
|
if (utils$1.isString(path)) {
|
||||||
secure === true && cookie.push('secure');
|
cookie.push(`path=${path}`);
|
||||||
|
}
|
||||||
|
if (utils$1.isString(domain)) {
|
||||||
|
cookie.push(`domain=${domain}`);
|
||||||
|
}
|
||||||
|
if (secure === true) {
|
||||||
|
cookie.push('secure');
|
||||||
|
}
|
||||||
|
if (utils$1.isString(sameSite)) {
|
||||||
|
cookie.push(`SameSite=${sameSite}`);
|
||||||
|
}
|
||||||
|
|
||||||
document.cookie = cookie.join('; ');
|
document.cookie = cookie.join('; ');
|
||||||
},
|
},
|
||||||
|
|
||||||
read(name) {
|
read(name) {
|
||||||
const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
|
if (typeof document === 'undefined') return null;
|
||||||
return (match ? decodeURIComponent(match[3]) : null);
|
const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
|
||||||
|
return match ? decodeURIComponent(match[1]) : null;
|
||||||
},
|
},
|
||||||
|
|
||||||
remove(name) {
|
remove(name) {
|
||||||
this.write(name, '', Date.now() - 86400000);
|
this.write(name, '', Date.now() - 86400000, '/');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -34868,11 +35072,11 @@ function mergeConfig(config1, config2) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line consistent-return
|
// eslint-disable-next-line consistent-return
|
||||||
function mergeDeepProperties(a, b, prop , caseless) {
|
function mergeDeepProperties(a, b, prop, caseless) {
|
||||||
if (!utils$1.isUndefined(b)) {
|
if (!utils$1.isUndefined(b)) {
|
||||||
return getMergedValue(a, b, prop , caseless);
|
return getMergedValue(a, b, prop, caseless);
|
||||||
} else if (!utils$1.isUndefined(a)) {
|
} else if (!utils$1.isUndefined(a)) {
|
||||||
return getMergedValue(undefined, a, prop , caseless);
|
return getMergedValue(undefined, a, prop, caseless);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -34930,7 +35134,7 @@ function mergeConfig(config1, config2) {
|
|||||||
socketPath: defaultToConfig2,
|
socketPath: defaultToConfig2,
|
||||||
responseEncoding: defaultToConfig2,
|
responseEncoding: defaultToConfig2,
|
||||||
validateStatus: mergeDirectKeys,
|
validateStatus: mergeDirectKeys,
|
||||||
headers: (a, b , prop) => mergeDeepProperties(headersToObject(a), headersToObject(b),prop, true)
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
||||||
};
|
};
|
||||||
|
|
||||||
utils$1.forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {
|
utils$1.forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {
|
||||||
@@ -35570,7 +35774,7 @@ const factory = (env) => {
|
|||||||
const seedCache = new Map();
|
const seedCache = new Map();
|
||||||
|
|
||||||
const getFetch = (config) => {
|
const getFetch = (config) => {
|
||||||
let env = config ? config.env : {};
|
let env = (config && config.env) || {};
|
||||||
const {fetch, Request, Response} = env;
|
const {fetch, Request, Response} = env;
|
||||||
const seeds = [
|
const seeds = [
|
||||||
Request, Response, fetch
|
Request, Response, fetch
|
||||||
@@ -35593,6 +35797,15 @@ const getFetch = (config) => {
|
|||||||
|
|
||||||
getFetch();
|
getFetch();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Known adapters mapping.
|
||||||
|
* Provides environment-specific adapters for Axios:
|
||||||
|
* - `http` for Node.js
|
||||||
|
* - `xhr` for browsers
|
||||||
|
* - `fetch` for fetch API-based requests
|
||||||
|
*
|
||||||
|
* @type {Object<string, Function|Object>}
|
||||||
|
*/
|
||||||
const knownAdapters = {
|
const knownAdapters = {
|
||||||
http: httpAdapter,
|
http: httpAdapter,
|
||||||
xhr: xhrAdapter,
|
xhr: xhrAdapter,
|
||||||
@@ -35601,26 +35814,48 @@ const knownAdapters = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Assign adapter names for easier debugging and identification
|
||||||
utils$1.forEach(knownAdapters, (fn, value) => {
|
utils$1.forEach(knownAdapters, (fn, value) => {
|
||||||
if (fn) {
|
if (fn) {
|
||||||
try {
|
try {
|
||||||
Object.defineProperty(fn, 'name', {value});
|
Object.defineProperty(fn, 'name', { value });
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// eslint-disable-next-line no-empty
|
// eslint-disable-next-line no-empty
|
||||||
}
|
}
|
||||||
Object.defineProperty(fn, 'adapterName', {value});
|
Object.defineProperty(fn, 'adapterName', { value });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render a rejection reason string for unknown or unsupported adapters
|
||||||
|
*
|
||||||
|
* @param {string} reason
|
||||||
|
* @returns {string}
|
||||||
|
*/
|
||||||
const renderReason = (reason) => `- ${reason}`;
|
const renderReason = (reason) => `- ${reason}`;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if the adapter is resolved (function, null, or false)
|
||||||
|
*
|
||||||
|
* @param {Function|null|false} adapter
|
||||||
|
* @returns {boolean}
|
||||||
|
*/
|
||||||
const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
|
const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
|
||||||
|
|
||||||
const adapters = {
|
/**
|
||||||
getAdapter: (adapters, config) => {
|
* Get the first suitable adapter from the provided list.
|
||||||
|
* Tries each adapter in order until a supported one is found.
|
||||||
|
* Throws an AxiosError if no adapter is suitable.
|
||||||
|
*
|
||||||
|
* @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
|
||||||
|
* @param {Object} config - Axios request configuration
|
||||||
|
* @throws {AxiosError} If no suitable adapter is available
|
||||||
|
* @returns {Function} The resolved adapter function
|
||||||
|
*/
|
||||||
|
function getAdapter(adapters, config) {
|
||||||
adapters = utils$1.isArray(adapters) ? adapters : [adapters];
|
adapters = utils$1.isArray(adapters) ? adapters : [adapters];
|
||||||
|
|
||||||
const {length} = adapters;
|
const { length } = adapters;
|
||||||
let nameOrAdapter;
|
let nameOrAdapter;
|
||||||
let adapter;
|
let adapter;
|
||||||
|
|
||||||
@@ -35648,7 +35883,6 @@ const adapters = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!adapter) {
|
if (!adapter) {
|
||||||
|
|
||||||
const reasons = Object.entries(rejectedReasons)
|
const reasons = Object.entries(rejectedReasons)
|
||||||
.map(([id, state]) => `adapter ${id} ` +
|
.map(([id, state]) => `adapter ${id} ` +
|
||||||
(state === false ? 'is not supported by the environment' : 'is not available in the build')
|
(state === false ? 'is not supported by the environment' : 'is not available in the build')
|
||||||
@@ -35665,7 +35899,22 @@ const adapters = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return adapter;
|
return adapter;
|
||||||
},
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exports Axios adapters and utility to resolve an adapter
|
||||||
|
*/
|
||||||
|
const adapters = {
|
||||||
|
/**
|
||||||
|
* Resolve an adapter from a list of adapter names or functions.
|
||||||
|
* @type {Function}
|
||||||
|
*/
|
||||||
|
getAdapter,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Exposes all known adapters
|
||||||
|
* @type {Object<string, Function|Object>}
|
||||||
|
*/
|
||||||
adapters: knownAdapters
|
adapters: knownAdapters
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -36299,6 +36548,12 @@ const HttpStatusCode = {
|
|||||||
LoopDetected: 508,
|
LoopDetected: 508,
|
||||||
NotExtended: 510,
|
NotExtended: 510,
|
||||||
NetworkAuthenticationRequired: 511,
|
NetworkAuthenticationRequired: 511,
|
||||||
|
WebServerIsDown: 521,
|
||||||
|
ConnectionTimedOut: 522,
|
||||||
|
OriginIsUnreachable: 523,
|
||||||
|
TimeoutOccurred: 524,
|
||||||
|
SslHandshakeFailed: 525,
|
||||||
|
InvalidSslCertificate: 526,
|
||||||
};
|
};
|
||||||
|
|
||||||
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
||||||
|
|||||||
60
package-lock.json
generated
60
package-lock.json
generated
@@ -76,9 +76,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ansi-regex": {
|
"node_modules/ansi-regex": {
|
||||||
"version": "6.1.0",
|
"version": "6.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.2.2.tgz",
|
||||||
"integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
|
"integrity": "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -89,9 +89,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ansi-styles": {
|
"node_modules/ansi-styles": {
|
||||||
"version": "6.2.1",
|
"version": "6.2.3",
|
||||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",
|
||||||
"integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
|
"integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -188,9 +188,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/emoji-regex": {
|
"node_modules/emoji-regex": {
|
||||||
"version": "10.4.0",
|
"version": "10.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
|
||||||
"integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==",
|
"integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
@@ -254,9 +254,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/follow-redirects": {
|
"node_modules/follow-redirects": {
|
||||||
"version": "1.15.9",
|
"version": "1.15.11",
|
||||||
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz",
|
"resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.11.tgz",
|
||||||
"integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==",
|
"integrity": "sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -275,9 +275,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/form-data": {
|
"node_modules/form-data": {
|
||||||
"version": "4.0.4",
|
"version": "4.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz",
|
||||||
"integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==",
|
"integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -312,9 +312,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/get-east-asian-width": {
|
"node_modules/get-east-asian-width": {
|
||||||
"version": "1.3.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz",
|
||||||
"integrity": "sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ==",
|
"integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -325,18 +325,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/get-intrinsic": {
|
"node_modules/get-intrinsic": {
|
||||||
"version": "1.2.7",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.7.tgz",
|
"resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
|
||||||
"integrity": "sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==",
|
"integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"call-bind-apply-helpers": "^1.0.1",
|
"call-bind-apply-helpers": "^1.0.2",
|
||||||
"es-define-property": "^1.0.1",
|
"es-define-property": "^1.0.1",
|
||||||
"es-errors": "^1.3.0",
|
"es-errors": "^1.3.0",
|
||||||
"es-object-atoms": "^1.0.0",
|
"es-object-atoms": "^1.1.1",
|
||||||
"function-bind": "^1.1.2",
|
"function-bind": "^1.1.2",
|
||||||
"get-proto": "^1.0.0",
|
"get-proto": "^1.0.1",
|
||||||
"gopd": "^1.2.0",
|
"gopd": "^1.2.0",
|
||||||
"has-symbols": "^1.1.0",
|
"has-symbols": "^1.1.0",
|
||||||
"hasown": "^2.0.2",
|
"hasown": "^2.0.2",
|
||||||
@@ -477,9 +477,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/strip-ansi": {
|
"node_modules/strip-ansi": {
|
||||||
"version": "7.1.0",
|
"version": "7.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
|
||||||
"integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
|
"integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -514,9 +514,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/wrap-ansi": {
|
"node_modules/wrap-ansi": {
|
||||||
"version": "9.0.0",
|
"version": "9.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz",
|
||||||
"integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==",
|
"integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user