Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails with private repos, does not respect DENO_AUTH_TOKENS #121

Open
evelant opened this issue Mar 25, 2023 · 0 comments
Open

Fails with private repos, does not respect DENO_AUTH_TOKENS #121

evelant opened this issue Mar 25, 2023 · 0 comments

Comments

@evelant
Copy link

evelant commented Mar 25, 2023

Per the title, this will fail on files that are from private repositories. The files load without issue in Deno thanks to DENO_AUTH_TOKENS.

Looking into a bit it seems this tool handles no auth whatsoever in fetching https modules here

const response = await fetch(String(url), { redirect: "follow" });

Specifically this is failing for me as a user of Supabase edge functions (which run on Deno Deploy). I can't deploy my functions because they're bundled using this tool and they have deps in private repositories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant