fixed version control heatmap and activity

This commit is contained in:
will
2026-04-02 20:38:56 +01:00
parent 1da5da43e1
commit 250a7030bf
1777 changed files with 170575 additions and 83 deletions

View File

@@ -0,0 +1,26 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "interceptHttpGet", {
enumerable: true,
get: function() {
return interceptHttpGet;
}
});
const _ClientRequest = require("next/dist/compiled/@mswjs/interceptors/ClientRequest");
const _fetch = require("./fetch");
function interceptHttpGet(originalFetch) {
const clientRequestInterceptor = new _ClientRequest.ClientRequestInterceptor();
clientRequestInterceptor.on("request", async ({ request })=>{
const response = await (0, _fetch.handleFetch)(originalFetch, request);
request.respondWith(response);
});
clientRequestInterceptor.apply();
// Cleanup.
return ()=>{
clientRequestInterceptor.dispose();
};
}
//# sourceMappingURL=httpget.js.map