summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2022-03-16feat(ops): optional OpState (#13954)Aaron O'Mullan
2022-03-15chore(test_util): use pretty_assertions::assert_eq when not pattern matching ↵David Sherret
(#13965)
2022-03-15disable flakes (#13962)Ryan Dahl
2022-03-14feat(ops): custom arity (#13949)Aaron O'Mullan
Also cleanup & drop ignored wildcard op-args
2022-03-14feat(ext/web): Add `AbortSignal.timeout()` (#13687)Andreu Botella
2022-03-14fix: shell completion hints (#13876)Leo Kettmeir
2022-03-14fix(core): Don't override structured clone error messages from V8 (#13942)Andreu Botella
In the implementation of structured serialization in `Deno.core.serialize`, whenever there is a serialization error, an exception will be thrown with the message "Failed to serialize response", even though V8 provides a message to use in such cases. This change instead throws an exception with the V8-provided message, if there is one.
2022-03-14feat(core): codegen ops (#13861)Divy Srivastava
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-14chore: improve build times for `ext/` changes (#13927)Divy Srivastava
2022-03-12feat(task): log task script (#13922)Bartek Iwańczuk
Logs task name and associated script with additional args. This is disabled if "--quiet/-q" flag is present.
2022-03-12test: fix flaky compat tests (#13921)Bartek Iwańczuk
2022-03-11feat(task): allow colons in task name (#13918)Bartek Iwańczuk
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-12refactor(core): validate promise id in refOp (#13905)Yoshiya Hinosawa
2022-03-11fix(ext/crypto): handle JWK import with "use" (#13912)Filip Skokan
2022-03-10feat: "deno task" subcommand (#13725)Bartek Iwańczuk
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-03-11fix(compat): cjs/esm interop for dynamic imports (#13792)Bartek Iwańczuk
This commit fixes CJS/ESM interop in compat mode for dynamically imported modules. "ProcState::prepare_module_load" was changed to accept a list of "graph roots" without associated "module kind". That module kind was always hardcoded to "ESM" which is not true for CJS/ESM interop - a CommonJs module might be imported using "import()" function. In such case the root of the graph should have "CommonJs" module kind instead of "ESM".
2022-03-11fix(test): skip typechecking for blocks inside HTML comments (#13889)Geert-Jan Zwiers
2022-03-10fix(info): print deno info paths with unescaped backslashes on windows (#13847)Geert-Jan Zwiers
2022-03-11types: add Deno.PermissionOptions and Deno.PermissionOptionsObject (#13892)Bartek Iwańczuk
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2022-03-10v1.19.3Yoshiya Hinosawa
2022-03-09test: update expected test output for 'deno test' (#13882)Bartek Iwańczuk
2022-03-09chore(ext/crypto): remove old todos (#13887)Divy Srivastava
2022-03-09refactor(test): use tokio::sync::mpsc::unbounded_channel (#13881)Bartek Iwańczuk
This causes to block one less thread when running "deno test" subcommand.
2022-03-09refactor: add cli/display.rs module (#13879)Bartek Iwańczuk
2022-03-08refactor(test): don't spawn additional thread (#13877)Bartek Iwańczuk
2022-03-08chore: update regex to 1.5.5 (#13875)Divy Srivastava
2022-03-08fix(test): typecheck blocks annotated with long js/ts notations (#13785)Geert-Jan Zwiers
2022-03-07fix(ext/http): drop content-length header on compression (#13866)Satya Rohith
2022-03-07bench(common): base64 short strings (#13851)Aaron O'Mullan
2022-03-04bench: add base64 roundtrip (#13839)Divy Srivastava
2022-03-04feat(net): add Deno.UnixConn interface (#13787)Bartek Iwańczuk
2022-03-04feat(ext/http): auto-compression of fixed response bodies (#13769)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org> Co-authored-by: Satya Rohith <me@satyarohith.com> Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2022-03-031.19.2 (#13825)Satya Rohith
2022-03-03chore: bump crate version for 1.19.2 (#13824)Satya Rohith
2022-03-03chore(lsp): log more for "unexpected positions" lsp error (#13815)David Sherret
Ref #13657
2022-03-02feat(ext/crypto): AES-GCM support for 128bit IVs (#13805)Divy Srivastava
2022-03-02fix(repl): fix null eval result (#13804)Yoshiya Hinosawa
Co-authored-by: Satya Rohith <me@satyarohith.com>
2022-03-02feat(cli): update to TypeScript 4.6.2 (#13474)Kitson Kelly
2022-03-01fix(runtime): disable console color for non tty stdout (#13782)Antonio Musolino
2022-02-28chore: Add "noImplicitOverride" to config-file.v1.json (#13780)Elisée Maurer
2022-02-27feat: Add Deno.TcpConn class, change return type from Deno.connect (#13714)Bartek Iwańczuk
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-26fix(test): use --no-prompt by default (#13777)Bartek Iwańczuk
This commit changes "deno test" subcommand, to always never prompt for permissions (ie. as if "deno test" was run with "--no-prompt" flag).
2022-02-25feat: deno test --trace-ops (#13770)Bartek Iwańczuk
This commit adds "--trace-ops" flag to "deno test" subcommand. This flag enables saving of stack traces for async ops, that before were always saved. While the feature proved to be very useful it comes with a significant performance hit, it's caused by excessive source mapping of stack frames.
2022-02-25fix(cli): disable config discovery for remote script (#13745)Yoshiya Hinosawa
2022-02-24chore: upgrade to Rust 1.59 (#13767)David Sherret
2022-02-25feat(cli): support data url (#13667)Simon Lecoq
Closes #11141
2022-02-241.19.1 (#13762)David Sherret