Update checked-in dependencies
This commit is contained in:
parent
55ff016766
commit
313daefcef
1570 changed files with 4230 additions and 228668 deletions
|
|
@ -70,8 +70,9 @@ var _FetchResponse = class extends Response {
|
|||
const safeStatus = _FetchResponse.isConfigurableStatusCode(status) ? status : 200;
|
||||
const finalBody = _FetchResponse.isResponseWithBody(status) ? body : null;
|
||||
super(finalBody, {
|
||||
...init,
|
||||
status: safeStatus
|
||||
status: safeStatus,
|
||||
statusText: init.statusText,
|
||||
headers: init.headers
|
||||
});
|
||||
if (status !== safeStatus) {
|
||||
const state = getValueBySymbol("state", this);
|
||||
|
|
@ -113,4 +114,4 @@ export {
|
|||
getRawRequest,
|
||||
setRawRequest
|
||||
};
|
||||
//# sourceMappingURL=chunk-CNX33NZA.mjs.map
|
||||
//# sourceMappingURL=chunk-3RXCRGL2.mjs.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,7 @@ import {
|
|||
IS_PATCHED_MODULE,
|
||||
canParseUrl,
|
||||
setRawRequest
|
||||
} from "./chunk-CNX33NZA.mjs";
|
||||
} from "./chunk-3RXCRGL2.mjs";
|
||||
import {
|
||||
hasConfigurableGlobal
|
||||
} from "./chunk-TX5GBTFY.mjs";
|
||||
|
|
@ -288,4 +288,4 @@ FetchInterceptor.symbol = Symbol("fetch");
|
|||
export {
|
||||
FetchInterceptor
|
||||
};
|
||||
//# sourceMappingURL=chunk-SKG3GP7X.mjs.map
|
||||
//# sourceMappingURL=chunk-ARPHZXGT.mjs.map
|
||||
|
|
@ -11,7 +11,7 @@ var _chunkGTJ35JP4js = require('./chunk-GTJ35JP4.js');
|
|||
|
||||
|
||||
|
||||
var _chunkMSUVVHIGjs = require('./chunk-MSUVVHIG.js');
|
||||
var _chunkT7TBRNJZjs = require('./chunk-T7TBRNJZ.js');
|
||||
|
||||
|
||||
var _chunkPFGO5BSMjs = require('./chunk-PFGO5BSM.js');
|
||||
|
|
@ -207,8 +207,8 @@ function parseJson(data) {
|
|||
|
||||
// src/interceptors/XMLHttpRequest/utils/createResponse.ts
|
||||
function createResponse(request, body) {
|
||||
const responseBodyOrNull = _chunkMSUVVHIGjs.FetchResponse.isResponseWithBody(request.status) ? body : null;
|
||||
return new (0, _chunkMSUVVHIGjs.FetchResponse)(responseBodyOrNull, {
|
||||
const responseBodyOrNull = _chunkT7TBRNJZjs.FetchResponse.isResponseWithBody(request.status) ? body : null;
|
||||
return new (0, _chunkT7TBRNJZjs.FetchResponse)(responseBodyOrNull, {
|
||||
url: request.responseURL,
|
||||
status: request.status,
|
||||
statusText: request.statusText,
|
||||
|
|
@ -694,7 +694,7 @@ var XMLHttpRequestController = class {
|
|||
}
|
||||
});
|
||||
define(fetchRequest, "headers", proxyHeaders);
|
||||
_chunkMSUVVHIGjs.setRawRequest.call(void 0, fetchRequest, this.request);
|
||||
_chunkT7TBRNJZjs.setRawRequest.call(void 0, fetchRequest, this.request);
|
||||
this.logger.info("converted request to a Fetch API Request!", fetchRequest);
|
||||
return fetchRequest;
|
||||
}
|
||||
|
|
@ -809,7 +809,7 @@ var _XMLHttpRequestInterceptor = class extends _chunkTIPR373Rjs.Interceptor {
|
|||
logger.info('patching "XMLHttpRequest" module...');
|
||||
const PureXMLHttpRequest = globalThis.XMLHttpRequest;
|
||||
_outvariant.invariant.call(void 0,
|
||||
!PureXMLHttpRequest[_chunkMSUVVHIGjs.IS_PATCHED_MODULE],
|
||||
!PureXMLHttpRequest[_chunkT7TBRNJZjs.IS_PATCHED_MODULE],
|
||||
'Failed to patch the "XMLHttpRequest" module: already patched.'
|
||||
);
|
||||
globalThis.XMLHttpRequest = createXMLHttpRequestProxy({
|
||||
|
|
@ -820,13 +820,13 @@ var _XMLHttpRequestInterceptor = class extends _chunkTIPR373Rjs.Interceptor {
|
|||
'native "XMLHttpRequest" module patched!',
|
||||
globalThis.XMLHttpRequest.name
|
||||
);
|
||||
Object.defineProperty(globalThis.XMLHttpRequest, _chunkMSUVVHIGjs.IS_PATCHED_MODULE, {
|
||||
Object.defineProperty(globalThis.XMLHttpRequest, _chunkT7TBRNJZjs.IS_PATCHED_MODULE, {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
value: true
|
||||
});
|
||||
this.subscriptions.push(() => {
|
||||
Object.defineProperty(globalThis.XMLHttpRequest, _chunkMSUVVHIGjs.IS_PATCHED_MODULE, {
|
||||
Object.defineProperty(globalThis.XMLHttpRequest, _chunkT7TBRNJZjs.IS_PATCHED_MODULE, {
|
||||
value: void 0
|
||||
});
|
||||
globalThis.XMLHttpRequest = PureXMLHttpRequest;
|
||||
|
|
@ -843,4 +843,4 @@ XMLHttpRequestInterceptor.interceptorSymbol = Symbol("xhr");
|
|||
|
||||
|
||||
exports.XMLHttpRequestInterceptor = XMLHttpRequestInterceptor;
|
||||
//# sourceMappingURL=chunk-O2RCNIMR.js.map
|
||||
//# sourceMappingURL=chunk-L4DRUEKJ.js.map
|
||||
1
node_modules/@mswjs/interceptors/lib/browser/chunk-MSUVVHIG.js.map
generated
vendored
1
node_modules/@mswjs/interceptors/lib/browser/chunk-MSUVVHIG.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,7 @@ var _chunkGTJ35JP4js = require('./chunk-GTJ35JP4.js');
|
|||
|
||||
|
||||
|
||||
var _chunkMSUVVHIGjs = require('./chunk-MSUVVHIG.js');
|
||||
var _chunkT7TBRNJZjs = require('./chunk-T7TBRNJZ.js');
|
||||
|
||||
|
||||
var _chunkPFGO5BSMjs = require('./chunk-PFGO5BSM.js');
|
||||
|
|
@ -172,15 +172,15 @@ var _FetchInterceptor = class extends _chunkTIPR373Rjs.Interceptor {
|
|||
async setup() {
|
||||
const pureFetch = globalThis.fetch;
|
||||
_outvariant.invariant.call(void 0,
|
||||
!pureFetch[_chunkMSUVVHIGjs.IS_PATCHED_MODULE],
|
||||
!pureFetch[_chunkT7TBRNJZjs.IS_PATCHED_MODULE],
|
||||
'Failed to patch the "fetch" module: already patched.'
|
||||
);
|
||||
globalThis.fetch = async (input, init) => {
|
||||
const requestId = _chunkTIPR373Rjs.createRequestId.call(void 0, );
|
||||
const resolvedInput = typeof input === "string" && typeof location !== "undefined" && !_chunkMSUVVHIGjs.canParseUrl.call(void 0, input) ? new URL(input, location.href) : input;
|
||||
const resolvedInput = typeof input === "string" && typeof location !== "undefined" && !_chunkT7TBRNJZjs.canParseUrl.call(void 0, input) ? new URL(input, location.href) : input;
|
||||
const request = new Request(resolvedInput, init);
|
||||
if (input instanceof Request) {
|
||||
_chunkMSUVVHIGjs.setRawRequest.call(void 0, request, input);
|
||||
_chunkT7TBRNJZjs.setRawRequest.call(void 0, request, input);
|
||||
}
|
||||
const responsePromise = new (0, _deferredpromise.DeferredPromise)();
|
||||
const controller = new (0, _chunkGTJ35JP4js.RequestController)(request);
|
||||
|
|
@ -200,9 +200,9 @@ var _FetchInterceptor = class extends _chunkTIPR373Rjs.Interceptor {
|
|||
rawResponse
|
||||
});
|
||||
const decompressedStream = decompressResponse(rawResponse);
|
||||
const response = decompressedStream === null ? rawResponse : new (0, _chunkMSUVVHIGjs.FetchResponse)(decompressedStream, rawResponse);
|
||||
_chunkMSUVVHIGjs.FetchResponse.setUrl(request.url, response);
|
||||
if (_chunkMSUVVHIGjs.FetchResponse.isRedirectResponse(response.status)) {
|
||||
const response = decompressedStream === null ? rawResponse : new (0, _chunkT7TBRNJZjs.FetchResponse)(decompressedStream, rawResponse);
|
||||
_chunkT7TBRNJZjs.FetchResponse.setUrl(request.url, response);
|
||||
if (_chunkT7TBRNJZjs.FetchResponse.isRedirectResponse(response.status)) {
|
||||
if (request.redirect === "error") {
|
||||
responsePromise.reject(createNetworkError("unexpected redirect"));
|
||||
return;
|
||||
|
|
@ -265,13 +265,13 @@ var _FetchInterceptor = class extends _chunkTIPR373Rjs.Interceptor {
|
|||
return response;
|
||||
});
|
||||
};
|
||||
Object.defineProperty(globalThis.fetch, _chunkMSUVVHIGjs.IS_PATCHED_MODULE, {
|
||||
Object.defineProperty(globalThis.fetch, _chunkT7TBRNJZjs.IS_PATCHED_MODULE, {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
value: true
|
||||
});
|
||||
this.subscriptions.push(() => {
|
||||
Object.defineProperty(globalThis.fetch, _chunkMSUVVHIGjs.IS_PATCHED_MODULE, {
|
||||
Object.defineProperty(globalThis.fetch, _chunkT7TBRNJZjs.IS_PATCHED_MODULE, {
|
||||
value: void 0
|
||||
});
|
||||
globalThis.fetch = pureFetch;
|
||||
|
|
@ -288,4 +288,4 @@ FetchInterceptor.symbol = Symbol("fetch");
|
|||
|
||||
|
||||
exports.FetchInterceptor = FetchInterceptor;
|
||||
//# sourceMappingURL=chunk-UY4VLZVB.js.map
|
||||
//# sourceMappingURL=chunk-OTQFOPZM.js.map
|
||||
|
|
@ -11,7 +11,7 @@ import {
|
|||
FetchResponse,
|
||||
IS_PATCHED_MODULE,
|
||||
setRawRequest
|
||||
} from "./chunk-CNX33NZA.mjs";
|
||||
} from "./chunk-3RXCRGL2.mjs";
|
||||
import {
|
||||
hasConfigurableGlobal
|
||||
} from "./chunk-TX5GBTFY.mjs";
|
||||
|
|
@ -843,4 +843,4 @@ XMLHttpRequestInterceptor.interceptorSymbol = Symbol("xhr");
|
|||
export {
|
||||
XMLHttpRequestInterceptor
|
||||
};
|
||||
//# sourceMappingURL=chunk-7RPAMWJ6.mjs.map
|
||||
//# sourceMappingURL=chunk-QKSBFQDK.mjs.map
|
||||
|
|
@ -70,8 +70,9 @@ var _FetchResponse = class extends Response {
|
|||
const safeStatus = _FetchResponse.isConfigurableStatusCode(status) ? status : 200;
|
||||
const finalBody = _FetchResponse.isResponseWithBody(status) ? body : null;
|
||||
super(finalBody, {
|
||||
...init,
|
||||
status: safeStatus
|
||||
status: safeStatus,
|
||||
statusText: init.statusText,
|
||||
headers: init.headers
|
||||
});
|
||||
if (status !== safeStatus) {
|
||||
const state = getValueBySymbol("state", this);
|
||||
|
|
@ -113,4 +114,4 @@ function setRawRequest(request, rawRequest) {
|
|||
|
||||
|
||||
exports.IS_PATCHED_MODULE = IS_PATCHED_MODULE; exports.canParseUrl = canParseUrl; exports.FetchResponse = FetchResponse; exports.getRawRequest = getRawRequest; exports.setRawRequest = setRawRequest;
|
||||
//# sourceMappingURL=chunk-MSUVVHIG.js.map
|
||||
//# sourceMappingURL=chunk-T7TBRNJZ.js.map
|
||||
1
node_modules/@mswjs/interceptors/lib/browser/chunk-T7TBRNJZ.js.map
generated
vendored
Normal file
1
node_modules/@mswjs/interceptors/lib/browser/chunk-T7TBRNJZ.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
4
node_modules/@mswjs/interceptors/lib/browser/index.js
generated
vendored
4
node_modules/@mswjs/interceptors/lib/browser/index.js
generated
vendored
|
|
@ -6,7 +6,7 @@ var _chunkLK6DILFKjs = require('./chunk-LK6DILFK.js');
|
|||
|
||||
|
||||
|
||||
var _chunkMSUVVHIGjs = require('./chunk-MSUVVHIG.js');
|
||||
var _chunkT7TBRNJZjs = require('./chunk-T7TBRNJZ.js');
|
||||
|
||||
|
||||
|
||||
|
|
@ -77,5 +77,5 @@ function getCleanUrl(url, isAbsolute = true) {
|
|||
|
||||
|
||||
|
||||
exports.BatchInterceptor = BatchInterceptor; exports.FetchResponse = _chunkMSUVVHIGjs.FetchResponse; exports.INTERNAL_REQUEST_ID_HEADER_NAME = _chunkTIPR373Rjs.INTERNAL_REQUEST_ID_HEADER_NAME; exports.IS_PATCHED_MODULE = _chunkMSUVVHIGjs.IS_PATCHED_MODULE; exports.Interceptor = _chunkTIPR373Rjs.Interceptor; exports.InterceptorReadyState = _chunkTIPR373Rjs.InterceptorReadyState; exports.createRequestId = _chunkTIPR373Rjs.createRequestId; exports.decodeBuffer = _chunkLK6DILFKjs.decodeBuffer; exports.deleteGlobalSymbol = _chunkTIPR373Rjs.deleteGlobalSymbol; exports.encodeBuffer = _chunkLK6DILFKjs.encodeBuffer; exports.getCleanUrl = getCleanUrl; exports.getGlobalSymbol = _chunkTIPR373Rjs.getGlobalSymbol; exports.getRawRequest = _chunkMSUVVHIGjs.getRawRequest;
|
||||
exports.BatchInterceptor = BatchInterceptor; exports.FetchResponse = _chunkT7TBRNJZjs.FetchResponse; exports.INTERNAL_REQUEST_ID_HEADER_NAME = _chunkTIPR373Rjs.INTERNAL_REQUEST_ID_HEADER_NAME; exports.IS_PATCHED_MODULE = _chunkT7TBRNJZjs.IS_PATCHED_MODULE; exports.Interceptor = _chunkTIPR373Rjs.Interceptor; exports.InterceptorReadyState = _chunkTIPR373Rjs.InterceptorReadyState; exports.createRequestId = _chunkTIPR373Rjs.createRequestId; exports.decodeBuffer = _chunkLK6DILFKjs.decodeBuffer; exports.deleteGlobalSymbol = _chunkTIPR373Rjs.deleteGlobalSymbol; exports.encodeBuffer = _chunkLK6DILFKjs.encodeBuffer; exports.getCleanUrl = getCleanUrl; exports.getGlobalSymbol = _chunkTIPR373Rjs.getGlobalSymbol; exports.getRawRequest = _chunkT7TBRNJZjs.getRawRequest;
|
||||
//# sourceMappingURL=index.js.map
|
||||
2
node_modules/@mswjs/interceptors/lib/browser/index.mjs
generated
vendored
2
node_modules/@mswjs/interceptors/lib/browser/index.mjs
generated
vendored
|
|
@ -6,7 +6,7 @@ import {
|
|||
FetchResponse,
|
||||
IS_PATCHED_MODULE,
|
||||
getRawRequest
|
||||
} from "./chunk-CNX33NZA.mjs";
|
||||
} from "./chunk-3RXCRGL2.mjs";
|
||||
import {
|
||||
INTERNAL_REQUEST_ID_HEADER_NAME,
|
||||
Interceptor,
|
||||
|
|
|
|||
6
node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.js
generated
vendored
6
node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.js
generated
vendored
|
|
@ -1,12 +1,12 @@
|
|||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var _chunkO2RCNIMRjs = require('../../chunk-O2RCNIMR.js');
|
||||
var _chunkL4DRUEKJjs = require('../../chunk-L4DRUEKJ.js');
|
||||
require('../../chunk-LK6DILFK.js');
|
||||
require('../../chunk-GTJ35JP4.js');
|
||||
require('../../chunk-MSUVVHIG.js');
|
||||
require('../../chunk-T7TBRNJZ.js');
|
||||
require('../../chunk-PFGO5BSM.js');
|
||||
require('../../chunk-TIPR373R.js');
|
||||
|
||||
|
||||
exports.XMLHttpRequestInterceptor = _chunkO2RCNIMRjs.XMLHttpRequestInterceptor;
|
||||
exports.XMLHttpRequestInterceptor = _chunkL4DRUEKJjs.XMLHttpRequestInterceptor;
|
||||
//# sourceMappingURL=index.js.map
|
||||
4
node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.mjs
generated
vendored
4
node_modules/@mswjs/interceptors/lib/browser/interceptors/XMLHttpRequest/index.mjs
generated
vendored
|
|
@ -1,9 +1,9 @@
|
|||
import {
|
||||
XMLHttpRequestInterceptor
|
||||
} from "../../chunk-7RPAMWJ6.mjs";
|
||||
} from "../../chunk-QKSBFQDK.mjs";
|
||||
import "../../chunk-6HYIRFX2.mjs";
|
||||
import "../../chunk-L37TY7LC.mjs";
|
||||
import "../../chunk-CNX33NZA.mjs";
|
||||
import "../../chunk-3RXCRGL2.mjs";
|
||||
import "../../chunk-TX5GBTFY.mjs";
|
||||
import "../../chunk-QED3Q6Z2.mjs";
|
||||
export {
|
||||
|
|
|
|||
6
node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.js
generated
vendored
6
node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.js
generated
vendored
|
|
@ -1,11 +1,11 @@
|
|||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var _chunkUY4VLZVBjs = require('../../chunk-UY4VLZVB.js');
|
||||
var _chunkOTQFOPZMjs = require('../../chunk-OTQFOPZM.js');
|
||||
require('../../chunk-GTJ35JP4.js');
|
||||
require('../../chunk-MSUVVHIG.js');
|
||||
require('../../chunk-T7TBRNJZ.js');
|
||||
require('../../chunk-PFGO5BSM.js');
|
||||
require('../../chunk-TIPR373R.js');
|
||||
|
||||
|
||||
exports.FetchInterceptor = _chunkUY4VLZVBjs.FetchInterceptor;
|
||||
exports.FetchInterceptor = _chunkOTQFOPZMjs.FetchInterceptor;
|
||||
//# sourceMappingURL=index.js.map
|
||||
4
node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.mjs
generated
vendored
4
node_modules/@mswjs/interceptors/lib/browser/interceptors/fetch/index.mjs
generated
vendored
|
|
@ -1,8 +1,8 @@
|
|||
import {
|
||||
FetchInterceptor
|
||||
} from "../../chunk-SKG3GP7X.mjs";
|
||||
} from "../../chunk-ARPHZXGT.mjs";
|
||||
import "../../chunk-L37TY7LC.mjs";
|
||||
import "../../chunk-CNX33NZA.mjs";
|
||||
import "../../chunk-3RXCRGL2.mjs";
|
||||
import "../../chunk-TX5GBTFY.mjs";
|
||||
import "../../chunk-QED3Q6Z2.mjs";
|
||||
export {
|
||||
|
|
|
|||
10
node_modules/@mswjs/interceptors/lib/browser/presets/browser.js
generated
vendored
10
node_modules/@mswjs/interceptors/lib/browser/presets/browser.js
generated
vendored
|
|
@ -1,19 +1,19 @@
|
|||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
||||
|
||||
var _chunkO2RCNIMRjs = require('../chunk-O2RCNIMR.js');
|
||||
var _chunkL4DRUEKJjs = require('../chunk-L4DRUEKJ.js');
|
||||
require('../chunk-LK6DILFK.js');
|
||||
|
||||
|
||||
var _chunkUY4VLZVBjs = require('../chunk-UY4VLZVB.js');
|
||||
var _chunkOTQFOPZMjs = require('../chunk-OTQFOPZM.js');
|
||||
require('../chunk-GTJ35JP4.js');
|
||||
require('../chunk-MSUVVHIG.js');
|
||||
require('../chunk-T7TBRNJZ.js');
|
||||
require('../chunk-PFGO5BSM.js');
|
||||
require('../chunk-TIPR373R.js');
|
||||
|
||||
// src/presets/browser.ts
|
||||
var browser_default = [
|
||||
new (0, _chunkUY4VLZVBjs.FetchInterceptor)(),
|
||||
new (0, _chunkO2RCNIMRjs.XMLHttpRequestInterceptor)()
|
||||
new (0, _chunkOTQFOPZMjs.FetchInterceptor)(),
|
||||
new (0, _chunkL4DRUEKJjs.XMLHttpRequestInterceptor)()
|
||||
];
|
||||
|
||||
|
||||
|
|
|
|||
6
node_modules/@mswjs/interceptors/lib/browser/presets/browser.mjs
generated
vendored
6
node_modules/@mswjs/interceptors/lib/browser/presets/browser.mjs
generated
vendored
|
|
@ -1,12 +1,12 @@
|
|||
import {
|
||||
XMLHttpRequestInterceptor
|
||||
} from "../chunk-7RPAMWJ6.mjs";
|
||||
} from "../chunk-QKSBFQDK.mjs";
|
||||
import "../chunk-6HYIRFX2.mjs";
|
||||
import {
|
||||
FetchInterceptor
|
||||
} from "../chunk-SKG3GP7X.mjs";
|
||||
} from "../chunk-ARPHZXGT.mjs";
|
||||
import "../chunk-L37TY7LC.mjs";
|
||||
import "../chunk-CNX33NZA.mjs";
|
||||
import "../chunk-3RXCRGL2.mjs";
|
||||
import "../chunk-TX5GBTFY.mjs";
|
||||
import "../chunk-QED3Q6Z2.mjs";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue