summaryrefslogtreecommitdiff
path: root/cli
AgeCommit message (Collapse)Author
2021-02-09chore: update dependencies (#9455)Luca Casonato
2021-02-09fix(lsp): handle code lenses for non-documents (#9454)Kitson Kelly
2021-02-09fix(cli): import maps handles data URLs (#9437)Kitson Kelly
Fixes #9420
2021-02-08refactor(cli/tools/repl): merge highlighter into helper (#9448)Casper Beyer
2021-02-08fix(lsp): prepare diagnostics when the config changes (#9438)Kitson Kelly
2021-02-08feat(lsp): add implementations code lens (#9441)Kitson Kelly
2021-02-08feat(lsp): add asset cache regression testKitson Kelly
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-08fix(lsp): DRY asset cache lookup logicBen Noordhuis
2021-02-08fix(lsp): fix asset cache lookup regressionBen Noordhuis
Commit 2828690fc ("fix(lsp): fix deadlocks, use one big mutex") from last month introduced a regression in asset cache lookups where results of lazy caching were lost due to operating on a copy of the asset cache. This commit fixes that by copying the asset from the copy to the real cache.
2021-02-08fix(lsp): remove Sources mutexBen Noordhuis
The mutex was used to hide the fact that the Sources object mutates itself when it's queried. Be honest about that and mark everything that directly or indirectly mutates it as `mut`. This is a follow-up to commit 2828690fc7bb510c3248dda7b1cda8793e789ca6 from last month ("fix(lsp): fix deadlocks, use one big mutex (#9271)")
2021-02-08fix(cli): check for inline source maps before external ones (#9394)Nayeem Rahman
Fixes #6965
2021-02-06fix(lsp): support codeAction/resolve (#9405)Kitson Kelly
2021-02-05v1.7.2Bartek Iwańczuk
2021-02-05chore: release crates (#9410)Bartek Iwańczuk
2021-02-05fix(repl): prevent symbol completion panic (#9400)Casper Beyer
2021-02-05fix(cli/lsp): fix using jsx/tsx when not emitting via tsc (#9407)Kitson Kelly
Closes #9308 Closes #9023 Closes #8993
2021-02-05feat(lsp): add TS quick fix code actions (#9396)Kitson Kelly
2021-02-04fetch optimizations (#9402)Ryan Dahl
Release deno_fetch 0.20.2
2021-02-04docs: update example for Deno.Process (#9390)Bartek Iwańczuk
2021-02-03chore: upgrade swc (#9374)Bartek Iwańczuk
2021-02-03fix: improve http client builder error message (#9380)Ben Noordhuis
Include the lower-level error message in the generic error message. No test because I can't actually make it fail by passing it bad PEM. I checked and `reqwest::Certificate::from_pem()` always returns `Ok()`. Fixes #9364.
2021-02-02chore: remove std directory (#9361)Casper Beyer
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-01refactor: Reorganise integration tests (#9282)Bartek Iwańczuk
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-01chore: make all tests annotated with `#[cfg(test)]` (#9347)Yusuke Tanaka
2021-02-01fix(cli): fix handling of non-normalized specifier (#9357)Yoshiya Hinosawa
2021-02-01feat(lsp): add references code lens (#9316)Kitson Kelly
2021-01-29chore: upgrade tokio to 1.1.1 (#9327)Yusuke Tanaka
2021-01-29fix(cli/coverage): display mapped instrumentation line counts (#9310)Casper Beyer
2021-01-29Update lspower dependency (#9179)hvithrafn
2021-01-29v1.7.1Ryan Dahl
2021-01-29test: fix lock_write_fetch test (#9318)Bartek Iwańczuk
2021-01-29fix(cli): Move WorkerOptions::deno types to unstable (#9163)Nayeem Rahman
2021-01-29fix(op_crates/web): Add customInspect for Location (#9290)Nayeem Rahman
2021-01-29refactor: IO resource types, fix concurrent read/write and graceful close ↵Bert Belder
(#9118) Fixes: 9032.
2021-01-29chore: reenable watch tests (#9306)Bartek Iwańczuk
2021-01-29fix(cli): fix panic in Deno.emit (#9302)Yoshiya Hinosawa
2021-01-28chore: add jsdoc to 26_fetch.js and enable some fetch tests (#9305)Luca Casonato
2021-01-29fix(cli): add lib dom.asynciterable (#9288)Kitson Kelly
Fixes #9218
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-27bench: remove custom error types (#9301)William Perron
Fixes #9253
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-27chore: fix typo in lint.rs (#9281)Ikko Ashimine
2021-01-27feat(lsp): add performance measurements (#9209)Kitson Kelly
2021-01-27fix(lsp): handle mbc properly when formatting (#9273)Kitson Kelly
2021-01-26fix(cli): fmt command help message (#9280)akfm
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-26fix(lsp): complete list of unused diagnostics (#9274)Kitson Kelly