Files
codeql-action/node_modules/@mswjs/interceptors/lib/node/index.mjs
2025-04-07 17:59:50 +00:00

39 lines
820 B
JavaScript

import {
BatchInterceptor
} from "./chunk-TBU3WLO3.mjs";
import {
decodeBuffer,
encodeBuffer
} from "./chunk-6HYIRFX2.mjs";
import {
IS_PATCHED_MODULE
} from "./chunk-6YM4PLBI.mjs";
import {
FetchResponse,
INTERNAL_REQUEST_ID_HEADER_NAME,
Interceptor,
InterceptorReadyState,
createRequestId,
deleteGlobalSymbol,
getGlobalSymbol
} from "./chunk-YM42IU6M.mjs";
// src/utils/getCleanUrl.ts
function getCleanUrl(url, isAbsolute = true) {
return [isAbsolute && url.origin, url.pathname].filter(Boolean).join("");
}
export {
BatchInterceptor,
FetchResponse,
INTERNAL_REQUEST_ID_HEADER_NAME,
IS_PATCHED_MODULE,
Interceptor,
InterceptorReadyState,
createRequestId,
decodeBuffer,
deleteGlobalSymbol,
encodeBuffer,
getCleanUrl,
getGlobalSymbol
};
//# sourceMappingURL=index.mjs.map