summaryrefslogtreecommitdiff
path: root/cli/tests
AgeCommit message (Collapse)Author
2021-01-28fix(coverage): use source maps when printing pretty reports (#9278)Casper Beyer
This commits makes use of source maps and the original source when printing lacking line coverage in the pretty printer. Only the executable lines are checked as before (as non-executable lines will always be ignored anyways). The lines then mapped to the appropriate source line when a source map is present.
2021-01-28fix(cli): early abort before type checking on missing modules (#9285)Kitson Kelly
Fixes #9275
2021-01-27tests: new typescript WPT runner (#9269)Luca Casonato
2021-01-27fix(cli): correctly determine emit state with redirects (#9287)Kitson Kelly
Fixes #9129
2021-01-27feat(lsp): add performance measurements (#9209)Kitson Kelly
2021-01-27fix(lsp): handle mbc properly when formatting (#9273)Kitson Kelly
2021-01-26chore: update crates (#9251)Luca Casonato
Updates SWC, dprint, deno_lint, deno_doc, serde, and Tokio (to 1.1.0). Co-authored-by: Kitson Kelly <me@kitsonkelly.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-26fix(op_crates/fetch): fix ReadableStream.pipeThrough() (#9265)Kitson Kelly
Fixes #9252
2021-01-25Revert "tests: enable wpt for url (#9046)" (#9264)Luca Casonato
This reverts commit 66e99d349b31f5cd30b868d80ebdab6ba749fd96.
2021-01-24tests: enable wpt for url (#9046)Luca Casonato
2021-01-24feat(op_crates/web): adding gb18030 and GBK encodings (#9242)ali ahmed
2021-01-24fix(runtime/js): use DOMException in Performance#measure (#9142)Anonymous
2021-01-22fix(lsp): handle mbc documents properly (#9151)Kitson Kelly
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-01-21fix(core): Handle prepareStackTrace() throws (#9211)Nayeem Rahman
Fixes #9206
2021-01-21fix(runtime): fix recursive dispatches of unload event (#9207)Yoshiya Hinosawa
2021-01-20fix(coverage): ignore comments (#8639)Casper Beyer
This commit fixes coverage collection by ignoring comments when tallying up line counts.
2021-01-20fix(ops/net): fix panic in op_dns_resolve (#9187)Yoshiya Hinosawa
2021-01-19fix(cli): actually stabilize Deno.shutdown() (#9181)Bert Belder
2021-01-19feat(web): add utf-16 and big5 to TextEncoder/TextDecoder (#8108)ali ahmed
2021-01-19feat: add markdown support to deno fmt (#8887)Satya Rohith
This commit adds support for formatting markdown files with "deno fmt". Additionally "--ext={js|jsx|ts|tsx|md}" flag was added to "deno fmt" that allows to specify file type when providing contents over stdio.
2021-01-19feat(unstable): add Deno.resolveDns API (#8790)Yusuke Tanaka
2021-01-19feat: Add WorkerOptions interface to type declarations (#9147)Nayeem Rahman
2021-01-18fix: redirect in --location relative fetch (#9150)Luca Casonato
2021-01-18fix(op_crate/fetch): add back ReadableStream.getIterator and deprecate (#9146)Kitson Kelly
2021-01-18fix(cli): Check permissions for Deno.emit() (#9139)Nayeem Rahman
2021-01-17tests(wpt): enable working wasm tests (#9072)Vishal Pratap Singh
2021-01-17fix(op_crates/web): Use WorkerLocation for location in workers (#9084)Nayeem Rahman
2021-01-17chore: Enforce ban-untagged-todo lint rule (#9135)Bartek Iwańczuk
2021-01-16upgrade: dlint in third_party/ (#9134)Bartek Iwańczuk
2021-01-15refactor(op_crate/fetch): align streams to spec (#9103)Kitson Kelly
Fixes #8814
2021-01-14fix: don't swallow customInspect exceptions (#9095)Steven Guerrero
2021-01-14refactor: make Process#kill() throw sensible errors on Windows (#9111)Bert Belder
Previously, calling `Process#kill()` after the process had exited would sometimes throw a `TypeError` on Windows. After this patch, it will throw `NotFound` instead, just like other platforms. This patch also fixes flakiness of the `runKillAfterStatus` test on Windows.
2021-01-14fix: align DOMException API to the spec and add web platform testing of it. ↵Yoshiya Hinosawa
(#9106) * fix: align DOMException API to the spec * test: fix test case 070_location * test(DOMException): disable "does not inherit from Error: class-side" test of WPT * test: remove test cases in deno codebase * docs: add note about skipped test
2021-01-13build: disable cafile_* tests and use slow runners (#9089)Luca Casonato
2021-01-12tests: disable logging of 'ok' web platform tests (#9087)Luca Casonato
2021-01-12tests: enable .worker.js tests (#9065)Yacine Hmito
2021-01-12fix(cli): dispatch unload on exit (#9088)Yoshiya Hinosawa
2021-01-11fix(watcher): keep working even when imported file has invalid syntax (#9091)Yusuke Tanaka
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-11upgrade: swc_bundler 0.19.2 (#9085)Bartek Iwańczuk
2021-01-11fix(op_crate/web): fix atob to throw spec aligned DOMException (#8798)gorogoroumaru
2021-01-10feat(fetch): req streaming + 0-copy resp streaming (#9036)Luca Casonato
* feat(fetch): req streaming + 0-copy resp streaming * lint * lint * fix test * rm test.js * explicitly use CancelHandle::default() * Apply review suggestions Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl> * fix test * Merge remote-tracking branch 'origin/master' into fetch_real_streaming * fix test * retrigger ci Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
2021-01-10tests(wpt/console): Enables web platform tests for console (#9013)Tarik Eshaq
2021-01-10Test crypto.getRandomValues() with wpt (#9016)Yacine Hmito
2021-01-09fix: don't error on version and help flag (#9064)Luca Casonato
2021-01-09tests: enable WPT for timers (#9047)Casper Beyer
2021-01-09fix(web): implement DOMException#code (#9015)Yacine Hmito
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-01-08fix: Worker hangs when posting "undefined" as message (#8920)yonatan ben avraham
This commit fixes hang in web workers occuring when sending "undefined" as message value. It is a temporary band-aid until proper structured close is implemented. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-08feat: denort binary (#9041)Luca Casonato
This commit adds new binary target called "denort". It is a "lite" version of "deno" binary that can only execute code embedded inside the binary itself. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-01-07feat: add --location=<href> and globalThis.location (#7369)Nayeem Rahman