summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
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-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-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-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-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-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-25feat(cli): support data url (#13667)Simon Lecoq
Closes #11141
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-23feat: allow specification of import map in config file (#13739)Kitson Kelly
Closes: #12800
2022-02-17v1.19.0Bartek 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.
2022-02-16feat: deno vendor (#13670)David Sherret
2022-02-16tests: deflake a bunch of net related tests (#13685)Luca Casonato
2022-02-16tests: unflake httpServerIncompleteMessage (#13682)Luca Casonato
2022-02-16fix(ext/crypto): optional additionalData in encrypt/decrypt (#13669)Divy Srivastava
2022-02-16feat(ext/http): add support for unix domain sockets (#13628)ylxdzsw
2022-02-15feat(runtime): web streams in fs & net APIs (#13615)Luca Casonato
This commit adds `readable` and `writable` properties to `Deno.File` and `Deno.Conn`. This makes it very simple to use files and network sockets with fetch or the native HTTP server.
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-15chore(ext/timers): move ext/timers to ext/web (#13665)Andreu Botella
2022-02-12feat: permission prompt by default (#13650)Ryan Dahl
2022-02-11compat: support --compat in web workers (#13629)Bartek Iwańczuk
Adds another callback to WebWorkerOptions that allows to execute some modules before actual worker code executes. This allows to set up Node global using std/node.
2022-02-10feat(lsp): support linking to symbols in JSDoc on hover (#13631)Kitson Kelly
Closes #13198
2022-02-10feat(lsp): provide completions from import map if available (#13624)Kitson Kelly
Closes #13619
2022-02-08fix(ext/crypto): support EC p256 private key material in exportKey (#13547)Divy Srivastava
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-02-07refactor: factor out CDP message types (#13551)Leo Kettmeir
2022-02-06fix(ext/console): fix uncaught TypeError in css styling (#13567)Zach
When using css coloring in the console, non-color values should be ignored rather than throw exceptions. Fixes #13469
2022-02-04chore: forward v1.18.2 to main (#13595)Bartek Iwańczuk
2022-02-04feat(ext/console): better circular information in object inspection (#13555)Leo Kettmeir
2022-02-04feat(lsp): add redirect diagnostic and quick fix (#13580)Kitson Kelly
Ref: #12864
2022-02-03fix: don't crash when $HOME is a relative path (#13581)Luca Casonato
Absolutize the cache/home dir before use in DenoDir.
2022-02-02refactor(lsp): remove circular dependency between `LanguageServer` and ↵David Sherret
`DiagnosticsServer` (#13577)
2022-02-03fix(cli): handle local files with query params on emit (#13568)Kitson Kelly
Fixes #13562
2022-02-02fix(lsp): properly display x-deno-warning with redirects (#13554)Kitson Kelly
Fixes: #13472
2022-02-01refactor: integrate deno_graph breaking changes (#13495)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>