Update checked-in dependencies
This commit is contained in:
parent
c9f0d30a86
commit
95d52b7807
647 changed files with 498055 additions and 3880 deletions
20
node_modules/@mswjs/interceptors/lib/node/index.d.ts
generated
vendored
20
node_modules/@mswjs/interceptors/lib/node/index.d.ts
generated
vendored
|
|
@ -1,5 +1,5 @@
|
|||
export { E as ExtractEventNames, H as HttpRequestEventMap, d as INTERNAL_REQUEST_ID_HEADER_NAME, I as IS_PATCHED_MODULE, h as Interceptor, b as InterceptorEventMap, f as InterceptorReadyState, c as InterceptorSubscription, R as RequestController, a as RequestCredentials, e as deleteGlobalSymbol, g as getGlobalSymbol } from './Interceptor-436630be.js';
|
||||
export { a as BatchInterceptor, B as BatchInterceptorOptions, E as ExtractEventMapType } from './BatchInterceptor-67bf41ba.js';
|
||||
export { E as ExtractEventNames, H as HttpRequestEventMap, d as INTERNAL_REQUEST_ID_HEADER_NAME, I as IS_PATCHED_MODULE, h as Interceptor, b as InterceptorEventMap, f as InterceptorReadyState, c as InterceptorSubscription, R as RequestController, a as RequestCredentials, e as deleteGlobalSymbol, g as getGlobalSymbol } from './Interceptor-bc5a9d8e.js';
|
||||
export { a as BatchInterceptor, B as BatchInterceptorOptions, E as ExtractEventMapType } from './BatchInterceptor-5b72232f.js';
|
||||
import '@open-draft/deferred-promise';
|
||||
import '@open-draft/logger';
|
||||
import 'strict-event-emitter';
|
||||
|
|
@ -45,4 +45,18 @@ declare class FetchResponse extends Response {
|
|||
constructor(body?: BodyInit | null, init?: FetchResponseInit);
|
||||
}
|
||||
|
||||
export { FetchResponse, 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 { FetchResponse, createRequestId, decodeBuffer, encodeBuffer, getCleanUrl, getRawRequest };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue