Erik Price
a097c4089b
fix(runtime/tls): handle invalid host for connectTls/startTls ( #9453 )
2021-02-11 12:45:10 +01:00
David DeSimone
61108935f1
fix(console): log function object properties / do not log non-enumerable props by default ( #9363 )
2021-02-10 20:52:54 +09:00
Nayeem Rahman
900953a65a
fix(op_crates): Don't use Deno.inspect
in op crates ( #9332 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-02-09 16:31:46 +01:00
Kitson Kelly
d95666cae0
fix(lsp): handle code lenses for non-documents ( #9454 )
2021-02-09 20:48:53 +11:00
Kitson Kelly
97d5ef2950
fix(cli): import maps handles data URLs ( #9437 )
...
Fixes #9420
2021-02-09 15:05:37 +11:00
Kitson Kelly
e368c5d0f9
feat(lsp): add implementations code lens ( #9441 )
2021-02-08 21:45:10 +11:00
Kitson Kelly
09b79463d7
feat(lsp): add asset cache regression test
...
When we migrated away from all the locks, there was a regression that
was not caught immediately. The tsc::get_asset() would attempt to modify
the snapshot, but the problem was that the snapshot was a .clone() of
the inner language server's assets, which meant that modifications to
that where lost. When we then attempted to do a hover on those assets,
the inner language servers assets didn't have the retrieved asset, and
therefore would throw an error.
2021-02-08 10:47:32 +01:00
Nayeem Rahman
0cac243a83
fix(cli): check for inline source maps before external ones ( #9394 )
...
Fixes #6965
2021-02-08 10:14:05 +11:00
Kitson Kelly
b6353672f8
fix(lsp): support codeAction/resolve ( #9405 )
2021-02-06 07:10:53 +11:00
Casper Beyer
c83e261b42
fix(repl): prevent symbol completion panic ( #9400 )
2021-02-05 12:09:52 +01:00
Kitson Kelly
5b9376908a
fix(cli/lsp): fix using jsx/tsx when not emitting via tsc ( #9407 )
...
Closes #9308
Closes #9023
Closes #8993
2021-02-05 22:01:48 +11:00
Kitson Kelly
b77fcbc518
feat(lsp): add TS quick fix code actions ( #9396 )
2021-02-05 05:53:02 +11:00
Casper Beyer
6abf126c2a
chore: remove std directory ( #9361 )
...
This removes the std folder from the tree.
Various parts of the tests are pretty tightly dependent
on std (47 direct imports and 75 indirect imports, not
counting the cli tests that use them as fixtures) so I've
added std as a submodule for now.
2021-02-02 12:05:46 +01:00
Bartek Iwańczuk
a2b5d44f1a
refactor: Reorganise integration tests ( #9282 )
...
This commit reorganises cli/tests/integration_tests.rs.
All integration tests had been moved into integration module,
which allows to run only integration tests by "cargo test integration".
Additionally some tests were further grouped under nested modules
like "inspector", "file_watcher" or "repl".
2021-02-01 19:09:25 +01:00
Yoshiya Hinosawa
23281be33a
fix(cli): fix handling of non-normalized specifier ( #9357 )
2021-02-01 17:02:02 +09:00
Kitson Kelly
534531e4dd
feat(lsp): add references code lens ( #9316 )
2021-02-01 14:30:41 +11:00
Casper Beyer
9965fc8cc3
fix(cli/coverage): display mapped instrumentation line counts ( #9310 )
2021-01-29 14:45:22 -05:00
Bartek Iwańczuk
4b92eef25e
test: fix lock_write_fetch test ( #9318 )
2021-01-29 14:23:02 +01:00
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