summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
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
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-24fix(compile): Support import maps (#13756)Divy Srivastava
2022-02-24feat(ext/net): support cert, key options in listenTls (#13740)Yoshiya Hinosawa
2022-02-23fix(upgrade): move the file permission check to the beginning of the upgrade ↵mlemesle
process (#13726)
2022-02-24refactor: remove dead code from lsp (#13743)Kitson Kelly
2022-02-23feat: allow specification of import map in config file (#13739)Kitson Kelly
Closes: #12800
2022-02-22docs: code example to `structuredClone`, `CompressionStream`, ↵Geert-Jan Zwiers
`DecompressionStream` (#13719) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-02-18fix(vendor): do not add absolute specifiers to scopes (#13710)David Sherret
2022-02-18feat(ext/ffi): Support read only global statics (#13662)Aapo Alasuutari
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-17feat: Add hint to permission prompt to display allow flag (#13695)Ryan Dahl
2022-02-16feat(test): improved op sanitizer errors + traces (#13676)Luca Casonato
This commit improves the error messages for the `deno test` async op sanitizer. It does this in two ways: - it uses handwritten error messages for each op that could be leaking - it includes traces showing where each op was started This "async op tracing" functionality is a new feature in deno_core. It likely has a significant performance impact, which is why it is only enabled in tests.