summaryrefslogtreecommitdiff
path: root/cli/http_cache.rs
AgeCommit message (Collapse)Author
2022-11-28refactor: create util folder, move nap_sym to napi/sym, move http_cache to ↵David Sherret
cache folder (#16857)
2022-11-18fix(npm): use an http client with connection pool (#16705)David Sherret
Should make downloading npm packages faster and more reliable.
2022-11-18chore: use Rust 1.65.0 (#16688)Aaron O'Mullan
2022-04-01chore(tests): use custom temp dir creation for the tests (#14153)David Sherret
2022-03-23chore: remove all `pub(crate)`s from the cli crate (#14083)David Sherret
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-09feat(lsp): registry suggestion cache respects cache headers (#13010)Kitson Kelly
Fixes #9931
2021-10-29refactor(lsp): use deno_graph and single document struct (#12535)Kitson Kelly
Closes #12473
2021-09-05fix(doc): fix rustdoc bare_urls warning (#11921)Feng Yu
2021-07-30chore: upgrade Rust to 1.54.0 (#11554)Yusuke Tanaka
2021-04-07feat: blob URL support (#10045)Luca Casonato
This commit adds blob URL support. Blob URLs are stored in a process global storage, that can be accessed from all workers, and the module loader. Blob URLs can be created using `URL.createObjectURL` and revoked using `URL.revokeObjectURL`. This commit does not add support for `fetch`ing blob URLs. This will be added in a follow up commit.
2021-03-26remove macro_use (#9884)Ryan Dahl
2021-02-26chore(cli/runtime): use re-export serde from deno_core (#9599)Kitson Kelly
2021-02-15fix(lsp): handle cached type dependencies properly (#9500)Kitson Kelly
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-06feat(cli): support data urls (#8866)Kitson Kelly
Closes: #5059 Co-authored-by: Valentin Anger <syrupthinker@gryphno.de>
2020-12-18fix: atomically write files to $DENO_DIR (#8822)Luca Casonato
2020-12-07feat: add mvp language server (#8515)Kitson Kelly
Resolves #8400
2020-11-16refactor(cli): rename fs module to fs_util (#8380)Bartek Iwańczuk
This commit renames "fs" module in "cli/" to "fs_util". This is purely cosmetic change; there were a few places which aliased "crate::fs" to "deno_fs" which was very confusing with "fs" module in ops.
2020-10-26fix: Use -rw-r--r-- for cache files (#8132)Ryan Dahl
2020-10-12chore(cli): remove dead code (#7941)Kitson Kelly
2020-09-21refactor: use futures and serde_json from deno_core (#7614)Bartek Iwańczuk
2020-09-16Re-export deno_core::url (#7525)Ryan Dahl
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
2020-09-16Remove unnecessary serde_derive dependencyRyan Dahl
2020-09-16Revert "fix(cli/http_utils): accept a single key-multiple values headers ↵Bartek Iwańczuk
(#7375)" (#7515) This reverts commit f5c84920c225579af9c249bdac4a59a046ef8683.
2020-09-15fix(cli/http_utils): accept a single key-multiple values headers (#7375)tokiedokie
2020-09-15refactor: use the 'anyhow' crate instead of 'ErrBox' (#7476)Bert Belder
2020-09-15chore: fix clippy warnings (#7476)Bert Belder
2020-08-10Remove unnecessary drop calls (#7007)Ryan Dahl
2020-06-29refactor: util functions take slices instead of heap values (#6547)Valentin Anger
2020-05-24fix: create HTTP cache lazily (#5795)Bartek Iwańczuk
2020-05-15fix: panic if $DENO_DIR is a relative path (#5375)Bartek Iwańczuk
This commit fixes panic occurring if $DENO_DIR is set to a relative path, eg. "DENO_DIR=denodir deno run main.ts". Before creating DenoDir instance given path is checked and if necessary resolved against current working directory. Additional sanity checks were put in place to ensure all caches receive absolute path for the location.
2020-05-07fix(deno_dir): better error message (#5120)Yoshiya Hinosawa
Add better error messages when a cache subdirectory in `DENO_DIR` cannot be created.
2020-02-28http_cache: change .headers.json to .metadata.json (#4175)Ryan Dahl
Add original URL to metadata. This is so the VS Code Plugin can reverse look up the URL for cache entries. Ref #4069.
2020-02-19refactor: rewrite HTTP cache for file fetcher (#4030)Bartek Iwańczuk