mistval / node-fetch-cache

Node-fetch with built-in response caching.
MIT License
51 stars 8 forks source link

TypeError with bun #44

Open glensc opened 7 months ago

glensc commented 7 months ago

Please see if this is problem that can be solved in node-fetch-cache:

or where in the code the mismatch happens? in what project the fix needs to happen?

mistval commented 7 months ago

That's curious. I don't know if this package will make the leap to officially support bun but it would be nice if it worked there. I see they added a label to investigate and if it works fine on Node that makes me inclined to think it's an issue with their Node package compatibility. Will wait and see for now.

glensc commented 7 months ago

My gut feeling says that the problem could go away with the "native fetch" api support: