summaryrefslogtreecommitdiff
path: root/cli/Cargo.toml
AgeCommit message (Collapse)Author
2022-04-20feat(bench): update API, new console reporter (#14305)evan
This commit changes "deno bench" subcommand, by updating the "Deno.bench" API as follows: - remove "Deno.BenchDefinition.n" - remove "Deno.BenchDefintion.warmup" - add "Deno.BenchDefinition.group" - add "Deno.BenchDefintion.baseline" This is done because bench cases are no longer run fixed amount of iterations, but instead they are run until there is difference between subsequent runs that is statistically insiginificant. Additionally, console reporter was rewritten completely, to looks similar to "hyperfine" reporter.
2022-04-19perf(fmt/lint): incremental formatting and linting (#14314)David Sherret
2022-04-18fix(fmt): regression where some short if stmt headers being split on ↵David Sherret
multiple lines (#14292) Closes #14291
2022-04-15refactor: Move source map lookups to core (#14274)Nayeem Rahman
The following transformations gradually faced by "JsError" have all been moved up front to "JsError::from_v8_exception()": - finding the first non-"deno:" source line; - moving "JsError::script_resource_name" etc. into the first error stack in case of syntax errors; - source mapping "JsError::script_resource_name" etc. when wrapping the error even though the frame locations are source mapped earlier; - removing "JsError::{script_resource_name,line_number,start_column,end_column}" entirely in favour of "js_error.frames.get(0)". We also no longer pass a js-side callback to "core/02_error.js" from cli. I avoided doing this on previous occasions because the source map lookups were in an awkward place.
2022-04-15feat(test): format user code output (#14271)Bartek Iwańczuk
This commit changes "deno test" to better denote user output coming from test cases. This is done by printing "---- output ----" and "---- output end ----" markers if an output is produced. The output from "console" and "Deno.core.print" is captured, as well as direct writes to "Deno.stdout" and "Deno.stderr". To achieve that new APIs were added to "deno_core" crate, that allow to replace an existing resource with a different one (while keeping resource ids intact). Resources for stdout and stderr are replaced by pipes. Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-14chore: forward v1.20.6 release commit to main (#14288)David Sherret
2022-04-08fix: upgrade to swc_ecmascript 0.143 (#14238)David Sherret
2022-04-07chore: forward v1.20.5 release commit to main (#14232)David Sherret
2022-04-03refactor(lsp): migrate from lspower back to tower-lsp (#14163)Jason
2022-04-02chore: update tokio, tokio-util and libc dependencies (#14174)Bartek Iwańczuk
2022-04-01chore(tests): use custom temp dir creation for the tests (#14153)David Sherret
2022-03-311.20.4 (#14168)David Sherret
2022-03-29chore: upgrade dprint-core to 0.54.1 (#14146)David Sherret
2022-03-28fix(task): handle `PATHEXT` with trailing semi-colon (#14140)David Sherret
2022-03-28chore: update clap and completions (#14136)Robert
2022-03-25chore: forward v1.20.3 release commit to main (#14121)Luca Casonato
2022-03-241.20.2Kitson Kelly
2022-03-22fix(unstable): upgrade deno_task_shell to 0.2 (#14073)David Sherret
2022-03-22feat: upgrade to swc_ecmascript 0.137.0 (#14067)David Sherret
2022-03-16v1.20.1Ryan Dahl
2022-03-16chore: fix build (#13997)Ryan Dahl
2022-03-17fix: cargo publish fails without absolute paths (#13993)Ryan Dahl
This reverts commit 4e3ed37037a2aa1edeac260dc3463a81d9cf9b88. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-03-16v1.20.0Ryan Dahl
2022-03-15feat(task): add unstable warning to `deno task` (#13966)David Sherret
2022-03-15chore(test_util): use pretty_assertions::assert_eq when not pattern matching ↵David Sherret
(#13965)
2022-03-14chore: improve build times for `ext/` changes (#13927)Divy Srivastava
2022-03-11feat: "deno bench" subcommand (#13713)Bartek Iwańczuk
This commit adds "deno bench" subcommand and "Deno.bench()" API that allows to register bench cases. The API is modelled after "Deno.test()" and "deno test" subcommand. Currently the output is rudimentary and bench cases and not subject to "ops" and "resource" sanitizers. Co-authored-by: evan <github@evan.lol>
2022-03-11chore(test): fix flaky tasks (#13916)David Sherret
2022-03-10feat: "deno task" subcommand (#13725)Bartek Iwańczuk
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-03-10v1.19.3Yoshiya Hinosawa
2022-03-08chore: update regex to 1.5.5 (#13875)Divy Srivastava
2022-03-031.19.2 (#13825)Satya Rohith
2022-03-03chore: bump crate version for 1.19.2 (#13824)Satya Rohith
2022-02-27feat(compat): CJS/ESM interoperability (#13553)Bartek Iwańczuk
This commit adds CJS/ESM interoperability when running in --compat mode. Before executing files, they are analyzed and all CommonJS modules are transformed on the fly to a ES modules. This is done by utilizing analyze_cjs() functionality from deno_ast. After discovering exports and reexports, an ES module is rendered and saved in memory for later use. There's a caveat that all files ending with ".js" extension are considered as CommonJS modules (unless there's a related "package.json" with "type": "module").
2022-02-24chore: upgrade to Rust 1.59 (#13767)David Sherret
2022-02-241.19.1 (#13762)David Sherret
2022-02-24chore: bump crate versions for 1.19.1 (#13760)David Sherret
2022-02-24chore: upgrade swc_ecmascript to 0.114 (#13758)David Sherret
2022-02-17chore: bump nix to 0.23 (#13701)Divy Srivastava
2022-02-17v1.19.0Bartek Iwańczuk
2022-02-17chore: release crates for v1.19.0 (#13698)Bartek Iwańczuk
2022-02-16feat: deno vendor (#13670)David Sherret
2022-02-16chore: upgrade deno_lint to 0.25.0 (#13683)Bartek Iwańczuk
2022-02-15feat(cli): Replace bundling with eszip in deno compile (#13563)William Tetlow
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2022-02-10feat(lsp): provide completions from import map if available (#13624)Kitson Kelly
Closes #13619
2022-02-05chore: update clap_complete to 3.0.5 (#13597)Leo Kettmeir
2022-02-04chore: forward v1.18.2 to main (#13595)Bartek Iwańczuk
2022-02-02chore: upgrade crates (#13560)Bartek Iwańczuk
2022-02-01refactor: integrate deno_graph breaking changes (#13495)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-01-27chore: forward v1.18.1 to main (#13514)Bartek Iwańczuk