Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-11 | refactor(cli/fmt_errors): Format stack frames in prepareStackTrace() (#4706) | Nayeem Rahman | |
2020-04-10 | fix(core/js_error): Get frame data from prepareStackTrace() (#4690) | Nayeem Rahman | |
Fixes: #2703 Fixes: #2710 Closes: #4153 Closes: #4232 Co-authored-by: Kevin (Kun) Kassimo Qian <kevinkassimo@gmail.com> | |||
2020-02-29 | refactor(cli/js): Replace constructError() with getErrorClass() (#4189) | Nayeem Rahman | |
Flattens dispatch error handling to produce one less useless stack frame on op errors. | |||
2020-02-21 | refactor: remove unneeded ErrorKinds (#3936) | Bartek Iwańczuk | |
2019-11-25 | better error message for missing module (#3402) | Bartek Iwańczuk | |
2019-10-03 | Async compiler processing (#3043) | Kitson Kelly | |
Basically this does pre-processing of TypeScript files and gathers all the dependencies asynchronously. Only then after all the dependencies are gathered, does it do a compile, which at that point all the dependencies are cached in memory in the compiler, so with the exception of the hard coded assets, there are no ops during the compilation. Because op_fetch_source_files is now handled asynchronously in the runtime, we can eliminate the tokio_util::block_on() which was causing the increase in threads. Benchmarking on my machine has shown about a 5% improvement in speed when dealing with compiling TypeScript. Still a long way to go, but an improvement. In theory the module name resolution and the fetching of the source files could be broken out as two different ops. This would prevent situations of sending the full source file all the time when actually the module is the same module referenced by multiple modules, but that could be done subsequently to this. | |||
2019-09-16 | Move integration tests to //cli/tests/ (#2964) | Ryan Dahl | |
This ensures the deno executable is properly created before running the integration tests. Also allows deno_cli to be used as a lib. Docs are now properly generated: https://docs.rs/deno_cli/0.18.4/deno_cli/ Towards #2933 Prep for #2955 |