summaryrefslogtreecommitdiff
path: root/cli/file_fetcher.rs
AgeCommit message (Collapse)Author
2022-09-22feat(npm): add support for --reload=npm: and --reload=npm:<package> (#15972)Bartek Iwańczuk
2022-09-19refactor: move out test files from root testdata directory into sub ↵David Sherret
directories (#15949)
2022-09-09feat: download progress bar (#15814)Bartek Iwańczuk
2022-05-20refactor: upgrade to deno_ast 0.15 (#14680)David Sherret
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-02-01refactor: integrate deno_graph breaking changes (#13495)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-01-24fix(lsp): respect DENO_CERT and other options related to TLS certs (#13467)Kitson Kelly
Fixes #13437
2022-01-16fix(cli): Don't strip shebangs from modules (#13220)Andreu Botella
Deno's module loader currently strips a shebang if a module file starts with one. However, this is no longer necessary, since there is a stage-3 TC39 that adds support for shebangs (or "hashbangs") to the language (https://github.com/tc39/proposal-hashbang), and V8, `tsc` and `swc` all support it. Furthermore, stripping shebangs causes a correctness bug with JSON modules, since a JSON file with a shebang should not parse as a JSON module, yet it does with this stripping. This change fixes this.
2022-01-10fix(coverage): don't type check (#13324)Bartek Iwańczuk
This commit changes "deno coverage" command not to type check. Instead of relying on infrastructure for module loading in "deno run"; the code now directly reaches into cache for original and transpiled sources. In case sources are not available the error is returned to the user, suggesting to first run "deno test --coverage" command.
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-22chore: update deno_graph and deno_doc (#13173)Kitson Kelly
2021-12-21feat(lsp): supply accept header when fetching registry config (#13159)Kitson Kelly
Closes #13153
2021-12-15feat: REPL import specifier auto-completions (#13078)David Sherret
2021-12-09feat(lsp): registry suggestion cache respects cache headers (#13010)Kitson Kelly
Fixes #9931
2021-12-01refactor: cli doesn't need to depend on deno_tls (#12952)Ryan Dahl
also move create_http_client to deno_fetch
2021-11-15refactor: clean up cli/file_fetcher.rs (#12772)Ryan Dahl
2021-11-08fix(lsp): cache unsupported import completion origins (#12661)Kitson Kelly
Fixes #12621
2021-11-01chore: upgrade deno_ast to 0.5.0 (#12595)David Sherret
2021-10-11refactor: integrate deno_graph into CLI (#12369)Kitson Kelly
2021-09-30feat(tls): custom in memory CA certificates (#12219)Luca Casonato
This adds support for using in memory CA certificates for `Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`. `certFile` is deprecated in `startTls` and `connectTls`, and removed from `Deno.createHttpClient`.
2021-09-25refactor: Remove unused code (#12210)Ryan Dahl
2021-09-13fix(lsp): support data urls in `deno.importMap` option (#11397)Satya Rohith
2021-09-07refactor(lsp): use deno_ast and cache swc ASTs (#11780)David Sherret
2021-09-02chore: upgrade crates (#11894)Bartek Iwańczuk
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-08-25feat(fetch): mTLS client certificates for fetch() (#11721)Sean Michael Wykes
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`.
2021-08-14cleanup(ext/web/BlobStore): avoid redundant Arc<Box<T>> alloc (#11693)Aaron O'Mullan
2021-08-11chore: move test files to testdata directory (#11601)David Sherret
2021-08-10refactor: --unsafely-ignore-certificate-errors (#11629)Bartek Iwańczuk
2021-08-09feat: Add --unsafely-treat-insecure-origin-as-secure flag to disable SSL ↵TheAifam5
verification (#11324) This commit adds "--unsafely-treat-insecure-origin-as-secure" flag that allows to disable SSL verification for all domains, or specific domains if they were passed as an argument to the flag. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-08-07feat(tls): Optionally support loading native certs (#11491)Justin Chase
This commit adds "DENO_TLS_CA_STORE" env variable to support optionally loading certificates from the users local certificate store. This will allow them to successfully connect via tls with corporate and self signed certs provided they have them installed in their keystore. It also allows them to deal with revoked certs by simply updating their keystore without having to upgrade Deno. Currently supported values are "mozilla", "system" or empty value.
2021-07-30chore: upgrade Rust to 1.54.0 (#11554)Yusuke Tanaka
2021-07-06chore: use parking_lot for synchronization primitives to align with tokio ↵David Sherret
(#11289) parking_lot is already transitively used in tokio via the "full" cargo feature
2021-07-05refactor: asynchronous blob backing store (#10969)Jimmy Wärting
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-06-10refactor: merge deno_file crate into deno_web (#10914)Bartek Iwańczuk
This refactor makes it so there's one less crate to publish on each release.
2021-06-05feat(cli/compile): Support data uri dynamic imports in `deno compile` (#9936)Divy Srivastava
2021-06-02fix(#10815): lsp only responds to formatting for md, json, jsonc (#10816)Kitson Kelly
Fixes #10815
2021-05-13fix(cli): ignore x-typescript-types header when media type is not js/jsx ↵Yoshiya Hinosawa
(#10574)
2021-04-23refactor: use 'data-url' crate to process data URLs in lsp & file_fetcher ↵Satya Rohith
(#10196) Closes: #10118
2021-04-12feat(runtime/permissions): prompt fallback (#9376)crowlKats
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-04-11feat: blob URL support in fetch (#10120)Luca Casonato
This commit adds blob URL support in `fetch`. Tested via WPT. This is the first op_crate to have a rust dependency on a different op_crate.
2021-04-09feat(lsp): add registry import auto-complete (#9934)Kitson Kelly
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-03-25upgrade: Rust 1.51.0 (#9895)Yusuke Tanaka
2021-02-17Make ModuleSpecifier a type alias, not wrapper struct (#9531)Ryan Dahl
2021-02-16feat(cli): support auth tokens for accessing private modules (#9508)Kitson Kelly
Closes #5239
2021-02-15fix(lsp): handle cached type dependencies properly (#9500)Kitson Kelly
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-08feat: denort binary (#9041)Luca Casonato
This commit adds new binary target called "denort". It is a "lite" version of "deno" binary that can only execute code embedded inside the binary itself. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>