summaryrefslogtreecommitdiff
path: root/cli/tsc
AgeCommit message (Collapse)Author
2022-11-22fix: Make npm packages works with import maps (#16754)Bartek Iwańczuk
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-10-27fix(typescript): allow synthetic default imports when using ↵David Sherret
`ModuleKind.ESNext` (#16438) Closes #16437
2022-10-22fix(lsp): regression - error when removing file (#16388)David Sherret
2022-10-21feat(unstable/npm): initial type checking of npm specifiers (#16332)David Sherret
2022-10-21chore(core): remove `core.opSync` (#16379)Divy Srivastava
This patch removes the last uses of `core.opSync` from Deno. The new and JIT-friendly way to call sync ops is `core.ops.op_name()`.
2022-10-16feat: support inlay hints (#16287)Kitson Kelly
Closes: #11853
2022-09-20feat(cli): update to TypeScript 4.8 (#15064)Kitson Kelly
2022-08-11perf(ops): Monomorphic sync op calls (#15337)Aapo Alasuutari
Welcome to better optimised op calls! Currently opSync is called with parameters of every type and count. This most definitely makes the call megamorphic. Additionally, it seems that spread params leads to V8 not being able to optimise the calls quite as well (apparently Fast Calls cannot be used with spread params). Monomorphising op calls should lead to some improved performance. Now that unwrapping of sync ops results is done on Rust side, this is pretty simple: ``` opSync("op_foo", param1, param2); // -> turns to ops.op_foo(param1, param2); ``` This means sync op calls are now just directly calling the native binding function. When V8 Fast API Calls are enabled, this will enable those to be called on the optimised path. Monomorphising async ops likely requires using callbacks and is left as an exercise to the reader.
2022-08-04fix: Update `Object.prototype.__proto__` related comments (#15394)Yongwook Choi
2022-07-12perf: use emit from swc instead of tsc (#15118)David Sherret
2022-07-12fix(lsp): enable auto imports (#15145)Kitson Kelly
Fixes: #15111
2022-07-04fix: update to TypeScript 4.7.4 (#15022)Rafael Ávila de Espíndola
2022-06-27fix(lsp): restart TS language service when caching dependencies (#14979)Bartek Iwańczuk
2022-06-23fix(check): ignore TS2306 (#14940)Nayeem Rahman
Fixes a regression where this type checking error was being surfaced in certain scenarios.
2022-06-15fix(check): use "moduleDetection": "force" (#14875)Nayeem Rahman
2022-06-03fix(lsp): handle get diagnostic errors better (#14776)Kitson Kelly
2022-06-01feat: update to TypeScript 4.7 (#14242)Kitson Kelly
2022-05-17fix: base64 encoding of source maps with emojis (#14607)Bartek Iwańczuk
This commit fixes source maps for files that contain emojis. This is done by updating "deno_ast" to "0.14.1" for the case of "--no-check" flag (ie using SWC emit) and by overriding TSC's default base64 encoder (which turned out to be buggy) for the type checking case.
2022-05-15fix(lsp): correct positions in some scenarios (#14359)David Sherret
2022-04-29fix(cli): add dom.extras lib (#14430)Kitson Kelly
Closes: #12558 Fixes: #14344
2022-04-25refactor(lsp): store all the assets in Rust when initializing (#14367)David Sherret
2022-03-14feat(core): codegen ops (#13861)Divy Srivastava
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-02feat(cli): update to TypeScript 4.6.2 (#13474)Kitson Kelly
2022-02-02perf(lsp): cancellable TS diagnostics (#13565)David Sherret
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-10feat(cli): update to TypeScript 4.5 (#12410)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-11-23feat(lsp): add type definition provider (#12789)Kitson Kelly
2021-11-23feat(lsp): add workspace symbol provider (#12787)Kitson Kelly
2021-09-17fix(cli): don't ignore diagnostics about for await (#12116)Kitson Kelly
Fixes #12115
2021-08-27feat(cli): Update to TypeScript 4.4 (#11678)Kitson Kelly
2021-08-11chore: move test files to testdata directory (#11601)David Sherret
2021-08-10feat: add new esnext types (#11627)Kitson Kelly
2021-08-06feat(lsp): implement refactoring code actions (#11555)Jean Pierre
Closes: denoland/vscode_deno#433
2021-07-27refactor(lsp): minor improvements to handling closed documents (#11518)Kitson Kelly
Ref #10897
2021-07-19fix(tsc): add .at() types manually to tsc (#11443)Kitson Kelly
Fixes: #11441
2021-06-22feat(cli): support "types" when type checking (#10999)Kitson Kelly
Fixes #10677
2021-05-28feat(cli): upgrade to TypeScript 4.3 (#9960)Kitson Kelly
2021-05-18chore: update deno_lint binary used in CI to v0.5.0 (#10652)Yusuke Tanaka
2021-05-18fix(lsp): ignore type definition not found diagnostic (#10610)Satya Rohith
Fixes #10575
2021-05-18refactor(lsp): memoize script versions per tsc request (#10601)Kitson Kelly
2021-05-02refactor(core): convert core.print() to a builtin op (#10436)Aaron O'Mullan
2021-04-25refactor(core): move op cache sync responsibility to rust space (#10340)Aaron O'Mullan
Even if bootstrapping the JS runtime is low level, it's an abstraction leak of core to require users to call `Deno.core.ops()` in JS space. So instead we're introducing a `JsRuntime::sync_ops_cache()` method, once we have runtime extensions a new runtime will ensure the ops cache is setup (for the provided extensions) and then loading/unloading plugins should be the only operations that require op cache syncs
2021-04-21refactor(core): simplify error handling (#10297)Aaron O'Mullan
- register builtin v8 errors in core.js so consumers don't have to - remove complexity of error args handling (consumers must provide a constructor with custom args, core simply provides msg arg)
2021-04-20feat(lsp): Implement textDocument/semanticTokens/full (#10233)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-04-19feat(lsp): implement textDocument/prepareCallHierarchy (#10061)Jean Pierre
2021-04-12refactor(deno): remove concept of bin & json ops (#10145)Aaron O'Mullan
2021-04-02feat(lsp): implement textDocument/foldingRange (#9900)Jean Pierre
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-03-25fix(cli): re-add dom.asynciterable lib (#9888)Kitson Kelly
Fixes: #9881
2021-03-24feat(lsp): implement textDocument/selectionRange (#9845)Jean Pierre
Ref: #8643