Nayeem Rahman
f3122442db
fix(op_crates/web): Add customInspect for Location ( #9290 )
2021-01-29 08:08:22 -05:00
Bert Belder
98878bd812
refactor: IO resource types, fix concurrent read/write and graceful close ( #9118 )
...
Fixes: 9032.
2021-01-29 01:35:07 -08:00
Bartek Iwańczuk
c8a5e3c1e4
chore: reenable watch tests ( #9306 )
2021-01-29 10:34:00 +01:00
Yoshiya Hinosawa
fc162162a1
fix(cli): fix panic in Deno.emit ( #9302 )
2021-01-29 10:33:58 +09:00
Luca Casonato
6ecc86cf2a
chore: add jsdoc to 26_fetch.js and enable some fetch tests ( #9305 )
2021-01-28 21:37:21 +01:00
Kitson Kelly
7bda0f567e
fix(cli): add lib dom.asynciterable ( #9288 )
...
Fixes #9218
2021-01-29 06:41:30 +11:00
Casper Beyer
5cf194380b
fix(coverage): use source maps when printing pretty reports ( #9278 )
...
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-28 15:11:38 +01:00
Kitson Kelly
894ff6bb58
fix(cli): early abort before type checking on missing modules ( #9285 )
...
Fixes #9275
2021-01-28 06:54:20 +11:00
Luca Casonato
2638aa03a5
tests: new typescript WPT runner ( #9269 )
2021-01-27 15:06:18 +01:00
Kitson Kelly
ecfda65eff
fix(cli): correctly determine emit state with redirects ( #9287 )
...
Fixes #9129
2021-01-27 22:25:33 +11:00
Kitson Kelly
e7323002d9
feat(lsp): add performance measurements ( #9209 )
2021-01-27 11:32:49 +11:00
Kitson Kelly
ada43cc56a
fix(lsp): handle mbc properly when formatting ( #9273 )
2021-01-27 07:50:13 +11:00
Luca Casonato
40fc5f55ea
chore: update crates ( #9251 )
...
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-26 17:00:40 +01:00
Kitson Kelly
f9949a3170
fix(op_crates/fetch): fix ReadableStream.pipeThrough() ( #9265 )
...
Fixes #9252
2021-01-26 21:56:29 +11:00
Luca Casonato
e0eb111e3e
Revert "tests: enable wpt for url ( #9046 )" ( #9264 )
...
This reverts commit 66e99d349b
.
2021-01-25 16:02:03 +01:00
Luca Casonato
66e99d349b
tests: enable wpt for url ( #9046 )
2021-01-24 22:29:36 +01:00
ali ahmed
feff6361b1
feat(op_crates/web): adding gb18030 and GBK encodings ( #9242 )
2021-01-24 20:08:01 +01:00
Anonymous
ad60e750d7
fix(runtime/js): use DOMException in Performance#measure ( #9142 )
2021-01-24 16:05:18 +01:00
Kitson Kelly
1a9209d1e3
fix(lsp): handle mbc documents properly ( #9151 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-01-22 21:03:16 +11:00
Nayeem Rahman
bdb1ee6480
fix(core): Handle prepareStackTrace() throws ( #9211 )
...
Fixes #9206
2021-01-21 20:48:04 +11:00
Yoshiya Hinosawa
18ac7d40c8
fix(runtime): fix recursive dispatches of unload event ( #9207 )
2021-01-21 16:44:48 +09:00
Casper Beyer
413f79a494
fix(coverage): ignore comments ( #8639 )
...
This commit fixes coverage collection by ignoring
comments when tallying up line counts.
2021-01-20 15:51:36 +01:00
Yoshiya Hinosawa
0a159bea15
fix(ops/net): fix panic in op_dns_resolve ( #9187 )
2021-01-20 15:47:17 +01:00
Bert Belder
b0132e8f90
fix(cli): actually stabilize Deno.shutdown() ( #9181 )
2021-01-19 20:11:08 -08:00
ali ahmed
973c33c899
feat(web): add utf-16 and big5 to TextEncoder/TextDecoder ( #8108 )
2021-01-19 21:58:57 +01:00
Satya Rohith
16036a8a51
feat: add markdown support to deno fmt ( #8887 )
...
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-19 18:39:35 +01:00
Yusuke Tanaka
0ef8c915c0
feat(unstable): add Deno.resolveDns API ( #8790 )
2021-01-19 09:39:04 -05:00
Nayeem Rahman
b12afdb89a
feat: Add WorkerOptions interface to type declarations ( #9147 )
2021-01-19 03:26:39 +01:00
Luca Casonato
7a30d1a3d8
fix: redirect in --location relative fetch ( #9150 )
2021-01-18 13:59:29 +01:00
Kitson Kelly
2077864a8d
fix(op_crate/fetch): add back ReadableStream.getIterator and deprecate ( #9146 )
2021-01-18 10:40:39 +11:00
Nayeem Rahman
81d73f2987
fix(cli): Check permissions for Deno.emit() ( #9139 )
2021-01-18 08:58:23 +11:00
Vishal Pratap Singh
271fbe39e3
tests(wpt): enable working wasm tests ( #9072 )
2021-01-17 16:46:33 +01:00
Nayeem Rahman
7db0605d45
fix(op_crates/web): Use WorkerLocation for location in workers ( #9084 )
2021-01-17 16:28:54 +01:00
Bartek Iwańczuk
b26dcbc69d
chore: Enforce ban-untagged-todo lint rule ( #9135 )
2021-01-17 00:32:59 +01:00
Bartek Iwańczuk
69fb2b31b3
upgrade: dlint in third_party/ ( #9134 )
2021-01-16 16:09:11 +01:00
Kitson Kelly
b8303c7812
refactor(op_crate/fetch): align streams to spec ( #9103 )
...
Fixes #8814
2021-01-15 08:57:19 +11:00
Steven Guerrero
2d1208556a
fix: don't swallow customInspect exceptions ( #9095 )
2021-01-14 14:18:51 -05:00
Bert Belder
979d71c883
refactor: make Process#kill() throw sensible errors on Windows ( #9111 )
...
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-14 10:26:59 -08:00
Yoshiya Hinosawa
c75f92c4e2
fix: align DOMException API to the spec and add web platform testing of it. ( #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-14 22:08:49 +09:00
Luca Casonato
18b3150401
build: disable cafile_* tests and use slow runners ( #9089 )
2021-01-13 16:48:33 +01:00
Luca Casonato
1728b3ba19
tests: disable logging of 'ok' web platform tests ( #9087 )
2021-01-12 17:14:17 -08:00
Yacine Hmito
46a072c792
tests: enable .worker.js tests ( #9065 )
2021-01-12 14:02:13 +01:00
Yoshiya Hinosawa
fd56fa89f3
fix(cli): dispatch unload on exit ( #9088 )
2021-01-12 05:32:58 -05:00
Yusuke Tanaka
5c6ab75de1
fix(watcher): keep working even when imported file has invalid syntax ( #9091 )
2021-01-11 23:53:58 -08:00
Yusuke Tanaka
d8fd71afdf
chore: update copyright to 2021 ( #9092 )
2021-01-11 18:13:41 +01:00
Bartek Iwańczuk
d676b6c63a
upgrade: swc_bundler 0.19.2 ( #9085 )
2021-01-11 15:32:34 +01:00
gorogoroumaru
b0821fe9ce
fix(op_crate/web): fix atob to throw spec aligned DOMException ( #8798 )
2021-01-11 09:15:32 +11:00
Luca Casonato
1a6ce29f3d
feat(fetch): req streaming + 0-copy resp streaming ( #9036 )
...
* 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-10 20:54:29 +01:00
Tarik Eshaq
9801858cb0
tests(wpt/console): Enables web platform tests for console ( #9013 )
2021-01-10 12:49:45 -05:00
Yacine Hmito
f7e09c6a55
Test crypto.getRandomValues() with wpt ( #9016 )
2021-01-10 11:27:15 -05:00