sam522's picture
node
d4b85c0
raw
history blame contribute delete
820 Bytes
import {
BatchInterceptor
} from "./chunk-PJA4E426.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-I7HQIBT7.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