Update checked-in dependencies
This commit is contained in:
parent
c9f0d30a86
commit
95d52b7807
647 changed files with 498055 additions and 3880 deletions
18
node_modules/@mswjs/interceptors/lib/browser/index.d.ts
generated
vendored
18
node_modules/@mswjs/interceptors/lib/browser/index.d.ts
generated
vendored
|
|
@ -1,4 +1,4 @@
|
|||
export { H as HttpRequestEventMap, I as IS_PATCHED_MODULE, R as RequestController, a as RequestCredentials } from './glossary-6564c252.js';
|
||||
export { H as HttpRequestEventMap, I as IS_PATCHED_MODULE, R as RequestController, a as RequestCredentials } from './glossary-7152281e.js';
|
||||
import { I as Interceptor, E as ExtractEventNames } from './Interceptor-af98b768.js';
|
||||
export { c as INTERNAL_REQUEST_ID_HEADER_NAME, a as InterceptorEventMap, e as InterceptorReadyState, b as InterceptorSubscription, d as deleteGlobalSymbol, g as getGlobalSymbol } from './Interceptor-af98b768.js';
|
||||
import { EventMap, Listener } from 'strict-event-emitter';
|
||||
|
|
@ -66,4 +66,18 @@ declare class FetchResponse extends Response {
|
|||
constructor(body?: BodyInit | null, init?: FetchResponseInit);
|
||||
}
|
||||
|
||||
export { BatchInterceptor, BatchInterceptorOptions, ExtractEventMapType, ExtractEventNames, FetchResponse, Interceptor, createRequestId, decodeBuffer, encodeBuffer, getCleanUrl };
|
||||
/**
|
||||
* Returns a raw request instance associated with this request.
|
||||
*
|
||||
* @example
|
||||
* interceptor.on('request', ({ request }) => {
|
||||
* const rawRequest = getRawRequest(request)
|
||||
*
|
||||
* if (rawRequest instanceof http.ClientRequest) {
|
||||
* console.log(rawRequest.rawHeaders)
|
||||
* }
|
||||
* })
|
||||
*/
|
||||
declare function getRawRequest(request: Request): unknown | undefined;
|
||||
|
||||
export { BatchInterceptor, BatchInterceptorOptions, ExtractEventMapType, ExtractEventNames, FetchResponse, Interceptor, createRequestId, decodeBuffer, encodeBuffer, getCleanUrl, getRawRequest };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue