summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-18feat: add json(c) support to deno fmt (#9292)Satya Rohith
This commit adds support for formatting JSON and JSONC in "deno fmt". New values "json" and "jsonc" are added to "--ext" flag for standard input processing.
2021-02-18Change release build flags to -O3 when favorable (#9538)evan
2021-02-18feat(runtime/ops): strongly typed deserialization of JSON ops (#9532)crowlKats
2021-02-18fix(lsp): handle data URLs properly (#9522)Kitson Kelly
Fixes #9514 Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-02-18fix(lsp): document spans use original range (#9525)Kitson Kelly
Fixes: #9444 Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-02-17Make ModuleSpecifier a type alias, not wrapper struct (#9531)Ryan Dahl
2021-02-17feat: support loading import map from URL (#9519)Bartek Iwańczuk
This commit adds support for loading import maps from URLs, both remote and local. This feature is supported in CLI flag as well as in runtime compiler API.
2021-02-17docs: Use JSONC code block for commenting (#9511)Takahiko Inayama
2021-02-16feat: add structured cloning to Deno.core (#9458)Inteon
This commit adds two new "Deno.core" APIs: - "Deno.core.serialize" - "Deno.core.deserialize" These APIs are used to provide structured cloning of values and will be used for further web worker implementation. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-16typoLeo Chandra
2021-02-16feat(cli): support auth tokens for accessing private modules (#9508)Kitson Kelly
Closes #5239
2021-02-16feat(lsp): Implement `textDocument/signatureHelp` (#9330)Yuki Tanaka
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-02-16fix: align btoa to spec (#9053)Casper Beyer
2021-02-16feat(cli): Deno.emit supports bundling as IIFE (#9291)Kitson Kelly
Closes #9204
2021-02-16chore: add internal webidl helpers for enums and nullables (#9504)Anonymous
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-02-15upgrade: rusty_v8 0.19.0 (#9466)Bartek Iwańczuk
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-02-15chore: Reorganise workers tests (#9493)Bartek Iwańczuk
2021-02-15refactor(core): Reduce verbosity of binding core functions (#9497)Aaron O'Mullan
2021-02-15fix(lsp): handle cached type dependencies properly (#9500)Kitson Kelly
2021-02-14fix(cli/source_map): Don't use file names from source maps (#9462)Nayeem Rahman
2021-02-13tests: re-enable wpt/webappapis/timers (#9489)Casper Beyer
2021-02-13refactor(core): Strongly typed deserialization of JSON ops (#9423)Jared Beller
This PR makes json_op_sync/async generic to all Deserialize/Serialize types instead of the loosely-typed serde_json::Value. Since serde_json::Value implements Deserialize/Serialize, very little existing code needs to be updated, however as json_op_sync/async are now generic, type inference is broken in some cases (see cli/build.rs:146). I've found this reduces a good bit of boilerplate, as seen in the updated deno_core examples. This change may also reduce serialization and deserialization overhead as serde has a better idea of what types it is working with. I am currently working on benchmarks to confirm this and I will update this PR with my findings.
2021-02-13fix: webidl utils and align `Event` to spec (#9470)Luca Casonato
2021-02-13v1.7.4Ryan Dahl
2021-02-13test(cli): enable microtask-queue tests (#9490)Casper Beyer
2021-02-12linux release build should use ubuntu-18.04 (#9485)Ryan Dahl
2021-02-12v1.7.3Bartek Iwańczuk
2021-02-12chore: release crates (#9481)Bartek Iwańczuk
2021-02-12fix(lsp): properly handle static assets (#9476)Kitson Kelly
2021-02-12chore: Update to Rust 1.50.0 (#9479)Kitson Kelly
2021-02-12test(cli): improve test of deno cache (#9340)Yosi Pramajaya
2021-02-12fix(cli): fix WebSocket close (#8776)Preta Crowz
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-12feat(lsp): add deno cache code actions (#9471)Kitson Kelly
2021-02-11fix link (#9472)rigwild
2021-02-11chore: upgrade crates (#9474)Bartek Iwańczuk
2021-02-11fix(runtime/tls): handle invalid host for connectTls/startTls (#9453)Erik Price
2021-02-10fix(console): log function object properties / do not log non-enumerable ↵David DeSimone
props by default (#9363)
2021-02-10fix(lsp): handle type deps properly (#9436)Kitson Kelly
Fixes #9425
2021-02-09chore: bump TypeScript to 4.1.4 (#9459)Trivikram Kamat
2021-02-09fix(op_crates): Don't use `Deno.inspect` in op crates (#9332)Nayeem Rahman
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-02-09ci: bump Deno version (#9449)youngjuning
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-02-09chore: update dependencies (#9455)Luca Casonato
2021-02-09chore: add flag to v8 (#9456)Bartek Iwańczuk
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