deno_cache icon indicating copy to clipboard operation
deno_cache copied to clipboard

Deno CLI's module cache

Results 11 deno_cache issues
Sort by recently updated
recently updated
newest added

Hello, in this [issue](https://github.com/denoland/deno/issues/14904) i suggested a Deno.fromCache function, they told me to try here. Problem is, that this cache extension creates its own folder inside DENO_DIR not using the...

The `urlToFilename` was adding an extra `?` to the search query before hashing, causing the file names generated by `deno_graph` to not match the hashes generated by Deno itself. This...

I'd happily use `deno_cache` in `deno2node` and deprecate `@fromdeno/cache` if `deno_cache` 1. switches from deprecated `std/hash` to `std/crypto`, 2. provides an npm package which uses `require("crypto").createHash("sha256")`,

- fixed a typo or two - added specifiers to redirects error messages - some other minor edits for better consistency with grammar/style

![code changes](https://github.com/denoland/deno_cache/assets/27040628/0ecaa5f3-469f-4b49-905d-2417ce5667dc) 5dcb098 (`http_cache.ts`, Line 75) changed `Deno.permissions.query` to `Deno.permissions.querySync`. And it seems to break compatibility with Deno Deploy. ``` TypeError: Deno.permissions.querySync is not a function at HttpCache.set (https://deno.land/x/[email protected]/http_cache.ts:75:27) ```...

Currently, `deno_cache` only supports URL imports. The only way to add an `npm:` module to Deno's cache is to: - Import it with a static import. Not ideal since it...

It would be very useful to allow `CacheSettings` to default to whatever Deno itself is doing, for example, if `--reload` has been passed to reload all, or with a list...

This is for Deno 2. See https://github.com/denoland/deno/issues/17707 for details. Format: ``` \n// denoCacheMetadata= ``` File format considerations: 1. We can reuse the original vector we read the file from by...

I noticed this method was taking 3% of execution in a benchmark I ran and it seemed to mostly be because of unnecessary allocations. Built on top of https://github.com/denoland/deno_cache_dir/pull/54 --...

https://github.com/denoland/deno_cache/blob/4128d2889c8682e035ea49fb4ed391691085c3e0/auth_tokens.ts#L49