summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2021-08-16chore(cli/tests): disable flaky test on macos ci (#11726)Ben Noordhuis
Refs #11580.
2021-08-16test(ext/http): add test for incomplete HTTP message and fix resource leak ↵Bartek Iwańczuk
(#11717) This commit adds a test case for "Http: connection closed before message completed" error as well as fixing an edge with resource leak when the error is raised.
2021-08-16fix: parse error when transpiling code with BOM (#11688)Ryan Dahl
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-08-15fix(test): dispatch load event before tests are run (#11708)Casper Beyer
2021-08-14chore: move importKey tests to webcrypto_unit.ts (#11706)Divy Srivastava
2021-08-14fix(cli): explicitly scan for ignore attribute in inline tests (#11647)Casper Beyer
This commits adds "ignore" as a known attribute for Markdown codeblock which drops a code block early whenever it is seen in documentation tests.
2021-08-13fix(ext/crypto): importKey() SecurityError on non-extractable keys (#11662)Divy Srivastava
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-13fix(http/ws): support multiple options in connection header (#11675)Leo K
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-13fix(ext/http): remove unwrap() when HTTP conn errors (#11674)Bartek Iwańczuk
2021-08-13test(cli): add test for test filtering (#11672)Casper Beyer
2021-08-13fix(ext/crypto): take a copy of keyData bytes (#11666)Divy Srivastava
2021-08-12fix(cli): allow specifiers of unknown media types with test command (#11652)Casper Beyer
2021-08-12test: mark run_watch test as flaky (#11668)Bartek Iwańczuk
2021-08-11mark cafile tests as flaky (#11649)Ryan Dahl
2021-08-11chore: move test files to testdata directory (#11601)David Sherret
2021-08-11Rename extensions/ directory to ext/ (#11643)Ryan Dahl
2021-08-11test: reenable cafile tests (#11615)Bartek Iwańczuk
2021-08-10fix: correct spelling of certificate in ↵David Sherret
`--unsafely-ignore-certificate-errors` warning message (#11634)
2021-08-10v1.13.0Bartek Iwańczuk
2021-08-10refactor: --unsafely-ignore-certificate-errors (#11629)Bartek Iwańczuk
2021-08-10feat: add new esnext types (#11627)Kitson Kelly
2021-08-10upgrade: rusty_v8 0.26.0 (#11625)Bartek Iwańczuk
2021-08-10feat(lsp): support clients which do not support disabled code actions (#11612)Kitson Kelly
Closes: #11610
2021-08-10feat: add experimental WebSocketStream API (#10365)Leo K
This commit adds the experimental WebSocketStream API when using the --unstable flag. The explainer for the API can be found here: https://github.com/ricea/websocketstream-explainer
2021-08-09feat: Add --unsafely-treat-insecure-origin-as-secure flag to disable SSL ↵TheAifam5
verification (#11324) This commit adds "--unsafely-treat-insecure-origin-as-secure" flag that allows to disable SSL verification for all domains, or specific domains if they were passed as an argument to the flag. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-08-09feat: support client certificates for connectTls (#11598)Ryan Dahl
Co-authored-by: Daniel Lamando <dan@danopia.net> Co-authored-by: Erik Price <github@erikprice.net>
2021-08-09fix(websocket): allow any close code for server (#11614)Leo K
2021-08-09feat(extensions/web): add structuredClone function (#11572)Leo K
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-07feat(tls): Optionally support loading native certs (#11491)Justin Chase
This commit adds "DENO_TLS_CA_STORE" env variable to support optionally loading certificates from the users local certificate store. This will allow them to successfully connect via tls with corporate and self signed certs provided they have them installed in their keystore. It also allows them to deal with revoked certs by simply updating their keystore without having to upgrade Deno. Currently supported values are "mozilla", "system" or empty value.
2021-08-06feat(repl): add --eval flag for evaluating code when the repl starts (#11590)David Sherret
2021-08-06feat: ffi to replace plugins (#11152)Elias Sjögreen
This commit removes implementation of "native plugins" and replaces it with FFI API. Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API.
2021-08-06revert: allow URL for permissions (#11600)Bartek Iwańczuk
Revert changes to "net" permissions in regards to handling URLs introduced in 15b0e61de.
2021-08-06feat: support AbortSignal in writeFile (#11568)Benjamin Gruenbaum
2021-08-06feat(repl): support exports in the REPL (#11592)David Sherret
2021-08-06feat(runtime): allow URL for permissions (#11578)Leo K
2021-08-06feat(lsp): implement refactoring code actions (#11555)Jean Pierre
Closes: denoland/vscode_deno#433
2021-08-05refactor(cli/tests): remove unnecessary void return types (#11577)Leo K
2021-08-04feat(fmt): format top-level JSX elements/fragments with parens when ↵David Sherret
multi-line (#11582)
2021-08-04chore: refactor `netHangsOnClose` test to not use `deferred` (#11585)David Sherret
2021-08-04feat(unstable): clean environmental variables for subprocess (#11571)Leo K
This commit adds "Deno.RunOptions.clearEnv" option, that allows to clear environmental variables from parent process before spawning a subprocess.
2021-08-02Revert "fix(extensions/fetch): Add Origin header to outgoing requests for ↵Bartek Iwańczuk
fetch (#11557)" (#11565) This reverts commit f87aa44d94240327fb4ab1dc756d70f71247edb4.
2021-08-02fix(extensions/fetch): Add Origin header to outgoing requests for fetch (#11557)Feng Yu
2021-07-31chore: fix failing netTcpListenCloseWhileIterating test on some machines ↵David Sherret
(#11552)
2021-07-29feat(runtime): implement navigator.hardwareConcurrency (#11448)Divy Srivastava
This commit implements "navigator.hardwareConcurrency" API, which supersedes "Deno.systemCpuInfo()" API (which was removed in this commit).
2021-07-29feat: type check codeblocks in Markdown file with "deno test --doc" (#11421)Casper Beyer
2021-07-29fix(cli): deno doc panics on invalid url (#11536)Feng Yu
2021-07-28BREAKING(unstable): Rename Deno.WebSocketUpgrade::websocket to socket (#11542)Nayeem Rahman
2021-07-28fix: flaky worker test (#11540)Bartek Iwańczuk
2021-07-28feat(lsp): ability to set DENO_DIR via settings (#11527)Kitson Kelly
Ref: denoland/vscode_deno#287
2021-07-27test: make integration::workers::workers test inspectable (#11524)Bartek Iwańczuk