I just want to use it during the request, why was it decided to remove indexedDB though?
setting global.indexedDB = idb makes indexedDB available but the menthods are not the same, so my usecase does not work with cloudflare workers but interesting to know that this is possible.
this uses indexedDB so, this is just cloning the repo making modifications and then pushing it. but now that I think cloudlare workers will have some memory limitations which won’t let it clone larger repositories anyway.
I want to chime in just because I’ve honestly thought about doing this to but of course never had time to get around to it. But as the author of isomorphic-git, I’m always curious how it could be used in different environments.
@hrishikeshbman what were the memory limitations you ran into? I’m super curious.
And the 128MB limit is not per-request, but during the lifetime of the worker until it get evacuated. So even if you don’t use the full 128MB during the request, subsequent requests might fill it.