Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-22 | perf: cache swc dependency analysis and don't hold onto `ParsedSource`s in ↵ | David Sherret | |
memory (#15502) | |||
2022-07-19 | feat: emit files on demand and fix racy emit (#15220) | David Sherret | |
2022-07-15 | chore: fix Windows specific clippy errors (#15212) | David Sherret | |
2022-07-12 | perf: use emit from swc instead of tsc (#15118) | David Sherret | |
2022-06-26 | build: require safety comments on unsafe code (#13870) | Luca Casonato | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2022-04-19 | perf(fmt/lint): incremental formatting and linting (#14314) | David Sherret | |
2022-02-03 | fix: don't crash when $HOME is a relative path (#13581) | Luca Casonato | |
Absolutize the cache/home dir before use in DenoDir. | |||
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-01-11 | chore: update copyright to 2021 (#9092) | Yusuke Tanaka | |
2020-11-28 | chore: clippy future cleanups (#8514) | Kitson Kelly | |
2020-09-06 | Move JSON ops to deno_core (#7336) | Bert Belder | |
2020-07-13 | fix(cli): don't panic when no "HOME" env var is set (#6728) | Maayan Hanin | |
2020-06-20 | Remove Deno.dir and dirs dependency (#6385) | Ryan Dahl | |
2020-05-24 | fix: create HTTP cache lazily (#5795) | Bartek Iwańczuk | |
2020-05-15 | fix: 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-07 | fix(deno_dir): better error message (#5120) | Yoshiya Hinosawa | |
Add better error messages when a cache subdirectory in `DENO_DIR` cannot be created. | |||
2020-04-03 | clippy (#4618) | Kitson Kelly | |
2020-02-19 | refactor: rewrite HTTP cache for file fetcher (#4030) | Bartek Iwańczuk | |
2020-01-02 | Happy new year! (#3578) | Ry Dahl | |
2019-07-31 | refactor: cleanup compiler pipeline (#2686) | Bartek Iwańczuk | |
* remove fetch_source_file_and_maybe_compile_async and replace it with State.fetch_compiled_module * remove SourceFile.js_source() * introduce CompiledModule which is basically the same as deno::SourceInfo and represents arbitrary file that has been compiled to JS module * introduce //cli/compilers module containing all compilers * introduce JsCompiler which is a no-op compiler - output is the same as input, no compilation takes place - it is used for MediaType::JavaScript and MediaType::Unknown * introduce JsonCompiler that wraps JSON in default export * support JS-to-JS compilation using checkJs | |||
2019-07-31 | factor out FileFetcher to separate module (#2683) | Bartek Iwańczuk | |
* merge SourceFileFetcher trait and FileFetcher struct * move logic related to source file fetching to //cli/file_fetcher.rs * use Result when creating new ThreadSafeState | |||
2019-07-22 | save headers for all intermediate redirects (#2677) | Bartek Iwańczuk | |
2019-07-20 | removed unnecessary implementation from SourceFileFetcher (#2670) | andy finch | |
2019-07-18 | Remove hacky normalize_path (#2660) | Ryan Dahl | |
2019-07-17 | Refactor DenoDir (#2636) | Bartek Iwańczuk | |
* rename `ModuleMetaData` to `SourceFile` and remove TS specific functionality * add `TsCompiler` struct encapsulating processing of TypeScript files * move `SourceMapGetter` trait implementation to `//cli/compiler.rs` * add low-level `DiskCache` API for general purpose caches and use it in `DenoDir` and `TsCompiler` for filesystem access * don't use hash-like filenames for compiled modules, instead use metadata file for storing compilation hash * add `SourceFileCache` for in-process caching of loaded files for fast subsequent access * define `SourceFileFetcher` trait encapsulating loading of local and remote files and implement it for `DenoDir` * define `use_cache` and `no_fetch` flags on `DenoDir` instead of using in fetch methods | |||
2019-07-11 | Refactor error to use dynamic dispatch and traits | Bert Belder | |
This is in preperation for dynamic import (#1789), which is more easily implemented when errors are dynamic. | |||
2019-07-08 | core: replace ModuleSpecifier::to_url() by as_url() | Bert Belder | |
2019-07-08 | cli: refactor deno_dir to use Url instead of String | Bartek Iwańczuk | |
2019-06-25 | Port code from Cargo and use for progress | Ryan Dahl | |
A lot of its functionality is unused still, but the goal it to slowly migrate logging functionality to it. There is also a useful progress bar which can be ported over later - it depends on this module. https://github.com/rust-lang/cargo/blob/4c1fa54d10f58d69ac9ff55be68e1b1c25ecb816/src/cargo/util/progress.rs | |||
2019-06-24 | refactor: use Path/PathBuf in deno dir (#2559) | Bartek Iwańczuk | |
2019-06-24 | fix: prevent multiple downloads of modules (#2477) | Bartek Iwańczuk | |
2019-06-19 | Combine CLI Errors (#2487) | Kitson Kelly | |
2019-05-11 | Add progress bar (#2309) | Ryan Dahl | |
2019-05-09 | fix: support relative path for whitelisting (#2317) | Kevin (Kun) "Kassimo" Qian | |
Using `std::fs::canonicalize` to expand path to full existing path, such that later attempt to loop-pop and compare path segment would work. | |||
2019-05-08 | First pass at permissions whitelist (#2129) | andy finch | |
2019-05-03 | feat: support .mjs extension resolution (#2283) | Kevin (Kun) "Kassimo" Qian | |
Removed `extmap` and added .mjs entry in `map_file_extension`. The assert in the compiler does not need to be updated, since it is resolving from the compiled cache instead of elsewhere (notice the .map is asserted next to it) | |||
2019-05-03 | add --no-fetch CLI flag to prevent remote downloads (#2213) | Bartek Iwańczuk | |
2019-04-29 | Add support for custom tsconfig.json (#2089) | Kitson Kelly | |
Use `--config` | |||
2019-04-17 | Fix clippy warnings | Bert Belder | |
2019-04-13 | fix absolute path resolution from remote (#2109) | Yoshiya Hinosawa | |
2019-04-09 | Silence clippy warnings and format source code | Bert Belder | |
2019-04-01 | Follow redirect location as new referrers for nested module imports (#2031) | Kevin (Kun) "Kassimo" Qian | |
Fixes #1742 Fixes #2021 | |||
2019-03-28 | Merge the --recompile and --reload flags (#2003) | Ryan Dahl | |
2019-03-28 | Clippy fixes (#2009) | Bert Belder | |
2019-03-20 | Fix clippy errors and upgrade Rust to 1.33.0 in CI (#1945) | Ryan Dahl | |
2019-03-20 | Add more async module loading function (#1974) | Ryan Dahl | |
* get_source_code_async * fetch_module_meta_data_async * fetch_module_meta_data_and_maybe_compile_async | |||
2019-03-19 | Add fetch_remote_source_async (#1972) | Ryan Dahl | |
2019-03-19 | Move fetch_remote_source, fetch_local_source | Ryan Dahl | |
They do not depend on DenoDir, so should not be methods of it. | |||
2019-03-19 | Rename //src/ to //cli/ (#1962) | Ryan Dahl | |
To better distinguish the deno_core crate from the executable deno, which will now be called "the cli" internally. |