summaryrefslogtreecommitdiff
path: root/cli/emit.rs
AgeCommit message (Collapse)Author
2022-03-23chore: remove all `pub(crate)`s from the cli crate (#14083)David Sherret
2022-03-22feat: upgrade to swc_ecmascript 0.137.0 (#14067)David Sherret
2022-02-01refactor: integrate deno_graph breaking changes (#13495)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-01-13refactor: move transpiling to deno_ast (#13332)David Sherret
2022-01-12feat(cli): add ignore directives to bundled code (#13309)juju
This commit adds lint and fmt ignore directives to bundled code as well as a comment stating that the code was bundled and shouldn't be edited manually.
2022-01-07chore: update copyright to 2022 (#13306)Ryan Dahl
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2021-12-16refactor(cli): use GraphData for check and emit (#12960)Nayeem Rahman
2021-12-15feat: Add support for import assertions and JSON modules (#12866)Bartek Iwańczuk
This commit adds proper support for import assertions and JSON modules. Implementation of "core/modules.rs" was changed to account for multiple possible module types, instead of always assuming that the code is an "ES module". In effect "ModuleMap" now has knowledge about each modules' type (stored via "ModuleType" enum). Module loading pipeline now stores information about expected module type for each request and validates that expected type matches discovered module type based on file's "MediaType". Relevant tests were added to "core/modules.rs" and integration tests, additionally multiple WPT tests were enabled. There are still some rough edges in the implementation and not all WPT were enabled, due to: a) unclear BOM handling in source code by "FileFetcher" b) design limitation of Deno's "FileFetcher" that doesn't download the same module multiple times in a single run Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-12-15chore: updates to support deno_graph API changes (#13080)Kitson Kelly
2021-12-10feat(cli): update to TypeScript 4.5 (#12410)Kitson Kelly
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-11-30feat: add `--no-check=remote` flag (#12766)Kitson Kelly
Closes #11970
2021-11-24fix(cli): don't cache .tsbuildinfo unless emitting (#12830)Nayeem Rahman
Fixes #12755 Fixes #12807 Fixes #12832
2021-11-16refactor: re-export anyhow from deno_core (#12777)Ryan Dahl
2021-11-16fix(cli): short-circuit in prepare_module_load() (#12604)Nayeem Rahman
2021-11-04Revert "feat(cli): enable `useUnknownInCatchVariables` by default" (#12643)Luca Casonato
This partially reverts commit a065604155991dbf4417b606d4562d275cd8955f. Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-11-01chore: upgrade deno_ast to 0.5.0 (#12595)David Sherret
2021-10-28feat(cli): enable `useUnknownInCatchVariables` by default (#12547)Kitson Kelly
Closes #11826 **BREAKING CHANGE** this behaviour was disable when introduced in Deno 1.14/TypeScript 4.4. It will highlight code that unsafely handles variables that are caught, and will cause type errors in unsafe code.
2021-10-27fix(cli): no-check respects inlineSources compiler option (#12559)Kitson Kelly
Fixes #12064
2021-10-21fix(lsp): formatting should error on certain additional swc diagnostics (#12491)David Sherret
2021-10-14fix(cli): re-enable allowSyntheticDefaultImports for tsc (#12435)Kitson Kelly
Fixes #12434
2021-10-11refactor: integrate deno_graph into CLI (#12369)Kitson Kelly