AmusedGrape
AmusedGrape
DDeno
Created by AmusedGrape on 8/7/2023 in #help
Override NPM package dependency
Relating to my question yesterday (https://canary.discord.com/channels/684898665143206084/1137532072639070268), I've gone ahead and made some changes to the problem library in my own fork. How can I override @supabase/supabase-js's dependency of @supabase/gotrue-js with my own fork? I've seen import maps and scopes, however they're confusing and I have no idea what I'm doing hah.
1 replies
DDeno
Created by AmusedGrape on 8/5/2023 in #help
LocalStorage Override
I'm using a library (@supabase/supabase-js), and I'm compiling my Deno app into an executable, however when I run it I get: error: Uncaught NotSupported: LocalStorage is not supported in this context. The weird thing, is that I have a custom storage adapter for Supabase (using SQLite more or less) however I'm still getting this issue. My question is, is it possible to override the localStorage usage in a third-party library so I can use this executable? Thanks!
11 replies