postgrest-js icon indicating copy to clipboard operation
postgrest-js copied to clipboard

chore(PostgrestBuilder): dynamic import `@supabase/node-fetch`

Open liyachun01 opened this issue 1 year ago • 1 comments

Dynamic import('@supabase/node-fetch') in PostgresBuilder to avoid possible Cannot read property 'bind' of undefined error.

Closes #574

liyachun01 avatar Nov 09 '24 13:11 liyachun01

Hi @soedirgo, please kindly look at this PR, thanks~

liyachun01 avatar Nov 10 '24 07:11 liyachun01

I will be closing this issue, since we will be removing @supabase/node-fetch by the end of October 2025. If you think that this change is still needed, please open a new PR in our new repository, here: https://github.com/supabase/supabase-js

Thank you very much for your contribution. 💚 Our community makes Supabase better every day!

mandarini avatar Oct 09 '25 13:10 mandarini