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
Deno cache breaks on redirected libraries. #9129
Comments
cc @kitsonk |
On Deno 1.6.1 looks good, file is not compiling every time |
@xReveres Does this succeed in 1.6.3? |
@lucacasonato Sorry. I'm forgot add information about Deno version in main post. No, from my tests, this "bug"? exists only on Deno v1.6.2 and v1.6.3. |
This issue exists on code I wrote that also uses denopkg for importing some dependencies from github. |
Today I wanted to implement this library:
https://deno.land/x/hmac@v1.0.2
But the problem is that, deno tries recompile whole project every time.
After day of test I found that this library imports own deps.ts with own third party libraries for example:
https://denopkg.com/chiefbiiko/sha1@v1.0.3/mod.ts
If we go under this address, we are redirected to:
https://raw.githubusercontent.com/chiefbiiko/sha1/v1.0.3/mod.ts
In $HOME/.cache/deps directory I see denopkg.com and raw.githubusercontent.com directories, so I don't know if this is a deno or denopkg problem.
Steps to reproduce:
deno run test.ts
The text was updated successfully, but these errors were encountered: